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

Disassembly:
push 0xffffffffffffffff
push 0x4c7d8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00473310
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebx
jne 0x4751aa
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
add esp, 0x1bc
ret
push ebp
push edi
lea ecx, [esp + 0x194]
call fcn.00446e80
lea ebp, [esi + 0x1c]
push 0x2a
push ebp
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x28], ebp
call fcn.00446bd0
test al, al
je 0x475778
push 0x1000
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0xb8]
mov byte [esi + 0x60], bl
mov dword [esi + 0x18], ebx
call fcn.00441fd0
mov eax, dword [esi + 0x40]
cmp eax, ebx
mov byte [esp + 0x1c8], 1
jne 0x47520f
xor eax, eax
jmp 0x475211
mov eax, dword [eax]
mov esi, dword [esi + 0x40]
cmp eax, esi
mov dword [esp + 0x14], eax
mov edi, 0xf
je 0x475709
mov esi, dword [esp + 0x14]
push 1
push ebx
lea ecx, [esp + 0x18]
add esi, 8
push ecx
mov ecx, esi
mov byte [esp + 0x1c], 0x3b
call fcn.00405a90
mov ebp, eax
push ebp
push ebx
push esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00401a00
push 0xffffffffffffffff
inc ebp
push ebp
push esi
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1d4], 2
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.00401a00
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
cmp eax, ebx
mov byte [esp + 0x1c8], 3
jne 0x4752a2
xor eax, eax
jmp 0x4752a4
mov eax, dword [eax]
cmp eax, dword [ecx + 0x2c]
mov esi, eax
je 0x47567f
nop
mov ecx, dword [esp + 0x18]
mov ebp, dword [esi]
add ecx, 0xc
lea eax, [esi + 0x60]
push ecx
push eax
mov dword [esp + 0x24], ebp
call fcn.00448180
add esp, 8
test eax, eax
jl 0x47565e
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x128]
push 0x4ee378
push eax
call fcn.00402050
add esp, 0xc
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1cc], 4
call fcn.004425f0
mov eax, dword [esp + 0x13c]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x1c8], 3
jb 0x475329
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00442830
add esp, 4
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x10c]
push 0x4efc0c
push eax
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
call fcn.00402050
lea ecx, [esi + 8]
push ecx
push eax
lea edx, [esp + 0x170]
push edx
mov byte [esp + 0x1e0], 5
call fcn.00401c60
add esp, 0x18
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1cc], 6
call fcn.004425f0
cmp dword [esp + 0x174], ebp
jb 0x4753a3
mov eax, dword [esp + 0x160]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x120], ebp
mov dword [esp + 0x174], edi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
mov byte [esp + 0x1c8], 3
jb 0x4753d9
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00442830
add esp, 4
lea eax, [esi + 0x60]
push eax
lea edx, [esp + 0x144]
push edx
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.0044c5d0
push eax
lea eax, [esp + 0x184]
push 0x4efc04
push eax
mov byte [esp + 0x1dc], 7
call fcn.00402050
add esp, 0x14
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1cc], 8
call fcn.004425f0
cmp dword [esp + 0x190], ebp
jb 0x47544b
mov ecx, dword [esp + 0x17c]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x158], ebp
mov dword [esp + 0x190], edi
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
mov byte [esp + 0x1c8], 3
jb 0x475481
mov edx, dword [esp + 0x144]
push edx
call fcn.00442830
add esp, 4
lea eax, [esi + 0x24]
push eax
lea ecx, [esp + 0xf0]
push 0x4efbf8
push ecx
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
call fcn.00402050
add esp, 0xc
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1cc], 9
call fcn.004425f0
cmp dword [esp + 0x104], ebp
mov byte [esp + 0x1c8], 3
jb 0x4754e5
mov edx, dword [esp + 0xf0]
push edx
call fcn.00442830
add esp, 4
lea eax, [esp + 0xd0]
push eax
lea ecx, [esi + 0x40]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.0046c310
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1d4], 0xa
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401a00
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push 0x4efbec
push eax
mov byte [esp + 0x1d4], 0xb
call fcn.00402050
add esp, 0xc
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1cc], 0xc
call fcn.004425f0
cmp dword [esp + 0x3c], ebp
jb 0x475579
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x475598
mov edx, dword [esp + 0x44]
push edx
call fcn.00442830
add esp, 4
cmp dword [esp + 0xe8], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x1c8], 3
jb 0x4755c5
mov eax, dword [esp + 0xd4]
push eax
call fcn.00442830
add esp, 4
mov eax, 0x4f2fc0
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4755f4
sub eax, edx
push eax
push 0x4f2fc0
lea ecx, [esp + 0x80]
call fcn.00401ab0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1cc], 0xd
call fcn.004425f0
cmp dword [esp + 0x90], ebp
mov byte [esp + 0x1c8], 3
jb 0x475646
mov edx, dword [esp + 0x7c]
push edx
call fcn.00442830
add esp, 4
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jmp 0x475670
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x20]
push eax
add ecx, 0x24
call fcn.004743c0
mov ecx, dword [esp + 0x14]
cmp ebp, dword [ecx + 0x2c]
mov esi, ebp
jne 0x4752b0
cmp dword [ecx + 0x30], ebx
mov esi, dword [ecx]
jne 0x475698
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
add ecx, 0x38
call fcn.00474f70
mov eax, dword [esp + 0xac]
mov ebp, 0x10
cmp eax, ebp
mov dword [esp + 0x14], esi
jb 0x4756bc
mov eax, dword [esp + 0x98]
push eax
call fcn.00442830
add esp, 4
cmp dword [esp + 0x74], ebp
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov byte [esp + 0x1c8], 1
jb 0x4756ec
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00442830
add esp, 4
mov edx, dword [esp + 0x18]
cmp esi, dword [edx + 0x40]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jne 0x475225
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0xb0]
call fcn.00441e50
test al, al
jne 0x475793
push ebp
lea eax, [esp + 0x28]
push 0x4efbc8
push eax
call fcn.00402050
add esp, 0xc
mov edx, dword [0x5132b8]
push eax
push 3
mov ecx, 0x5132b8
mov byte [esp + 0x1d0], 0xe
call dword [edx + 4]
cmp dword [esp + 0x3c], 0x10
jb 0x475759
mov eax, dword [esp + 0x28]
push eax
call fcn.00442830
add esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x1c8], bl
call fcn.00442040
lea ecx, [esp + 0x194]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00446f40
xor al, al
jmp 0x4757bf
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1c8], bl
call fcn.00442040
lea ecx, [esp + 0x194]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00446f40
mov al, 1
mov ecx, dword [esp + 0x1c0]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1bc
ret