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

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xcc]
cmp eax, dword [ecx + 8]
jbe 0x473e89
sub esp, 0x14c
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov eax, dword [esp + 0x154]
test eax, eax
je 0x47374d
mov ecx, dword [esp + 0x164]
test ecx, ecx
jne 0x4733cd
lea ecx, [0x555180]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4733da
lea edx, [0x5551c0]
mov ebx, dword [ecx + 0x18]
cmp ebx, 3
jg 0x473711
jl 0x4736d5
mov dword [esp + 0xec], ecx
mov dword [esp + 0xd0], edx
mov ebx, dword [ecx + 4]
test ebx, ebx
jne 0x47340a
mov ebx, dword [esp + 0x150]
jmp 0x47343f
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x150]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00472ea0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47369d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00474360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
test edx, edx
jne 0x47367b
mov dword [esp + 0xe0], ebx
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47348b
mov edx, dword [eax + 4]
jmp 0x4734c6
mov eax, dword [esp + 0x158]
mov dword [esp], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 8], eax
call fcn.00472840
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xd0]
mov ebx, dword [esp + 0xe0]
test ecx, ecx
jne 0x4734ce
xor ecx, ecx
jmp 0x473510
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00474360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
test edx, edx
jne 0x473659
mov eax, dword [esp + 0xd0]
mov ecx, ebx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 0xdc], ecx
mov edx, dword [esp + 0xec]
mov ebp, dword [edx + 4]
test ebp, ebp
jne 0x473529
xor ebp, ebp
jmp 0x47355f
mov eax, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00474360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
test edx, edx
jne 0x473637
mov ebp, ebx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.004772e0
mov eax, dword [esp + 0x44]
cmp eax, 6
jae 0x4735aa
mov eax, 1
jmp 0x4735b8
jne 0x4735b6
cmp dword [esp + 0x40], 1
setbe al
jmp 0x4735b8
xor eax, eax
mov dword [esp + 0x70], 0
mov byte [esp + 0x74], 0
lea ecx, [0x473f90]
mov dword [esp + 0x70], ecx
mov byte [esp + 0x74], al
call fcn.00476520
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp]
mov dword [esp + 0x3c], edx
test ecx, ecx
jne 0x4735ef
mov ecx, edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0xec]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x54], edx
lea ebx, [0x4c2b80]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00450b40
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x64], edx
xor ebx, ebx
jmp 0x47378a
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea eax, [0x4e44bc]
mov dword [esp + 0x170], eax
lea eax, [0x4e41a8]
mov dword [esp + 0x174], eax
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea eax, [0x4e44bc]
mov dword [esp + 0x170], eax
lea eax, [0x4e41ac]
mov dword [esp + 0x174], eax
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea eax, [0x4e44bc]
mov dword [esp + 0x170], eax
lea eax, [0x4e41ac]
mov dword [esp + 0x174], eax
call fcn.0043b140
add esp, 0x14c
ret
inc ebx
cmp ebx, edx
jge 0x4738d6
mov ebp, dword [ecx + 0x14]
mov ebp, dword [ebp + ebx*4]
test ebp, ebp
jbe 0x473789
mov dword [esp + 0x50], ebx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x4737f7
mov eax, dword [esp + 0x70]
mov dword [esp], ebp
lea edx, [esp + 0x70]
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x4737dd
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov esi, edi
jmp 0x4737f7
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edx, dword [ecx + 0x14]
mov edx, dword [edx + ebx*4]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], esi
lea edx, [eax + ebx*4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], 2
call fcn.004760a0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x47389e
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x60], edx
lea ebx, [0x4c70c0]
mov dword [esp], ebx
call fcn.0040d8c0
mov eax, dword [esp + 4]
lea ecx, [0x473f20]
mov dword [eax], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [eax + 8], ebx
mov dword [esp], eax
call fcn.0043ab60
test eax, eax
jne 0x473892
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x50]
jmp 0x473789
call fcn.0043b140
add esp, 0x14c
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
call fcn.0043b140
add esp, 0x14c
ret
lea edi, [esp + 0x104]
xor eax, eax
call fcn.00469d9e
mov dword [esp], 2
call fcn.00475130
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x170], edx
mov dword [esp + 0x174], ebx
test ebp, ebp
jne 0x473af2
mov eax, dword [esp + 0x148]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
lea ecx, [0x473ee0]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.0043ac40
test eax, eax
jne 0x473ae6
mov dword [esp + 0x104], 0x48
mov dword [esp + 0x130], 0x100
mov eax, dword [esp + 0xd0]
movzx ecx, byte [eax]
test cl, cl
je 0x4739ac
mov dword [esp + 0x130], 0x101
mov word [esp + 0x134], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x473a1a
lea ecx, [eax + 0x2c]
mov edx, dword [esp + 0x148]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20000
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00476fd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
test edx, edx
jne 0x473ac4
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx]
mov dword [esp + 0x13c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x140], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x144], edx
mov edx, dword [eax + 0x24]
mov ebx, dword [esp + 0x54]
lea ebp, [ebx + edx]
mov esi, dword [eax + 0x20]
cmp ebx, ebp
jb 0x473a53
mov edi, ebx
jmp 0x473a9b
mov dword [esp + 0xe4], esi
mov dword [esp + 0x64], edx
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
lea eax, [0x4c2b80]
mov dword [esp + 0x10], eax
call fcn.00450be0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0xe4]
mov edi, dword [esp + 0x54]
mov ecx, eax
mov ebx, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x58], ebx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x54], ebp
lea eax, [ecx + edi*4]
mov dword [esp], eax
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0046a4a0
xor eax, eax
jmp 0x473b15
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
inc eax
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jge 0x473b62
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [ebx + eax*4]
mov dword [esp], ebp
lea edx, [esp + 0x70]
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x473b55
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xd4]
mov dword [ecx + eax*4], 0
jmp 0x473b14
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xd4]
jmp 0x473b14
mov eax, dword [esp + 0xd4]
xor edx, edx
xor ebx, ebx
jmp 0x473b70
inc edx
cmp edx, ecx
jge 0x473b81
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x473b6f
mov dword [eax + ebx*4], ebp
inc ebx
jmp 0x473b6f
test ebx, ebx
je 0x473b95
mov ecx, dword [esp + 0xd0]
movzx edx, byte [ecx + 0x1c]
xor edx, 1
jmp 0x473b9e
mov ecx, dword [esp + 0xd0]
xor edx, edx
mov byte [esp + 0x37], dl
mov dword [esp + 0x48], ebx
test dl, dl
je 0x473c06
mov ecx, dword [esp + 0x148]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20002
mov dword [esp + 0xc], eax
shl ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00476fd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
test edx, edx
jne 0x473e67
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00472930
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
test edx, edx
jne 0x473e45
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
or ecx, 0x80400
test edx, edx
je 0x473cfc
mov ebp, dword [eax + 0x14]
mov esi, dword [eax + 0x18]
mov dword [esp], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
movzx edx, byte [esp + 0x37]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x104]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], ecx
call fcn.004757d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
jmp 0x473d69
mov edx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov esi, dword [esp + 0xe0]
mov dword [esp], esi
mov esi, dword [esp + 0xdc]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
movzx edx, byte [esp + 0x37]
mov byte [esp + 0x10], dl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x104]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], ecx
call fcn.00475ef0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ecx
mov eax, dword [esp + 0x170]
test eax, eax
jne 0x473e23
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x473ea0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.0043ac40
test eax, eax
jne 0x473e17
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
call fcn.0043b140
add esp, 0x14c
ret
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
call fcn.0043b140
add esp, 0x14c
ret
call fcn.004688b0
jmp fcn.00473360