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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x52c
cmp dword [0x100ef754], 0
push ebx
push esi
push edi
je 0x4758a9
mov esi, dword [ebp + 0xc]
mov edi, 0xa
call fcn.00474360
mov eax, dword [esi]
test eax, eax
je 0x475722
mov ecx, dword [eax]
add ecx, eax
mov dword [esi], ecx
mov eax, dword [eax + 6]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4758a9
push 2
call fcn.0053b370
mov ebx, dword [0x100cf24c]
add esp, 4
push 1
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
call ebx
lea edi, [eax + 1]
lea esi, [esp + 0x1c]
call fcn.00475b90
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push edx
push esi
call ebx
push 0xfffe
call fcn.0053b370
add esp, 4
push esi
mov ebx, eax
push 0x100cfa40
push ebx
mov dword [esp + 0x30], ebx
call dword [0x100cf2f4]
add esp, 0xc
push ebx
call dword [0x100cf068]
mov dword [esp + 0x30], eax
call dword [0x100cf248]
cmp dword [esp + 0xc], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], 0
jle 0x4756d8
lea esp, [esp]
mov esi, dword [ebp + 0xc]
mov edi, 0xb
call fcn.00474360
mov ecx, esi
mov eax, dword [ecx]
test eax, eax
je 0x47570a
mov edx, dword [eax]
add edx, eax
mov dword [ecx], edx
mov edi, dword [eax + 6]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x14], edi
call dword [0x100ef780]
mov ecx, dword [esp + 0x30]
push eax
lea edx, [ebx + ecx*2]
push 0x100cfa80
push edx
call dword [0x100cf2f4]
mov eax, dword [0x100ef48c]
add esp, 0xc
push ebx
push eax
call fcn.00520c20
test edi, edi
mov dword [esp + 0x14], 0
jbe 0x47534f
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053b370
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
test edi, edi
jle 0x47540a
lea esp, [esp]
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0xcc]
call fcn.00532c00
mov eax, dword [0x100ef808]
push 0x208
push 1
push eax
call dword [0x100cf14c]
cmp byte [esp + 0xe4], 0
mov esi, eax
je 0x4753e6
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], 0
jne 0x4753e2
mov edx, ecx
mov dword [edx], 0
mov eax, dword [edi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x4753e2
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
push esi
push ecx
mov dword [eax + ebx*4], esi
mov eax, dword [ebp + 0xc]
push edx
call fcn.00474f80
add ebx, 1
cmp ebx, edi
jl 0x475360
mov ebx, dword [esp + 0x24]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x128]
push eax
push ebx
push edi
mov eax, esi
call fcn.00475040
lea ecx, [esp + 0x330]
push ecx
push ebx
push edi
mov eax, esi
call fcn.00475100
lea edx, [esp + 0x330]
push edx
lea eax, [esp + 0x12c]
push eax
call fcn.00502c80
xor esi, esi
xor edi, edi
add esp, 8
cmp dword [esp + 0x10], esi
mov dword [esp + 0x34], edi
jle 0x47559a
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + edi*4]
cmp word [eax], si
je 0x475473
push eax
call dword [0x100cf20c]
mov ebx, dword [ebx + edi*4]
cmp ebx, esi
je 0x475585
mov eax, 0x100ef4b8
mov dword [esp + 0x98], esi
mov edx, dword [esp + 0x98]
mov ecx, 0x100ef4b4
mov dword [esp + 0xa0], esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call fcn.00535fe0
call dword [0x100cf08c]
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [edx]
cmp edi, eax
je 0x475511
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
test edx, edx
jne 0x475636
mov eax, dword [esp + 0x44]
push edx
push edi
push eax
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x475636
mov ecx, dword [esp + 0x4c]
mov dword [ecx], 0
mov eax, dword [esp + 0x4c]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
push ebx
push 1
push edx
mov byte [esp + 0x64], al
call dword [0x100cf260]
cmp byte [esp + 0x58], 0
je 0x47557f
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], 0
jne 0x47557f
mov edx, ecx
mov dword [edx], 0
mov eax, dword [edi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x47557f
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov edi, dword [esp + 0x34]
xor esi, esi
add edi, 1
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x34], edi
jl 0x475460
mov ebx, dword [esp + 0x24]
cmp word [esp + 0x128], si
je 0x4755b2
lea eax, [esp + 0x128]
push eax
call dword [0x100cf20c]
cmp word [esp + 0x330], si
je 0x4755ca
lea ecx, [esp + 0x330]
push ecx
call dword [0x100cf20c]
push ebx
call dword [0x100cf244]
cmp dword [esp + 0x14], esi
je 0x4756bf
mov ecx, 0x100ef4b4
mov eax, 0x100ef4b8
mov dword [esp + 0x84], esi
mov edx, dword [esp + 0x84]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], esi
lea ebx, [esp + 0x2f]
mov edi, ecx
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
call fcn.00535220
test al, al
jne 0x47564d
jmp 0x475656
push edi
lea eax, [esp + 0x40]
call fcn.00535290
test al, al
jne 0x475511
jmp 0x47551a
mov eax, dword [esp + 0x70]
add dword [eax], 1
mov al, 1
mov edx, dword [esp + 0x14]
push edx
mov byte [esp + 0x80], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x7c], 0
je 0x4756bf
mov esi, dword [esp + 0x78]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
lea eax, [esi + 0x10]
jne 0x4756bf
mov edx, ecx
mov dword [edx], 0
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4756bf
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
jl 0x4752d0
mov esi, dword [ebp + 0xc]
mov edi, 0xf
call fcn.00474360
mov eax, dword [esi]
test eax, eax
je 0x47570a
mov ecx, dword [eax]
add ecx, eax
mov dword [esi], ecx
mov eax, dword [eax + 6]
test eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], 0
jle 0x475826
jmp 0x475733
test ebx, ebx
je 0x475715
mov eax, ebx
call fcn.00472510
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x475722
call fcn.00472510
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov edi, 0x10
call fcn.00474360
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
test esi, esi
je 0x47570a
mov edx, dword [esi]
add edx, esi
mov dword [eax], edx
mov ebx, dword [esi + 6]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x18], edi
jbe 0x475768
push ebx
call fcn.0053b370
add esp, 4
mov edi, eax
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0xa]
push ebx
add eax, esi
push eax
push edi
call dword [0x100ef7ec]
mov ecx, dword [0x100ef48c]
push 0x80
push 0
push 0x40000000
push 0x100cfa88
push ecx
call fcn.00520bb0
mov esi, eax
cmp esi, 0xffffffff
je 0x475802
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x94]
push edx
push eax
push edi
push esi
call dword [0x100cf23c]
mov ebx, dword [0x100cf21c]
push esi
call ebx
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0xac], 0x20
mov dword [esp + 0xb4], 0x100cfa88
mov dword [esp + 0xb0], 0
call dword [0x100ef758]
mov esi, eax
cmp esi, 0xffffffff
je 0x475802
lea edx, [esp + 0xa4]
push edx
push esi
call dword [0x100ef754]
push esi
call ebx
test edi, edi
je 0x47580d
mov eax, edi
call fcn.00472510
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
jl 0x475730
test ebx, ebx
je 0x475865
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x10c]
call fcn.00532c00
mov eax, dword [0x100ef808]
push ebx
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x124], 0
je 0x475865
mov esi, dword [esp + 0x120]
call fcn.005154d0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4758a9
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0xec]
call fcn.00532c00
mov ecx, dword [0x100ef808]
push esi
push 1
push ecx
call dword [0x100cf260]
cmp byte [esp + 0x104], 0
je 0x4758a9
mov esi, dword [esp + 0x100]
call fcn.005154d0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8