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

Disassembly:
sub esp, 0x15c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x16c]
push edi
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.005bdc80
mov ecx, esi
call fcn.005b9490
mov ebp, eax
xor ebx, ebx
test ebp, ebp
jle 0x47d9bc
push ebx
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x178]
call fcn.005ba130
mov eax, dword [esp + 0x6c]
xor edx, edx
mov edi, eax
mov esi, str.teamchemistry
mov ecx, 0xe
repe cmpsb byte [esi], byte es:[edi]
push edx
jne 0x47d896
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x160]
push eax
call fcn.005b6e00
push str._teamchemistry
lea ecx, [esp + 0x160]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x168]
jmp 0x47d8b6
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x1c]
mov esi, eax
call fcn.005b6e00
push esi
lea ecx, [esp + 0x44]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47d8d7
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x47d8d7
test esi, esi
je 0x47d8d7
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov esi, dword [esp + 0x6c]
push 0x9246e8
lea ecx, [esp + 0xc0]
call fcn.004a8150
push edi
push esi
lea ecx, [esp + 0xc4]
mov dword [esp + 0x110], 0
call fcn.0047a370
mov ecx, eax
call fcn.00454d10
push eax
lea ecx, [esp + 0x74]
call fcn.004a8150
mov eax, dword [esp + 0x104]
lea edx, [esp + 0xc4]
cmp eax, edx
je 0x47d931
push eax
call fcn.0079a005
add esp, 4
mov edx, dword [esp + 0x174]
mov ecx, dword [edx + 0x48]
mov eax, dword [edx]
add eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xb8]
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x20]
push eax
mov ecx, edx
call fcn.00453f10
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x47d99e
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x5c]
cmp eax, edx
je 0x47d9b3
push eax
call fcn.004186c0
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x47d840
mov ecx, dword [esp + 0x170]
call fcn.005b9480
test eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 0
jle 0x47dbe8
mov ebx, dword [esp + 0x174]
xor ebp, ebp
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x178]
call fcn.005ba110
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
push ebp
lea edx, [esp + 0x44]
push edx
call fcn.005b6e00
push esi
lea ecx, [esp + 0x44]
call fcn.004553d0
fstp dword [esp + 0x50]
mov ecx, dword [0x9246e8]
cmp ecx, 0x3f
mov edi, dword [esp + 0x6c]
lea eax, [esp + 0x114]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x154], eax
mov dword [esp + 0x110], ecx
jle 0x47da5e
push ebp
inc ecx
push ecx
push 0x8466f8
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0x154], eax
mov ecx, dword [0x924730]
mov edx, dword [esp + 0x10c]
lea esi, [edx + ecx]
cmp ecx, esi
je 0x47da83
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x47da72
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x50]
mov byte [eax + ecx], 0
push edx
push edi
lea ecx, [esp + 0x114]
mov dword [esp + 0x160], ebp
call fcn.0047a370
mov ecx, eax
call fcn.0047cb10
mov esi, eax
mov ecx, dword [esi]
cmp ecx, 0x3f
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb8], eax
jle 0x47daec
mov eax, dword [esi]
push ebp
inc ecx
push ecx
push 0x8466f8
mov dword [esp + 0x80], eax
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0xb8], eax
jmp 0x47daf0
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x70]
add edx, ecx
cmp ecx, edx
mov edi, eax
je 0x47db11
nop
mov al, byte [ecx]
mov byte [edi], al
inc edi
inc ecx
cmp ecx, edx
jne 0x47db00
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x70]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x154]
lea edx, [esp + 0x114]
cmp eax, edx
je 0x47db34
push eax
call fcn.0079a005
add esp, 4
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx]
add eax, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb8]
add ecx, eax
lea edx, [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00453f10
mov eax, dword [esp + 0xb8]
lea edx, [esp + 0x78]
cmp eax, edx
je 0x47db9a
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebp
je 0x47dbbe
dec dword [eax]
cmp dword [eax], ebp
mov esi, eax
jne 0x47dbbe
cmp esi, ebp
je 0x47dbbe
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x47dbd3
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47d9e5
mov ecx, dword [esp + 0x170]
call fcn.005b94a0
test eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 0
jle 0x47de9b
jmp 0x47dc10
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x170]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.005ba150
mov eax, dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov esi, eax
call fcn.005b6e00
push esi
lea edx, [esp + 0x110]
push edx
lea ecx, [esp + 0x48]
call fcn.0047ad20
sub esp, 0x4c
mov esi, esp
mov edi, eax
mov eax, dword [edi]
cmp eax, 0x3f
lea ecx, [esi + 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x48], ecx
jle 0x47dc84
mov edx, dword [edi]
push 0
inc eax
push eax
push 0x8466f8
mov dword [esi + 4], edx
call fcn.00799f3a
add esp, 0xc
mov dword [esi + 0x48], eax
jmp 0x47dc87
mov dword [esi + 4], eax
mov eax, dword [edi + 0x48]
mov ecx, dword [esi]
mov ebp, dword [esi + 0x48]
add ecx, eax
cmp eax, ecx
je 0x47dca0
mov dl, byte [eax]
mov byte [ebp], dl
inc ebp
inc eax
cmp eax, ecx
jne 0x47dc95
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov ecx, dword [0x9246e8]
cmp ecx, 0x3f
lea eax, [esp + 0x110]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x150], eax
mov dword [esp + 0x10c], ecx
jle 0x47dce8
push 0
inc ecx
push ecx
push 0x8466f8
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0x150], eax
mov ecx, dword [0x924730]
mov edx, dword [esp + 0x108]
lea esi, [edx + ecx]
cmp ecx, esi
je 0x47dd11
lea esp, [esp]
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x47dd00
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x108]
mov byte [eax + ecx], 0
push ebx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x158], 0
call fcn.0047a370
mov ecx, eax
call fcn.0045cc70
mov esi, eax
mov ecx, dword [esi]
cmp ecx, 0x3f
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb8], eax
jle 0x47dd7a
mov edx, dword [esi]
push 0
inc ecx
push ecx
push 0x8466f8
mov dword [esp + 0x80], edx
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0xb8], eax
jmp 0x47dd7e
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x70]
add edx, ecx
cmp ecx, edx
mov edi, eax
je 0x47dda1
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edi], al
inc edi
inc ecx
cmp ecx, edx
jne 0x47dd90
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x70]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x104]
lea edx, [esp + 0xc4]
cmp eax, edx
je 0x47ddc4
push eax
call fcn.0079a005
add esp, 4
mov edx, dword [esp + 0x174]
mov ecx, dword [edx + 0x48]
mov eax, dword [edx]
add eax, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb8]
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x2c]
push eax
mov ecx, edx
call fcn.00453f10
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x47de31
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x154]
lea edx, [esp + 0x114]
cmp eax, edx
je 0x47de4c
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47de71
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x47de71
test esi, esi
je 0x47de71
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x47de86
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47dc10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47deeb
dec dword [eax]
cmp dword [eax], 0
mov edi, eax
jne 0x47deeb
test edi, edi
je 0x47deeb
mov esi, dword [edi + 0x5c]
test esi, esi
je 0x47decf
dec dword [esi]
jne 0x47decf
test esi, esi
je 0x47decf
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [edi + 0x58]
lea edx, [edi + 0x54]
cmp eax, edx
je 0x47dee2
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret