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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x494ebc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x4a3b50
mov edi, 0x4a3b40
xor eax, eax
push ebp
push 0x49662f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5096b4], 0
je 0x4965ba
xor eax, eax
push ebp
push 0x496577
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2e8]
mov eax, dword [ebp - 4]
call fcn.00491298
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2e0]
mov eax, dword [ebp - 4]
call fcn.00491298
push 0x496648
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov ecx, 0x496668
mov eax, dword [ebp - 4]
call fcn.00494b88
inc dword [ebp - 0xbc]
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x49667c
call fcn.00403f58
jne 0x494f8f
mov eax, 0x5055f8
mov edx, 0x49668c
call fcn.00403c20
jmp 0x494f9e
mov eax, 0x5055f8
mov edx, 0x496698
call fcn.00403c20
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
push eax
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.0042f9cc
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 8]
pop ecx
call fcn.00403e94
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
call fcn.0042f9cc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.0042f9cc
lea eax, [ebp - 0x14]
call fcn.00403bcc
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x4966a4
call fcn.00403f58
jne 0x49503e
lea eax, [ebp - 0x14]
mov edx, 0x4966b8
call fcn.00403c64
jmp 0x49515a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x4966c4
call fcn.00403f58
jne 0x495076
lea eax, [ebp - 0x14]
mov edx, 0x4966d8
call fcn.00403c64
jmp 0x49515a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x4966e4
call fcn.00403f58
jne 0x4950ae
lea eax, [ebp - 0x14]
mov edx, 0x4966f4
call fcn.00403c64
jmp 0x49515a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x496700
call fcn.00403f58
jne 0x4950e3
lea eax, [ebp - 0x14]
mov edx, 0x496710
call fcn.00403c64
jmp 0x49515a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x49671c
call fcn.00403f58
jne 0x495118
lea eax, [ebp - 0x14]
mov edx, 0x496730
call fcn.00403c64
jmp 0x49515a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x49673c
call fcn.00403f58
jne 0x49514d
lea eax, [ebp - 0x14]
mov edx, 0x496750
call fcn.00403c64
jmp 0x49515a
lea eax, [ebp - 0x14]
mov edx, 0x49675c
call fcn.00403c64
lea eax, [ebp - 0x18]
call fcn.00403bcc
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x496768
call fcn.00403f58
jne 0x495197
lea eax, [ebp - 0x18]
mov edx, 0x496778
call fcn.00403c64
jmp 0x4951a4
lea eax, [ebp - 0x18]
mov edx, 0x496784
call fcn.00403c64
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
call fcn.0042f9cc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
call fcn.0042f9cc
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.0042f9cc
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0042f9cc
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0042f9cc
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0042f9cc
mov al, byte [0x496788]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x496794
mov eax, dword [ebp - 0x30]
call fcn.0040d120
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x30]
call fcn.00403c64
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
call fcn.0042f9cc
mov al, byte [0x496788]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x4967a0
mov eax, dword [ebp - 0x34]
call fcn.0040d120
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x34]
call fcn.00403c64
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0042f9cc
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.0042f9cc
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.0042f9cc
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call fcn.0042f9cc
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.0042f9cc
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.0042f9cc
lea eax, [ebp - 0x50]
call fcn.00403bcc
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x4967ac
call fcn.00403f58
jne 0x495315
lea eax, [ebp - 0x50]
mov edx, 0x4967c4
call fcn.00403c64
jmp 0x495469
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x4967d0
call fcn.00403f58
jne 0x49534d
lea eax, [ebp - 0x50]
mov edx, 0x4967e8
call fcn.00403c64
jmp 0x495469
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x4967f4
call fcn.00403f58
jne 0x495385
lea eax, [ebp - 0x50]
mov edx, 0x4966b8
call fcn.00403c64
jmp 0x495469
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x496808
call fcn.00403f58
jne 0x4953bd
lea eax, [ebp - 0x50]
mov edx, 0x4966d8
call fcn.00403c64
jmp 0x495469
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x496820
call fcn.00403f58
jne 0x4953f2
lea eax, [ebp - 0x50]
mov edx, 0x496830
call fcn.00403c64
jmp 0x495469
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x49683c
call fcn.00403f58
jne 0x495427
lea eax, [ebp - 0x50]
mov edx, 0x4966f4
call fcn.00403c64
jmp 0x495469
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x496854
call fcn.00403f58
jne 0x49545c
lea eax, [ebp - 0x50]
mov edx, 0x496874
call fcn.00403c64
jmp 0x495469
lea eax, [ebp - 0x50]
mov edx, 0x4967c4
call fcn.00403c64
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
call fcn.0042f9cc
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
call fcn.0042f9cc
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.0042f9cc
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.0042f9cc
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c4]
call fcn.0042f9cc
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.0042f9cc
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.0042f9cc
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
call fcn.0042f9cc
mov al, byte [0x496788]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x496794
mov eax, dword [ebp - 0x70]
call fcn.0040d120
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x70]
call fcn.00403c64
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
call fcn.0042f9cc
mov al, byte [0x496788]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x4967a0
mov eax, dword [ebp - 0x74]
call fcn.0040d120
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x74]
call fcn.00403c64
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
call fcn.0042f9cc
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.0042f9cc
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
call fcn.0042f9cc
lea eax, [ebp - 0x84]
call fcn.00403bcc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
mov edx, dword [eax]
call dword [edx + 0xb8]
test al, al
je 0x4955bb
lea eax, [ebp - 0x84]
mov edx, 0x496784
call fcn.00403c64
jmp 0x4955cb
lea eax, [ebp - 0x84]
mov edx, 0x49668c
call fcn.00403c64
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
call fcn.0042f9cc
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
call fcn.0042f9cc
lea edx, [ebp - 0xd0]
mov eax, 0x496880
call fcn.004562b0
mov edx, dword [ebp - 0xd0]
mov eax, edi
call fcn.00404ef8
push 0x5055f8
push 0x496898
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x4968a8
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push 0x4968b4
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x4968c0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push 0x4968d0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 0x4968e0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
push 0x4968f0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push 0x496904
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0x496918
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push 0x49692c
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
push 0x496938
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push 0x496944
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
push 0x496954
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
push 0x496964
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x3c]
push eax
push 0x496974
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x40]
push eax
push 0x496980
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
push 0x496990
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
push 0x4969a0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push 0x4969ac
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
push 0x4969bc
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x54]
push eax
push 0x4969cc
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x58]
push eax
push 0x4969d8
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x5c]
push eax
push 0x4969e8
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
push 0x4969f8
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
push 0x496a08
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push 0x496a1c
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
push 0x496a30
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
push 0x496a40
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x74]
push eax
push 0x496a50
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push 0x496a60
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 0x496a70
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
push 0x496a80
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
push 0x496a90
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x84]
push eax
push 0x496aa4
push edi
push 0
call fcn.004048d0
add esp, 0x10
xor eax, eax
mov dword [0x5096bc], eax
mov eax, dword [0x5096b4]
test eax, eax
jle 0x495bb4
mov dword [ebp - 0xc0], eax
mov ebx, 1
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
xor edx, edx
call fcn.00462de8
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xc4]
call fcn.00408d74
mov eax, dword [ebp - 0xc4]
call fcn.00403e48
cmp eax, 9
jl 0x495ba7
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 1
call fcn.00462de8
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xc4]
call fcn.00408d74
mov eax, dword [ebp - 0xc4]
call fcn.00403e48
cmp eax, 9
jl 0x495ba7
inc dword [0x5096bc]
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 1
call fcn.00462de8
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 2
call fcn.00462de8
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
xor edx, edx
call fcn.00462de8
lea eax, [ebp - 0xa0]
call fcn.00403bcc
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 3
call fcn.00462de8
mov edx, dword [ebp - 0xc4]
lea ecx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
call fcn.004912e0
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 4
call fcn.00462de8
mov eax, dword [ebp - 0xc4]
call fcn.004913ac
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 5
call fcn.00462de8
mov edx, dword [ebp - 0xc4]
lea ecx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
call fcn.00491468
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 6
call fcn.00462de8
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 7
call fcn.00462de8
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 8
call fcn.00462de8
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
mov ecx, ebx
mov edx, 9
call fcn.00462de8
mov eax, dword [ebp - 0xc4]
call fcn.00408f24
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0x496ab0
push edi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0x38
lea eax, [ebp - 0xe4]
call fcn.00404c38
mov dword [0x5055ec], eax
mov eax, dword [0x5055ec]
mov dword [0x5096c4], eax
cmp dword [0x5055ec], 0
je 0x495ba7
lea edx, [ebp - 0xc4]
mov eax, dword [0x5055ec]
call fcn.00408ef4
mov ecx, dword [ebp - 0xc4]
mov eax, 0x5055e8
mov edx, 0x496ad4
call fcn.00403e94
mov eax, dword [0x5055e8]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov ecx, 0x496668
mov eax, dword [ebp - 4]
call fcn.00494b88
inc dword [ebp - 0xbc]
inc ebx
dec dword [ebp - 0xc0]
jne 0x4958de
cmp dword [0x5096bc], 0
jg 0x495bca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4965ba
lea edx, [ebp - 0xd0]
mov eax, 0x496af8
call fcn.004562b0
mov edx, dword [ebp - 0xd0]
mov eax, esi
call fcn.00404ef8
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
push eax
push 0x496b0c
push 0x4a3b30
push 0
call fcn.004048d0
add esp, 0x10
push esi
push edi
push 0x496b1c
push 0x4a3b30
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0x14
lea eax, [ebp - 0xe4]
call fcn.00404c38
mov dword [0x5055ec], eax
mov eax, dword [0x5055ec]
mov dword [0x5096c4], eax
cmp dword [0x5055ec], 0x3e97
jne 0x495ce6
lea eax, [ebp - 0xe4]
mov edx, 0x496b30
call fcn.00404e84
lea eax, [ebp - 0xe4]
push eax
push 0x496b40
push 0x4a3b30
lea eax, [ebp - 0xf4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xf4]
pop eax
call fcn.00405310
lea edx, [ebp - 0xe4]
mov eax, 0x5055e8
call fcn.00404d90
mov eax, dword [0x5055e8]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov ecx, 0x496668
mov eax, dword [ebp - 4]
call fcn.00494b88
inc dword [ebp - 0xbc]
mov dword [0x5055f4], 1
jmp 0x495da7
cmp dword [0x5055ec], 0
je 0x495da7
push 0x496b58
lea edx, [ebp - 0xd4]
mov eax, dword [0x5055ec]
call fcn.00408ef4
push dword [ebp - 0xd4]
push 0x496b6c
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00403f08
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xe4]
call fcn.00404e84
lea eax, [ebp - 0xe4]
push eax
push 0x496b40
push 0x4a3b30
lea eax, [ebp - 0xf4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xf4]
pop eax
call fcn.00405310
lea edx, [ebp - 0xe4]
mov eax, 0x5055e8
call fcn.00404d90
mov eax, dword [0x5055e8]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov ecx, 0x496668
mov eax, dword [ebp - 4]
call fcn.00494b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4965ba
push 0x496b74
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
mov dword [0x5055fc], eax
cmp dword [0x5055fc], 0
jle 0x4964fb
mov eax, dword [ebp - 4]
call fcn.00490d0c
push 0x496b80
push esi
push 0
call fcn.004048d0
add esp, 0xc
mov eax, dword [0x5055fc]
test eax, eax
jle 0x4964ea
mov dword [ebp - 0xc0], eax
mov ebx, 0x505600
push 0x496b90
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov eax, ebx
call fcn.00403c20
push 0x496b9c
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 4]
call fcn.00404d90
push 0x496ba8
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 8]
call fcn.00404d90
push 0x496bb4
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0xc]
call fcn.00404d90
push 0x496bc0
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x10]
call fcn.00404d90
push 0x496bcc
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x14]
call fcn.00403c20
push 0x496bdc
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x18]
call fcn.00403c20
push 0x496bec
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x1c]
call fcn.00403c20
push 0x496c00
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x20]
call fcn.00403c20
push 0x496c08
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x28]
call fcn.00404d90
push 0x496c18
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebp - 0xc4]
call fcn.00404d90
mov eax, dword [ebp - 0xc4]
call fcn.00408f24
mov edx, eax
lea eax, [ebx + 0x24]
call fcn.00403d70
push 0x496c24
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x30]
call fcn.00404d90
push 0x496c30
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x2c]
call fcn.00404d90
push 0x496c3c
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x34]
call fcn.00404d90
push 0x496c48
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x38]
call fcn.00404d90
push 0x496c54
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x3c]
call fcn.00404d90
push 0x496c64
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x40]
call fcn.00404d90
push 0x496c74
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x44]
call fcn.00404d90
push 0x496c84
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x48]
call fcn.00404d90
push 0x496c98
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x4c]
call fcn.00404d90
push 0x496cac
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x50]
call fcn.00404d90
push 0x496cc0
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x54]
call fcn.00404d90
push 0x496cd0
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x58]
call fcn.00404d90
push 0x496ce0
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x5c]
call fcn.00404d90
push 0x496cf0
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x60]
call fcn.00404d90
push 0x496d00
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x64]
call fcn.00404d90
push 0x496d10
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x68]
call fcn.00404d90
push 0x496d20
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x6c]
call fcn.00404d90
push 0x496d34
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x70]
call fcn.00404d90
push 0x496d48
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x74]
call fcn.00404d90
push 0x496d58
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x78]
call fcn.00404d90
push 0x496d68
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x7c]
call fcn.00404d90
push 0x496d78
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x84]
call fcn.00404d90
push 0x496d84
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x80]
call fcn.00404d90
push 0x496d90
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x88]
call fcn.00404d90
push 0x496d9c
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe4]
lea eax, [ebx + 0x8c]
call fcn.00404d90
push 0x496da8
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x90]
call fcn.00403c20
push 0x496db8
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x94]
call fcn.00403c20
push 0x496dc8
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x98]
call fcn.00403c20
push 0x496ddc
push esi
lea eax, [ebp - 0xe4]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe4]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x9c]
call fcn.00403c20
mov eax, dword [ebx + 0x28]
mov edx, 0x49668c
call fcn.00403f58
jne 0x496497
lea eax, [ebx + 0xa0]
mov edx, 0x496df4
call fcn.00403c20
jmp 0x4964c8
mov eax, dword [ebx + 0x28]
mov edx, 0x496e08
call fcn.00403f58
jne 0x4964b8
lea eax, [ebx + 0xa0]
mov edx, 0x496e14
call fcn.00403c20
jmp 0x4964c8
lea eax, [ebx + 0xa0]
mov edx, 0x496e28
call fcn.00403c20
push 0x496b80
push esi
push 0
call fcn.004048d0
add esp, 0xc
add ebx, 0xa4
dec dword [ebp - 0xc0]
jne 0x495e09
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2e8]
mov eax, dword [ebp - 4]
call fcn.00490b70
mov eax, dword [0x4a41e8]
mov edx, 0x496e3c
call fcn.00403f58
jne 0x496514
mov eax, dword [ebp - 4]
call fcn.0049db90
push 0x496e48
lea edx, [ebp - 0xc4]
mov eax, dword [0x5055fc]
call fcn.00408ef4
push dword [ebp - 0xc4]
push 0x496e60
mov eax, 0x5055e8
mov edx, 3
call fcn.00403f08
mov eax, dword [0x5055e8]
push eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov ecx, 0x496668
mov eax, dword [ebp - 4]
call fcn.00494b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4965ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496636
lea eax, [ebp - 0xf4]
mov edx, dword [0x4010ec]
mov ecx, 2
call fcn.0040447c
lea eax, [ebp - 0xd4]
call fcn.00403bcc
lea eax, [ebp - 0xd0]
call fcn.00406274
lea eax, [ebp - 0xcc]
mov edx, 2
call fcn.00403bf0
lea eax, [ebp - 0xc4]
call fcn.00403bcc
lea eax, [ebp - 0xb4]
mov edx, 9
call fcn.00403bf0
lea eax, [ebp - 0x8c]
mov edx, 0x22
call fcn.00403bf0
ret