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

Disassembly:
push 0xffffffffffffffff
push 0x48ec5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xa1dc
call fcn.00461900
mov eax, dword [0x4baba4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa200]
push edi
mov ebp, ecx
push 0
mov ecx, esi
mov dword [esp + 0xa1ec], eax
mov dword [esp + 0x34], ebp
call fcn.0042fa40
push 0
mov ecx, esi
mov ebx, eax
call fcn.0042fa40
push eax
mov ecx, ebp
mov dword [esp + 0x20], eax
call fcn.0040c4d0
push ebx
mov ecx, ebp
mov edi, eax
call fcn.0040c4d0
test edi, edi
mov esi, eax
je 0x41e318
test esi, esi
je 0x41e318
lea ecx, [edi + 0x20]
call fcn.00421220
test eax, eax
je 0x41dc0e
lea ecx, [edi + 0x20]
call fcn.0042a220
cmp eax, edi
je 0x41dc0e
push str.GP_GROUPSERVERAPPTEAM_CPP_00010
mov ecx, 0x4be334
call fcn.0045e470
push eax
mov ecx, edi
call fcn.004245d0
push str.GP_GROUPSERVERAPPTEAM_CPP_00011
mov ecx, 0x4be334
call fcn.0045e470
push eax
mov ecx, esi
jmp 0x41dcd1
lea ecx, [edi + 0x20]
call fcn.00421220
test eax, eax
je 0x41dc62
lea ecx, [edi + 0x20]
call fcn.00421220
mov ecx, eax
add ecx, 0x20
call fcn.0041d360
movsx ecx, byte [ebp + 0xc64]
cmp eax, ecx
jl 0x41dc62
push str.GP_GROUPSERVERAPPTEAM_CPP_00002
mov ecx, 0x4be334
call fcn.0045e470
push eax
mov ecx, edi
call fcn.004245d0
push str.GP_GROUPSERVERAPPTEAM_CPP_00012
mov ecx, 0x4be334
call fcn.0045e470
push eax
mov ecx, esi
jmp 0x41dcd1
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41dc67
sub eax, edx
test ebx, ebx
je 0x41e2f4
cmp ax, 0x10
ja 0x41e2f4
mov al, byte [esi + 0x4a6]
test al, al
jl 0x41ddb1
cmp esi, edi
je 0x41ddb1
lea ebp, [esi + 0x20]
mov ecx, ebp
call fcn.00421220
test eax, eax
je 0x41dcfd
push ebx
push str.GP_GROUPSERVERAPPTEAM_CPP_00015
mov ecx, 0x4be334
call fcn.0045e470
push eax
lea edx, [esp + 0xa0f0]
push edx
call fcn.004616ad
add esp, 0xc
lea eax, [esp + 0xa0e8]
push eax
mov ecx, edi
call fcn.004245d0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], 0x4bdc90
mov dword [esp + 0xa1f4], 0xc
push str.MP_TEAM_CREATE___invite_failed
lea eax, [esp + 0x18]
push eax
jmp 0x41e33a
movsx ecx, byte [edi + 0x4a6]
mov eax, dword [edi + ecx*4 + 0x4a8]
push eax
lea ecx, [esi + 0x30]
call fcn.00422520
test eax, eax
je 0x41dd20
push ebx
push str.GP_GROUPSERVERAPPTEAM_CPP_00005
jmp 0x41dcac
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0041d320
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41dd67
push ebx
push str.GP_GROUPSERVERAPPTEAM_CPP_00016
mov ecx, 0x4be334
call fcn.0045e470
push eax
lea edx, [esp + 0xa0f0]
push edx
call fcn.004616ad
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0xa0e8]
push eax
call fcn.004245d0
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.0042a580
test eax, eax
mov dword [esp + 0x20], eax
je 0x41e35f
mov ecx, dword [esp + 0x30]
movsx edx, byte [ecx + 0xc64]
cmp eax, edx
jle 0x41dddf
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 0x41e35f
push ebx
push str.GP_GROUPSERVERAPPTEAM_CPP_00014
mov ecx, 0x4be334
call fcn.0045e470
push eax
lea ecx, [esp + 0xa0f0]
push ecx
call fcn.004616ad
add esp, 0xc
lea edx, [esp + 0xa0e8]
push edx
jmp 0x41dccf
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], 0x4bdc90
mov dword [esp + 0xa1f4], 2
lea eax, [esp + 0x14]
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 + 0x30]
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.00434630
mov byte [esp + 0xa1f4], 3
push 0x138a
lea ecx, [esp + 0x3c]
call fcn.0042f730
push 1
lea ecx, [esp + 0x3c]
call fcn.00430540
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x3c]
call fcn.00430540
xor ebx, ebx
test esi, esi
je 0x41deb9
lea eax, [esi + 0x20]
jmp 0x41debb
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
call fcn.0040ecb0
mov byte [esp + 0xa1f4], 4
test edi, edi
mov dword [esp + 0x1c], 0
jle 0x41df99
add esi, 0x20
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x34]
call fcn.0040ea10
test eax, eax
je 0x41df99
lea esi, [eax - 0x20]
test esi, esi
je 0x41df99
mov al, byte [esi + 0x4a6]
test al, al
jl 0x41df88
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 0x41df38
mov eax, dword [eax + 4]
jmp 0x41df3b
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 0x41df5b
mov eax, dword [eax + 4]
jmp 0x41df5e
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 + 0x20]
movsx edx, bx
mov dword [esp + edx*4 + 0x70], esi
inc ebx
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x41dee4
lea ecx, [esp + 0x28]
call fcn.0040eb60
lea eax, [esp + 0x38]
push eax
push ebx
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call fcn.0040d630
mov byte [esp + 0xa1f4], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41dfe1
jmp 0x41dfd0
lea ecx, [esp + 0x28]
call fcn.0040eb60
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x41dfd0
mov byte [esp + 0xa1f4], 2
lea ecx, [esp + 0x38]
call fcn.004028b0
mov ecx, ebp
call fcn.00421220
xor edx, edx
mov dword [esp + 0xa070], edx
mov dword [esp + 0xa074], edx
mov dword [esp + 0xa078], edx
mov dword [esp + 0xa07c], edx
mov dword [esp + 0xa080], edx
mov dword [esp + 0xa084], edx
mov dword [esp + 0xa088], edx
mov dword [esp + 0xa08c], edx
mov dword [esp + 0xa090], edx
mov dword [esp + 0xa094], edx
mov dword [esp + 0xa098], edx
mov dword [esp + 0xa09c], edx
mov dword [esp + 0xa0a0], edx
mov dword [esp + 0xa0a4], edx
mov dword [esp + 0xa0a8], edx
mov dword [esp + 0xa0ac], edx
mov dword [esp + 0xa0b0], edx
mov dword [esp + 0xa0b4], edx
mov dword [esp + 0xa0b8], edx
mov dword [esp + 0xa0bc], edx
mov dword [esp + 0xa0c0], edx
mov dword [esp + 0xa0c4], edx
mov dword [esp + 0xa0c8], edx
mov dword [esp + 0xa0cc], edx
mov dword [esp + 0xa0d0], edx
mov dword [esp + 0xa0d4], edx
mov dword [esp + 0xa0d8], edx
mov esi, eax
mov dword [esp + 0xa0dc], edx
mov dword [esp + 0xa0e0], edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
mov dword [esp + 0xa0e8], edx
mov byte [esp + 0x17], dl
call fcn.00434630
mov byte [esp + 0xa1f4], 6
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 0x41e115
lea eax, [esi + 0x20]
jmp 0x41e117
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
call fcn.0040ec00
mov byte [esp + 0xa1f4], 7
cmp edi, ebx
jle 0x41e1db
lea ebp, [esi + 0x20]
jmp 0x41e140
mov ecx, ebp
call fcn.0040ea10
test eax, eax
je 0x41e1db
lea esi, [eax - 0x20]
test esi, esi
je 0x41e1db
mov eax, dword [esi + 0x800]
cmp dword [eax], 0
jne 0x41e16c
mov eax, 0x494380
jmp 0x41e171
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
jmp 0x41e1b0
mov ecx, dword [esp + eax*4 + 0xa070]
cmp ecx, esi
je 0x41e1d2
test ecx, ecx
je 0x41e1c7
inc eax
cmp eax, 0x1e
jl 0x41e1b0
jmp 0x41e1d2
mov dword [esp + eax*4 + 0xa070], esi
inc byte [esp + 0x13]
inc ebx
cmp ebx, edi
jl 0x41e140
lea ecx, [esp + 0x20]
call fcn.0040eb60
mov cl, byte [esp + 0x13]
test cl, cl
setne al
movsx ebp, al
xor edi, edi
test ebp, ebp
jle 0x41e2bb
mov bl, 0xa
lea esp, [esp]
sub esp, 0x38
mov esi, esp
lea ecx, [esp + 0x70]
mov dword [esp + 0x6c], esp
push ecx
mov ecx, esi
mov dword [esp + 0x58], esi
call fcn.004086f0
mov byte [esp + 0xa22c], 8
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 + 0xa22c], 9
mov ecx, dword [esp + edi*4 + 0xa0a8]
mov ecx, dword [ecx + 8]
mov byte [esp + 0xa22c], 7
call fcn.00435de0
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 0x4bdc90
mov byte [esp + 0xa1f4], bl
lea edx, [esp + 0x28]
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 + 0xa1f4], 7
lea ecx, [esp + 0x28]
call fcn.0042e4c0
inc edi
cmp edi, ebp
jl 0x41e200
mov byte [esp + 0xa1f4], 6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41e2e1
jmp 0x41e2d0
lea ecx, [esp + 0x20]
call fcn.0040eb60
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41e2d0
mov byte [esp + 0xa1f4], 2
lea ecx, [esp + 0x38]
call fcn.004028b0
jmp 0x41e34b
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], 0x4bdc90
mov dword [esp + 0xa1f4], 1
push str.MP_TEAM_CREATE___name_length_is_invalid_
lea ecx, [esp + 0x18]
push ecx
jmp 0x41e33a
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], 0x4bdc90
mov dword [esp + 0xa1f4], 0
push str.MP_TEAM_CREATE___member_is_offline_
lea edx, [esp + 0x18]
push edx
call fcn.0042e4d0
add esp, 4
push eax
call fcn.00404a70
add esp, 8
mov dword [esp + 0xa1f4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0042e4c0
mov ecx, dword [esp + 0xa1ec]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa1e8]
call fcn.0046135e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa1e8
ret 0xc