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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481113
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4a6554]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x4a6554]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0x120], 1
mov byte [esp + 0x121], bl
mov dword [esp + 0x138], ebx
and dword [esp + 0x1c], 0xfffffe00
mov dword [esp + 0x20], ebx
mov byte [esp + 0x138], 2
cmp dword [eax + 0x18], 8
jb 0x473068
mov eax, dword [eax + 4]
jmp 0x47306b
add eax, 4
push eax
lea edi, [esp + 0x5c]
call fcn.0046bb50
add esp, 4
mov byte [esp + 0x138], 3
mov eax, dword [esp + 0x5c]
mov edi, 0x10
cmp dword [esp + 0x70], edi
jae 0x473093
lea eax, [esp + 0x5c]
cmp byte [eax], 0x3f
jne 0x4730a8
mov ebx, 1
lea eax, [esp + 0x58]
call fcn.004012d0
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00402e60
cmp dword [esp + 0xec], edi
mov eax, dword [esp + 0xd8]
jae 0x4730d3
lea eax, [esp + 0xd8]
mov edx, dword [esp + 0xe8]
lea ecx, [edx + eax]
lea edx, [esp + 0x14]
push edx
push ecx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.0046b410
test al, al
jne 0x473137
cmp dword [esp + 0x70], edi
jb 0x473108
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00446c0b
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x138], bl
call fcn.0046d0d0
lea edi, [esp + 0xac]
call fcn.00401010
xor al, al
jmp 0x473448
mov al, byte [esp + 0x1c]
cmp al, bl
jne 0x473181
cmp dword [esp + 0x70], edi
jb 0x473152
mov edx, dword [esp + 0x5c]
push edx
call fcn.00446c0b
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x138], bl
call fcn.0046d0d0
lea edi, [esp + 0xac]
call fcn.00401010
xor al, al
jmp 0x473448
cmp al, 7
je 0x4731c7
cmp dword [esp + 0x70], edi
jb 0x473198
mov eax, dword [esp + 0x5c]
push eax
call fcn.00446c0b
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x138], bl
call fcn.0046d0d0
lea edi, [esp + 0xac]
call fcn.00401010
xor al, al
jmp 0x473448
lea eax, [esp + 0x4c]
lea edx, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.0046c3b0
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
jmp 0x4731f0
movsx eax, byte [esp + 0x1c]
add eax, 0xfffffffa
cmp eax, 1
ja 0x4733fd
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4733fd
cmp eax, ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
je 0x47321c
cmp eax, edi
je 0x473221
call fcn.0044782d
cmp dword [esp + 0x50], esi
sete al
cmp al, bl
jne 0x473406
cmp edi, ebx
jne 0x473239
call fcn.0044782d
cmp esi, dword [edi + 4]
jne 0x473243
call fcn.0044782d
lea eax, [esi + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.0046d2c0
mov byte [esp + 0x138], 4
cmp esi, dword [edi + 4]
jne 0x473262
call fcn.0044782d
mov esi, dword [esi + 0x10]
cmp esi, ebx
jne 0x47326e
mov esi, 0x48e967
mov eax, esi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x473290
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.004033f0
push 0x48f7fc
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x140], 5
call fcn.0046d4a0
lea esi, [esp + 0x90]
mov ecx, eax
call fcn.0046caa0
push 6
mov byte [esp + 0x13c], 6
mov eax, dword [esp + 0xa8]
push 0x48f804
push eax
push ebx
mov ecx, esi
call fcn.00402ad0
test eax, eax
mov edi, 0xf
jne 0x47337b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x98]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00402e60
mov eax, dword [esp + 0x44]
push eax
call fcn.00472a30
mov esi, eax
cmp esi, ebx
jne 0x473357
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xa0]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00402e60
call fcn.0046f9d0
add esp, 0x24
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
test al, al
je 0x47337b
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0xc0]
push eax
call fcn.00401150
mov dword [eax], esi
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jb 0x473399
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00446c0b
add esp, 4
cmp dword [esp + 0x8c], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x4733c4
mov edx, dword [esp + 0x78]
push edx
call fcn.00446c0b
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x138], 3
call fcn.0046d0d0
lea esi, [esp + 0x2c]
call fcn.00409ce0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x4731f0
mov al, byte [esp + 0x34]
jmp 0x473228
cmp dword [esp + 0x70], 0x10
jb 0x47341a
mov eax, dword [esp + 0x5c]
push eax
call fcn.00446c0b
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x138], bl
call fcn.0046d0d0
lea edi, [esp + 0xac]
call fcn.00401010
mov al, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00447fc5
mov esp, ebp
pop ebp
ret 8