Function at 0x41e390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48ecde
mov eax, dword fs:[0]
push eax
mov eax, 0xa0d8
mov dword fs:[0], esp
call fcn.00461900
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xa100]
mov dword [esp + 0x1c], edi
call fcn.0042f970
mov esi, dword [esp + 0xa0f8]
lea ebp, [esi + 0x20]
push eax
mov ecx, ebp
call fcn.0042a730
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x2c], eax
je 0x41e916
movsx edx, byte [edi + 0xc64]
cmp eax, edx
jle 0x41e413
mov ecx, ebp
call fcn.0042a380
push str.GP_GROUPSERVERAPPTEAM_CPP_00017
mov ecx, 0x4be334
call fcn.0045e470
push eax
mov ecx, esi
call fcn.004245d0
jmp 0x41e916
mov byte [esp + 0x30], cl
mov dword [esp + 0x34], 0x4bdd78
mov dword [esp + 0xa0f0], ecx
lea eax, [esp + 0x30]
push eax
call fcn.0042e4d0
add esp, 4
mov ecx, ebp
mov edi, eax
call fcn.0042a220
movsx ebx, byte [eax + 0x4a6]
add ebx, 0x2c
mov ecx, ebp
imul ebx, ebx, 0x1c
call fcn.0042a220
movsx ecx, byte [esi + 0x4a6]
add ecx, 0x2c
imul ecx, ecx, 0x1c
add ebx, eax
push ebx
push str.add_team
add ecx, esi
push ecx
push str.player
push edi
call fcn.00404a70
add esp, 8
push eax
call fcn.004118b0
add esp, 8
push eax
call fcn.00404a70
add esp, 8
push eax
call fcn.004118b0
push eax
call fcn.0042dc20
add esp, 0xc
mov ecx, ebp
call fcn.00421220
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.00434630
mov byte [esp + 0xa0f0], 1
push 0x138a
lea ecx, [esp + 0x3c]
call fcn.0042f730
push 1
lea ecx, [esp + 0x3c]
call fcn.00430540
mov edi, dword [esp + 0x2c]
push edi
lea ecx, [esp + 0x3c]
call fcn.00430540
xor ebx, ebx
cmp esi, ebx
je 0x41e4e8
lea eax, [esi + 0x20]
jmp 0x41e4ea
xor eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.0040ec00
mov byte [esp + 0xa0f0], 2
test edi, edi
mov dword [esp + 0x20], 0
jle 0x41e5d4
add esi, 0x20
mov dword [esp + 0x28], esi
lea ebx, [ebx]
mov ecx, dword [esp + 0x28]
call fcn.0040ea10
test eax, eax
je 0x41e5d4
lea esi, [eax - 0x20]
test esi, esi
je 0x41e5d4
mov al, byte [esi + 0x4a6]
test al, al
jl 0x41e5c3
movsx edi, al
mov eax, dword [esi + edi*4 + 0x4a8]
push eax
lea ecx, [esp + 0x3c]
call fcn.00430750
lea eax, [edi + 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [eax + esi + 0x18]
add eax, esi
cmp ecx, 0x10
jb 0x41e570
mov eax, dword [eax + 4]
jmp 0x41e573
add eax, 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00430970
lea eax, [edi + 0x36]
imul eax, eax, 0x1c
mov ecx, dword [eax + esi + 0x18]
add eax, esi
cmp ecx, 0x10
jb 0x41e593
mov eax, dword [eax + 4]
jmp 0x41e596
add eax, 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00430970
xor ecx, ecx
mov cx, word [esi + edi*2 + 0x700]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00430640
mov edi, dword [esp + 0x2c]
movsx edx, bx
mov dword [esp + edx*4 + 0xe8], esi
inc ebx
mov eax, dword [esp + 0x20]
inc eax
cmp eax, edi
mov dword [esp + 0x20], eax
jl 0x41e520
lea ecx, [esp + 0x14]
call fcn.0040eb60
lea eax, [esp + 0x38]
push eax
push ebx
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0xf0]
push ecx
mov ecx, ebx
call fcn.0040d630
mov byte [esp + 0xa0f0], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e617
lea ecx, [esp + 0x14]
call fcn.0040eb60
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41e606
mov byte [esp + 0xa0f0], 0
lea ecx, [esp + 0x38]
call fcn.004028b0
mov ecx, ebp
call fcn.00421220
xor edx, edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], edx
mov esi, eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
mov dword [esp + 0xe8], edx
mov byte [esp + 0x17], dl
call fcn.00434630
mov byte [esp + 0xa0f0], 4
push 0x1195
lea ecx, [esp + 0x3c]
call fcn.0042f730
push 1
lea ecx, [esp + 0x3c]
call fcn.00430540
push edi
lea ecx, [esp + 0x3c]
call fcn.00430540
xor ebx, ebx
cmp esi, ebx
je 0x41e73f
lea eax, [esi + 0x20]
jmp 0x41e741
xor eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.0040ec00
mov byte [esp + 0xa0f0], 5
cmp edi, ebx
jle 0x41e7ed
lea ebp, [esi + 0x20]
mov ecx, ebp
call fcn.0040ea10
test eax, eax
je 0x41e7ed
lea esi, [eax - 0x20]
test esi, esi
je 0x41e7ed
mov eax, dword [esi + 0x800]
cmp dword [eax], 0
jne 0x41e789
mov eax, 0x494380
jmp 0x41e78e
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.00430970
mov ecx, dword [esi + 0x804]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00430750
movsx edx, byte [esi + 0x4a6]
mov eax, dword [esi + edx*4 + 0x4a8]
push eax
lea ecx, [esp + 0x3c]
call fcn.00430750
mov esi, dword [esi + 0x800]
xor eax, eax
mov ecx, dword [esp + eax*4 + 0x70]
cmp ecx, esi
je 0x41e7e4
test ecx, ecx
je 0x41e7dc
inc eax
cmp eax, 0x1e
jl 0x41e7c8
jmp 0x41e7e4
mov dword [esp + eax*4 + 0x70], esi
inc byte [esp + 0x13]
inc ebx
cmp ebx, edi
jl 0x41e765
lea ecx, [esp + 0x14]
call fcn.0040eb60
mov cl, byte [esp + 0x13]
test cl, cl
setne al
movsx ebp, al
xor edi, edi
test ebp, ebp
jle 0x41e8cb
mov bl, 8
mov edi, edi
sub esp, 0x38
mov esi, esp
lea ecx, [esp + 0x70]
mov dword [esp + 0x60], esp
push ecx
mov ecx, esi
mov dword [esp + 0x58], esi
call fcn.004086f0
mov byte [esp + 0xa128], 6
mov edx, dword [esp + 0x94]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x98]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x9c]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0xa0]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x34], eax
mov byte [esp + 0xa128], 7
mov ecx, dword [esp + edi*4 + 0xa8]
mov ecx, dword [ecx + 8]
mov byte [esp + 0xa128], 5
call fcn.00435de0
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], 0x4bdd78
mov byte [esp + 0xa0f0], bl
lea edx, [esp + 0x20]
push str.MP_TEAM_CREATE___send_ToGameServer_data_to_GateServer
push edx
call fcn.0042e4d0
add esp, 4
push eax
call fcn.00404a70
add esp, 8
mov byte [esp + 0xa0f0], 5
lea ecx, [esp + 0x20]
call fcn.0042e4c0
inc edi
cmp edi, ebp
jl 0x41e810
mov byte [esp + 0xa0f0], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e8f1
jmp 0x41e8e0
lea ecx, [esp + 0x14]
call fcn.0040eb60
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41e8e0
mov byte [esp + 0xa0f0], 0
lea ecx, [esp + 0x38]
call fcn.004028b0
mov dword [esp + 0xa0f0], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0042e4c0
mov ecx, dword [esp + 0xa0e8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0e4
ret 0xc