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

Disassembly:
push 0xffffffffffffffff
push 0x5e9639
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x65fde0]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65fde0]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e4]
mov ebp, dword [esp + 0x1a4]
mov esi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x19c], 1
cmp dword [ebp], 0
je 0x47831e
cmp dword [ebp + 4], 0
je 0x47831e
cmp dword [ebp + 8], 0
je 0x47831e
lea ecx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x1d0]
call fcn.00408c50
push eax
push esi
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x47831e
mov edx, dword [esp + 0x14]
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push edx
call fcn.0042c890
add esp, 0x28
cmp dword [esp + 0x1c], 0
je 0x478311
mov eax, dword [ebp + 8]
push 0x7fff
push 0
push eax
call fcn.005baaa0
xor esi, esi
add esp, 0xc
mov dword [esp + 0x24], esi
cmp dword [esp + 0x1c], esi
jbe 0x478311
call fcn.00439430
test eax, eax
je 0x477d50
call fcn.004b80a0
mov ecx, dword [ebp]
push 0x200
push 0
push ecx
mov dword [esp + 0x40], 0x200
call fcn.005baaa0
mov eax, dword [ebp]
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x44]
push edx
push eax
push esi
push ecx
call fcn.0042d400
add esp, 0x20
test eax, eax
jne 0x4782fe
mov esi, dword [ebp]
lea eax, [esp + 0x158]
call fcn.004069b0
push 0x61bae8
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 2
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x19c], 3
call fcn.0040a620
mov esi, eax
lea edi, [esp + 0x158]
call fcn.00411930
lea ecx, [esp + 0x44]
mov bl, al
call fcn.0040a610
test bl, bl
jne 0x4782ea
lea eax, [esp + 0x174]
call fcn.00411f00
mov byte [esp + 0x19c], 4
mov esi, dword [ebp]
lea eax, [esp + 0x13c]
call fcn.004069b0
push 0x62a2c8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], 5
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x19c], 6
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0x13c]
call fcn.004114d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x19c], 5
call fcn.0040a610
lea edx, [esp + 0x18]
push edx
push 0x20019
lea eax, [esp + 0x144]
call fcn.00408c50
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x47805e
push 0x208
call fcn.004b8189
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
mov ebx, eax
push ebx
push 0
push 0x61a670
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x60], 0x104
call fcn.0042d4e0
add esp, 0x18
test eax, eax
jne 0x478044
mov eax, dword [ebp + 8]
push 0x7fff
push eax
mov ecx, ebx
mov edx, ebp
call fcn.00483080
test eax, eax
je 0x478044
mov esi, dword [ebp + 8]
lea eax, [esp + 0x70]
call fcn.004069b0
lea ecx, [esp + 0x70]
call fcn.00424440
test al, al
jne 0x478033
lea eax, [esp + 0x54]
call fcn.00411f00
lea ecx, [esp + 0x54]
push ecx
push ebp
lea ecx, [esp + 0x17c]
lea edx, [esp + 0x78]
mov byte [esp + 0x1a4], 8
call fcn.00478360
test eax, eax
jne 0x47802a
lea esi, [esp + 0x8c]
call fcn.0046eab0
mov bl, 9
push 0x628c3c
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a0], bl
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x19c], 0xa
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0x8c]
call fcn.004114c0
lea ecx, [esp + 0x40]
mov byte [esp + 0x19c], bl
call fcn.0040a610
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1ac]
lea edi, [esp + 0xe0]
mov dword [esp + 0xfc], edx
call fcn.00411ec0
mov esi, 0x61abd0
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x1c8]
mov ecx, edi
call fcn.00411940
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x13c]
mov ecx, edi
call fcn.00411940
lea eax, [esp + 0x1c8]
lea edi, [esp + 0xa8]
call fcn.00411ec0
mov eax, edi
call fcn.004114d0
mov esi, dword [ebp]
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x70]
lea edi, [esp + 0xc4]
call fcn.00411ec0
lea eax, [esp + 0x54]
lea edi, [esp + 0x100]
call fcn.00411ec0
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp dword [esp + 0x1a8], 1
lea ebx, [esp + 0x8c]
sete al
mov dword [esp + 0x11c], eax
call fcn.004838a0
mov esi, ebx
call fcn.0045d860
mov ebx, dword [esp + 0x20]
lea edi, [esp + 0x54]
call fcn.00406490
lea edi, [esp + 0x70]
mov byte [esp + 0x19c], 5
call fcn.00406490
test ebx, ebx
je 0x478051
push ebx
call fcn.004b817e
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00431490
add esp, 4
mov esi, dword [ebp]
lea eax, [esp + 0x120]
call fcn.004069b0
push 0x62a2e4
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a0], 0xb
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x19c], 0xc
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0x120]
call fcn.004114d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 0xb
call fcn.0040a610
lea edx, [esp + 0x18]
push edx
push 0x20019
lea eax, [esp + 0x128]
call fcn.00408c50
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x4782c6
push 0x208
call fcn.004b8189
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
mov ebx, eax
push ebx
push 0
push 0x61a670
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], 0x104
call fcn.0042d4e0
add esp, 0x18
test eax, eax
jne 0x4782ac
mov eax, dword [ebp + 8]
push 0x7fff
push eax
mov ecx, ebx
mov edx, ebp
call fcn.00483080
test eax, eax
je 0x4782ac
mov esi, dword [ebp + 8]
lea eax, [esp + 0x70]
call fcn.004069b0
lea ecx, [esp + 0x70]
call fcn.00424440
test al, al
jne 0x47829b
lea eax, [esp + 0x54]
call fcn.00411f00
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x1a0], 0xe
mov edx, dword [ebp]
mov eax, dword [ebp + 8]
push 0
push edx
push eax
mov ecx, ebp
call fcn.0047c880
test eax, eax
jne 0x478292
lea esi, [esp + 0x8c]
call fcn.0046eab0
mov bl, 0xf
push 0x628c3c
lea ecx, [esp + 0x50]
mov byte [esp + 0x1a0], bl
call fcn.00419700
add esp, 4
mov ecx, eax
mov byte [esp + 0x19c], 0x10
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0x8c]
call fcn.004114c0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x19c], bl
call fcn.0040a610
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1ac]
lea edi, [esp + 0xe0]
mov dword [esp + 0xfc], ecx
call fcn.00411ec0
mov esi, 0x61abd0
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x1c8]
mov ecx, edi
call fcn.00411940
mov eax, edi
call fcn.004114d0
lea eax, [esp + 0x120]
mov ecx, edi
call fcn.00411940
lea eax, [esp + 0x1c8]
lea edi, [esp + 0xa8]
call fcn.00411ec0
mov eax, edi
call fcn.004114d0
mov esi, dword [ebp]
mov eax, edi
call fcn.004114d0
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc4]
call fcn.004114c0
lea eax, [esp + 0x54]
lea edi, [esp + 0x100]
call fcn.00411ec0
mov ecx, dword [esp + 0x28]
xor edx, edx
cmp dword [esp + 0x1a8], 1
lea ebx, [esp + 0x8c]
sete dl
mov dword [esp + 0x11c], edx
call fcn.004838a0
mov esi, ebx
call fcn.0045d860
mov ebx, dword [esp + 0x20]
lea edi, [esp + 0x54]
call fcn.00406490
lea edi, [esp + 0x70]
mov byte [esp + 0x19c], 0xb
call fcn.00406490
test ebx, ebx
je 0x4782b9
push ebx
call fcn.004b817e
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call fcn.00431490
add esp, 4
lea edi, [esp + 0x120]
call fcn.00406490
lea edi, [esp + 0x13c]
call fcn.00406490
lea edi, [esp + 0x174]
call fcn.00406490
lea edi, [esp + 0x158]
mov byte [esp + 0x19c], 1
call fcn.00406490
mov esi, dword [esp + 0x24]
inc esi
mov dword [esp + 0x24], esi
cmp esi, dword [esp + 0x1c]
jb 0x477d42
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00431490
add esp, 4
lea edi, [esp + 0x1ac]
call fcn.00406490
lea edi, [esp + 0x1c8]
call fcn.00406490
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.005b6c8b
add esp, 0x18c
ret 0x44