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

Disassembly:
push 0xffffffffffffffff
push 0x52bee2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [esp + 0x120]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
cmp eax, 5
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
ja case.0x475337.272
jmp dword [eax*4 + 0x4758a8]
mov byte [0x75fdbc], 5
jmp 0x475371
mov byte [0x75fdbc], 1
jmp 0x475371
mov byte [0x75fdbc], 2
jmp 0x475371
mov byte [0x75fdbc], 3
jmp 0x475371
mov byte [0x75fdbc], 4
jmp 0x475371
mov byte [0x75fdbc], bl
mov edx, dword [0x841bd0]
imul eax, eax, 0x3c
push 0xffffffffffffffff
add eax, edx
add eax, 0x1c
push ebx
push eax
lea ecx, [edi + 0x20]
call fcn.0045bf30
mov ebp, 7
push 0x539c7c
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00517b9f
add esp, 4
push eax
push 0x539c7c
lea ecx, [esp + 0x48]
call fcn.0045c040
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0x130], ebx
call fcn.00473ec0
mov esi, eax
push 0x539c64
mov byte [esp + 0x12c], 1
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00517b9f
add esp, 4
push eax
push 0x539c64
lea ecx, [esp + 0x64]
call fcn.0045c040
push esi
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x134], 2
call fcn.00473af0
add esp, 0xc
mov eax, dword [esp + 0x74]
mov esi, 8
cmp eax, esi
jb 0x47543c
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0051647d
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
jb 0x47545c
mov edx, dword [esp + 0x28]
push edx
call fcn.0051647d
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
mov byte [esp + 0x128], 4
jb 0x475484
mov eax, dword [esp + 0x44]
push eax
call fcn.0051647d
add esp, 4
push 0x539c58
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
call fcn.00517b9f
add esp, 4
push eax
push 0x539c58
lea ecx, [esp + 0x9c]
call fcn.0045c040
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xd0]
push edx
mov ecx, edi
mov byte [esp + 0x130], 7
call fcn.00473ec0
mov esi, eax
push 0x539c64
mov byte [esp + 0x12c], 8
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
call fcn.00517b9f
add esp, 4
push eax
push 0x539c64
lea ecx, [esp + 0x80]
call fcn.0045c040
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x134], 9
call fcn.00473af0
add esp, 0xc
mov eax, dword [esp + 0x90]
mov esi, 8
cmp eax, esi
jb 0x47555f
mov edx, dword [esp + 0x7c]
push edx
call fcn.0051647d
add esp, 4
cmp dword [esp + 0xe4], esi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x47558b
mov eax, dword [esp + 0xd0]
push eax
call fcn.0051647d
add esp, 4
cmp dword [esp + 0xac], esi
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], bx
mov byte [esp + 0x128], 0xb
jb 0x4755c2
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0051647d
add esp, 4
lea edx, [esp + 0x20]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x12c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], bx
mov word [ecx + 4], bx
call fcn.0045bf30
lea ecx, [esp + 0x44]
push ecx
call fcn.00473900
add esp, 0x20
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x12c], 0xe
jb 0x475620
mov eax, dword [eax + 4]
jmp 0x475623
add eax, 4
push eax
call fcn.0040cc00
mov esi, eax
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x18], esi
mov byte [esp + 0x128], 0xb
jb 0x475650
mov edx, dword [esp + 0x28]
push edx
call fcn.0051647d
add esp, 4
mov ecx, dword [esp + 0x20]
shr ecx, 1
lea ecx, [esi + ecx*2]
cmp esi, ecx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov eax, esi
je 0x47568d
nop
cmp word [eax], bx
je 0x47567d
add eax, 2
cmp word [eax], bx
jne 0x475675
mov edx, dword [esp + 0x14]
add eax, 2
inc edx
cmp eax, ecx
mov dword [esp + 0x14], edx
jne 0x475670
sub esp, 0x1c
mov eax, esp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], esp
push eax
mov ecx, edi
call fcn.00475100
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x475702
mov ecx, eax
xor ebp, ebp
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov eax, dword [edi + 4]
push esi
lea edi, [eax + ebp]
call fcn.00517b9f
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.0045c040
cmp word [esi], bx
je 0x4756e8
lea ecx, [ecx]
add esi, 2
cmp word [esi], bx
jne 0x4756e0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
add esi, 2
add ebp, 0x1c
dec eax
mov dword [esp + 0x10], eax
jne 0x4756c0
mov ebp, 7
mov edx, dword [esp + 0x18]
push edx
call fcn.00516bb0
mov al, byte [0x75fdbc]
add esp, 4
cmp al, 5
je 0x47583b
lea eax, [esp + 0x20]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xd8]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], bx
call fcn.0045bf30
lea eax, [esp + 0x108]
push eax
call fcn.00473900
add esp, 0x20
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x12c], 0xf
jb 0x475767
mov eax, dword [eax + 4]
jmp 0x47576a
add eax, 4
push eax
call fcn.0040cc00
mov esi, eax
mov eax, dword [esp + 0x108]
add esp, 8
cmp eax, 0x10
mov dword [esp + 0x18], esi
mov byte [esp + 0x128], 0xb
jb 0x47579d
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0051647d
add esp, 4
mov edx, dword [esp + 0x14]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ebx
push edx
lea ecx, [edi + 0x10]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
mov word [eax + 4], bx
call fcn.00475100
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47582e
xor ebp, ebp
mov dword [esp + 0x10], eax
jmp 0x4757f0
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
mov edi, dword [edi + 0x14]
push esi
add edi, ebp
call fcn.00517b9f
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.0045c040
cmp word [esi], bx
je 0x475818
lea esp, [esp]
add esi, 2
cmp word [esi], bx
jne 0x475810
mov eax, dword [esp + 0x10]
add esi, 2
add ebp, 0x1c
dec eax
mov dword [esp + 0x10], eax
jne 0x4757e6
mov ebp, 7
mov eax, dword [esp + 0x18]
push eax
call fcn.00516bb0
add esp, 4
mov eax, dword [esp + 0xc8]
mov esi, 8
cmp eax, esi
jb 0x47585b
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0051647d
add esp, 4
cmp dword [esp + 0x11c], esi
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x47588a
mov edx, dword [esp + 0x108]
push edx
call fcn.0051647d
add esp, 4
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 4