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

Disassembly:
push 0xffffffffffffffff
push 0x4f1571
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
call fcn.00453d60
lea ecx, [esp + 0x40]
mov dword [esp + 0xe0], 1
call fcn.0046fe10
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe0], 2
call fcn.0046ec80
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 3
call fcn.0046ec80
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], 4
call fcn.0046ec80
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 5
call fcn.00453d60
mov al, byte [esp + 0x27]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov cl, byte [esp + 0x27]
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x9c], cl
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov edi, dword [esp + 0xec]
mov byte [esp + 0xe0], 8
mov ecx, edi
call fcn.00474d70
mov ebp, eax
xor esi, esi
cmp bp, bx
jle 0x494780
lea edx, [esp + 0x34]
push esi
push edx
mov ecx, edi
call fcn.00474cc0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xe4], 9
call fcn.00453d70
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 0xb
call fcn.00453ea0
lea eax, [esp + 0xac]
push esi
push eax
mov ecx, edi
call fcn.00474cc0
movsx ecx, word [eax + 4]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xac]
call fcn.00453ea0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00408340
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 8
call fcn.00453ea0
inc esi
cmp si, bp
jl 0x494700
push ebx
lea ecx, [esp + 0x14]
call fcn.00403fc0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00453d70
lea ecx, [esp + 0x2c]
call fcn.00454080
lea ecx, [esp + 0x28]
mov ebp, 1
push ecx
lea ecx, [esp + 0x44]
mov word [esp + 0x30], bp
call fcn.00474b10
call fcn.00469a70
test al, al
jne 0x4947cd
mov ecx, dword [0x5130ac]
push ebp
call fcn.0046e9e0
sub esp, 0x24
lea eax, [esp + 0x64]
mov edx, esp
mov dword [esp + 0x44], esp
push ebx
push eax
push edx
mov ecx, 0x512a78
call fcn.0045e380
lea ecx, [esp + 0x78]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x494805
mov ecx, dword [0x5130ac]
push ebx
call fcn.0046e9e0
call fcn.00469a70
test al, al
jne 0x494879
sub esp, 0x24
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], esp
mov esi, esp
push ecx
mov ecx, esi
mov dword [esp + 0x5c], esi
call fcn.004080f0
add esi, 0x10
lea edx, [esp + 0x88]
push edx
mov ecx, esi
mov byte [esp + 0x108], 0xc
call fcn.00408160
mov al, byte [esp + 0x98]
mov byte [esi + 0x10], al
sub esp, 0x10
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x118], 0xd
call fcn.00408160
mov ecx, dword [0x5130ac]
mov byte [esp + 0x114], 8
call fcn.0046e330
lea ecx, [esp + 0x54]
call fcn.0046f260
cmp ax, bx
jg 0x49497c
mov edi, dword [esp + 0xe8]
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.004080f0
lea ecx, [esp + 0x88]
lea esi, [edi + 0x10]
push ecx
mov ecx, esi
mov byte [esp + 0xe4], 0xe
call fcn.00408160
mov dl, byte [esp + 0x98]
mov dword [esp + 0x30], ebp
mov byte [esi + 0x10], dl
push ebx
call fcn.004db420
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add esp, 4
cmp esi, eax
mov byte [esp + 0xe0], 6
mov ebp, eax
je 0x4948f8
push ebx
mov ecx, esi
call fcn.00404540
add esi, 4
cmp esi, ebp
jne 0x4948e5
mov esi, dword [esp + 0x14]
push esi
call fcn.004db420
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xe0], 5
call fcn.00453ea0
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], 4
call fcn.0046ed80
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 3
call fcn.0046ed80
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe0], 2
call fcn.0046ed80
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 1
call fcn.00474760
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], bl
call fcn.00453ea0
mov eax, edi
jmp 0x494e75
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x494ac2
mov eax, dword [esp + 0x18]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 2
jbe 0x494ac2
mov edi, ebp
cmp ecx, ebx
jne 0x4949a6
xor eax, eax
jmp 0x4949ab
sub eax, ecx
sar eax, 2
movsx esi, di
dec eax
cmp esi, eax
jae 0x494ac2
call fcn.00469a70
test al, al
jne 0x4949cc
mov ecx, dword [0x5130ac]
push ebp
call fcn.0046e9e0
lea ecx, [esp + 0x40]
call fcn.00474d20
push esi
lea ecx, [esp + 0x14]
call fcn.00403fc0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00453d70
lea ecx, [esp + 0x2c]
call fcn.00454080
lea eax, [esp + 0x28]
lea ecx, [esp + 0x40]
push eax
mov word [esp + 0x30], bp
call fcn.00474b10
sub esp, 0x24
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x58], esp
push ebx
push edx
push ecx
mov ecx, 0x512a78
call fcn.0045e380
lea ecx, [esp + 0x78]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x494a40
mov ecx, dword [0x5130ac]
push ebx
call fcn.0046e9e0
call fcn.00469a70
test al, al
jne 0x494ab4
sub esp, 0x24
lea eax, [esp + 0x78]
mov esi, esp
mov dword [esp + 0x58], esp
push eax
mov ecx, esi
mov dword [esp + 0x48], esi
call fcn.004080f0
lea ecx, [esp + 0x88]
add esi, 0x10
push ecx
mov ecx, esi
mov byte [esp + 0x108], 0xf
call fcn.00408160
mov dl, byte [esp + 0x98]
mov byte [esi + 0x10], dl
sub esp, 0x10
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x118], 0x10
call fcn.00408160
mov ecx, dword [0x5130ac]
mov byte [esp + 0x114], 8
call fcn.0046e330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc edi
jmp 0x49499e
lea ecx, [esp + 0x40]
call fcn.00474d20
lea ecx, [esp + 0x10]
call fcn.00403ff0
dec eax
lea ecx, [esp + 0x10]
push eax
call fcn.00403fc0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00453d70
lea ecx, [esp + 0x2c]
call fcn.00454080
mov cx, word [esp + 0x50]
lea edx, [esp + 0x28]
mov word [esp + 0x2c], cx
push edx
lea ecx, [esp + 0x44]
call fcn.00474b10
call fcn.00469a70
test al, al
jne 0x494b22
mov ecx, dword [0x5130ac]
push ebp
call fcn.0046e9e0
sub esp, 0x24
lea ecx, [esp + 0x64]
mov eax, esp
mov dword [esp + 0x58], esp
push ebx
push ecx
push eax
mov ecx, 0x512a78
call fcn.0045e380
lea ecx, [esp + 0x78]
call fcn.0046ee30
call fcn.00469a70
test al, al
jne 0x494b5a
mov ecx, dword [0x5130ac]
push ebx
call fcn.0046e9e0
call fcn.00469a70
test al, al
jne 0x494bfc
mov dl, byte [esp + 0x54]
sub esp, 0x24
mov esi, esp
lea ecx, [esp + 0x78]
mov dword [esp + 0x58], esp
mov dword [esp + 0x74], esi
mov byte [esi], dl
call fcn.00481290
cmp eax, ebx
jge 0x494b89
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x84]
push eax
push ecx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x88]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x108], 0x11
call fcn.00405d60
sub esp, 0x10
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
mov byte [esp + 0x118], 0x12
call fcn.00408160
mov ecx, dword [0x5130ac]
mov byte [esp + 0x114], 8
call fcn.0046e330
lea ecx, [esp + 0x54]
call fcn.0046f260
cmp ax, bx
jg 0x494caa
mov esi, dword [esp + 0xe8]
mov cl, byte [esp + 0x78]
mov byte [esi], cl
lea ecx, [esp + 0x78]
call fcn.00481290
cmp eax, ebx
jge 0x494c2a
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov edx, dword [esp + 0x84]
add esp, 4
mov dword [esi + 4], eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x80]
push edx
push eax
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xe0], 0x13
push ecx
lea ecx, [esi + 0x10]
call fcn.00405d60
push ebx
mov dword [esp + 0x34], ebp
call fcn.004db420
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esp, 4
cmp edi, eax
mov byte [esp + 0xe0], 6
mov ebp, eax
je 0x494df6
push ebx
mov ecx, edi
call fcn.00404540
add edi, 4
cmp edi, ebp
jne 0x494c96
jmp 0x494df2
push ebx
lea ecx, [esp + 0x58]
call fcn.0046f250
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x494ccc
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp ax, bx
jg 0x494d68
mov esi, dword [esp + 0xe8]
mov dl, byte [esp + 0x78]
lea ecx, [esp + 0x78]
mov byte [esi], dl
call fcn.00481290
cmp eax, ebx
jge 0x494ce8
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov ecx, dword [esp + 0x80]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x84]
push eax
push ecx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x88]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0xe4], 0x14
call fcn.00405d60
push ebx
mov dword [esp + 0x34], ebp
call fcn.004db420
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esp, 4
cmp edi, eax
mov byte [esp + 0xe0], 6
mov ebp, eax
je 0x494df6
push ebx
mov ecx, edi
call fcn.00404540
add edi, 4
cmp edi, ebp
jne 0x494d54
jmp 0x494df2
mov esi, dword [esp + 0xe8]
mov al, byte [esp + 0x54]
lea ecx, [esp + 0x54]
mov byte [esi], al
call fcn.00481290
cmp eax, ebx
jge 0x494d84
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 4
mov dword [esi + 4], eax
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408220
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esp + 0x64]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0xe4], 0x15
call fcn.00405d60
push ebx
mov dword [esp + 0x34], ebp
call fcn.004db420
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esp, 4
cmp edi, eax
mov byte [esp + 0xe0], 6
mov ebp, eax
je 0x494df6
push ebx
mov ecx, edi
call fcn.00404540
add edi, 4
cmp edi, ebp
jne 0x494de3
mov edi, dword [esp + 0x14]
push edi
call fcn.004db420
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xe0], 5
call fcn.00453ea0
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], 4
call fcn.0046ed80
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 3
call fcn.0046ed80
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe0], 2
call fcn.0046ed80
lea ecx, [esp + 0x40]
mov byte [esp + 0xe0], 1
call fcn.00474760
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], bl
call fcn.00453ea0
mov eax, esi
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd4
ret 8