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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x496e90
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 0x498938
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5096b4], 0
jne 0x496f19
mov eax, dword [0x5096d0]
mov edx, 0x498950
call fcn.00403f58
jne 0x496f19
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2e0]
mov eax, dword [ebp - 4]
call fcn.00491298
push 0x49895c
mov ecx, 0x498984
mov edx, 0x498998
mov eax, dword [ebp - 4]
call fcn.00494b88
mov eax, 0x49895c
call fcn.0045054c
mov ecx, 0x498984
mov edx, 0x49895c
mov eax, dword [ebp - 4]
call fcn.0049d90c
jmp 0x4988c3
xor eax, eax
push ebp
push 0x498880
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5096d0]
mov edx, 0x4989a4
call fcn.00403f58
jne 0x4972c6
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 0x4989b0
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov ecx, 0x498984
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 + 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 - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
call fcn.0042f9cc
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.0042f9cc
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0042f9cc
mov al, byte [0x4989c8]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x4989d4
mov eax, dword [ebp - 0x30]
call fcn.0040d120
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x30]
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, 0x4989e0
call fcn.004562b0
mov edx, dword [ebp - 0xd0]
mov eax, edi
call fcn.00404ef8
lea eax, [ebp - 8]
push eax
push 0x4989f8
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push 0x498a04
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
push 0x498a10
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0x498a24
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push 0x498a38
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
push 0x498a48
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea edx, [ebp - 0xd0]
mov eax, 0x498a64
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 0x498a78
push 0x4a3b30
push 0
call fcn.004048d0
add esp, 0x10
push esi
push edi
push 0x498a88
push 0x4a3b30
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0x14
lea eax, [ebp - 0xe0]
call fcn.00404c38
mov dword [0x5055ec], eax
mov eax, dword [0x5055ec]
mov dword [0x5096c4], eax
cmp dword [0x5055ec], 0
je 0x49725e
push 0x498aac
lea edx, [ebp - 0xe4]
mov eax, dword [0x5055ec]
call fcn.00408ef4
push dword [ebp - 0xe4]
push 0x498ac8
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00403f08
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xe0]
call fcn.00404e84
lea eax, [ebp - 0xe0]
push eax
push 0x498ad0
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 - 0xe0]
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, 0x498984
mov eax, dword [ebp - 4]
call fcn.00494b88
mov ecx, 0x498984
mov edx, dword [0x5055e8]
mov eax, dword [ebp - 4]
call fcn.0049d90c
inc dword [ebp - 0xbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4988c3
mov dword [0x5055f4], 2
push 0x498ae8
lea edx, [ebp - 0xc4]
mov eax, dword [0x5055fc]
call fcn.00408ef4
push dword [ebp - 0xc4]
push 0x498b00
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, 0x498984
mov eax, dword [ebp - 4]
call fcn.00494b88
jmp 0x49886f
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 0x4989b0
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov ecx, 0x498984
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, 0x498b1c
call fcn.00403f58
jne 0x497358
mov eax, 0x5055f8
mov edx, 0x498b2c
call fcn.00403c20
jmp 0x497367
mov eax, 0x5055f8
mov edx, 0x498b38
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 edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498b44
call fcn.00403f58
jne 0x4973ff
lea eax, [ebp - 0x14]
mov edx, 0x498b58
call fcn.00403c64
jmp 0x49751b
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498b64
call fcn.00403f58
jne 0x497437
lea eax, [ebp - 0x14]
mov edx, 0x498b78
call fcn.00403c64
jmp 0x49751b
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498b84
call fcn.00403f58
jne 0x49746f
lea eax, [ebp - 0x14]
mov edx, 0x498b94
call fcn.00403c64
jmp 0x49751b
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498ba0
call fcn.00403f58
jne 0x4974a4
lea eax, [ebp - 0x14]
mov edx, 0x498bb0
call fcn.00403c64
jmp 0x49751b
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498bbc
call fcn.00403f58
jne 0x4974d9
lea eax, [ebp - 0x14]
mov edx, 0x498bd0
call fcn.00403c64
jmp 0x49751b
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498bdc
call fcn.00403f58
jne 0x49750e
lea eax, [ebp - 0x14]
mov edx, 0x498bf0
call fcn.00403c64
jmp 0x49751b
lea eax, [ebp - 0x14]
mov edx, 0x498bfc
call fcn.00403c64
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498c08
call fcn.00403f58
jne 0x497550
lea eax, [ebp - 0x18]
mov edx, 0x498c18
call fcn.00403c64
jmp 0x49755d
lea eax, [ebp - 0x18]
mov edx, 0x498c24
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 [0x4989c8]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x4989d4
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 [0x4989c8]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x498c30
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 edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498c3c
call fcn.00403f58
jne 0x4976c6
lea eax, [ebp - 0x50]
mov edx, 0x498c54
call fcn.00403c64
jmp 0x49781a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498c60
call fcn.00403f58
jne 0x4976fe
lea eax, [ebp - 0x50]
mov edx, 0x498c78
call fcn.00403c64
jmp 0x49781a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498c84
call fcn.00403f58
jne 0x497736
lea eax, [ebp - 0x50]
mov edx, 0x498b58
call fcn.00403c64
jmp 0x49781a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498c98
call fcn.00403f58
jne 0x49776e
lea eax, [ebp - 0x50]
mov edx, 0x498b78
call fcn.00403c64
jmp 0x49781a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498cb0
call fcn.00403f58
jne 0x4977a3
lea eax, [ebp - 0x50]
mov edx, 0x498cc0
call fcn.00403c64
jmp 0x49781a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498ccc
call fcn.00403f58
jne 0x4977d8
lea eax, [ebp - 0x50]
mov edx, 0x498b94
call fcn.00403c64
jmp 0x49781a
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.0042f9cc
mov eax, dword [ebp - 0xc8]
mov edx, 0x498ce4
call fcn.00403f58
jne 0x49780d
lea eax, [ebp - 0x50]
mov edx, 0x498d04
call fcn.00403c64
jmp 0x49781a
lea eax, [ebp - 0x50]
mov edx, 0x498c54
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 [0x4989c8]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x4989d4
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 [0x4989c8]
push eax
lea eax, [ebp - 0xc4]
push eax
xor ecx, ecx
mov edx, 0x498c30
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
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
mov edx, dword [eax]
call dword [edx + 0xb8]
cmp al, 1
jne 0x497961
lea eax, [ebp - 0x84]
mov edx, 0x498c24
call fcn.00403c64
jmp 0x497971
lea eax, [ebp - 0x84]
mov edx, 0x498b2c
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, 0x4989e0
call fcn.004562b0
mov edx, dword [ebp - 0xd0]
mov eax, edi
call fcn.00404ef8
push 0x5055f8
push 0x498d08
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x4989f8
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push 0x498a04
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x498d18
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push 0x498d28
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 0x498d38
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
push 0x498a10
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push 0x498d48
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0x498a24
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push 0x498d5c
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
push 0x498d68
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push 0x498a38
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
push 0x498d74
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
push 0x498d84
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x3c]
push eax
push 0x498d94
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x40]
push eax
push 0x498da0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
push 0x498db0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
push 0x498dc0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push 0x498dcc
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
push 0x498ddc
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x54]
push eax
push 0x498dec
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x58]
push eax
push 0x498df8
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x5c]
push eax
push 0x498e08
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
push 0x498e18
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
push 0x498e28
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push 0x498e3c
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
push 0x498e50
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
push 0x498e60
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x74]
push eax
push 0x498e70
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push 0x498e80
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 0x498e90
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
push 0x498ea0
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
push 0x498a48
push edi
push 0
call fcn.004048d0
add esp, 0x10
lea eax, [ebp - 0x84]
push eax
push 0x498eb0
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 0x497f5a
mov dword [ebp - 0xc0], eax
mov ebx, 1
lea eax, [ebp - 0xe4]
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 - 0xe4]
lea edx, [ebp - 0xc4]
call fcn.00408d74
mov eax, dword [ebp - 0xc4]
call fcn.00403e48
cmp eax, 9
jl 0x497f4d
lea eax, [ebp - 0xe4]
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 - 0xe4]
lea edx, [ebp - 0xc4]
call fcn.00408d74
mov eax, dword [ebp - 0xc4]
call fcn.00403e48
cmp eax, 9
jl 0x497f4d
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 0x498ebc
push edi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0x38
lea eax, [ebp - 0xe0]
call fcn.00404c38
mov dword [0x5055ec], eax
mov eax, dword [0x5055ec]
mov dword [0x5096c4], eax
cmp dword [0x5055ec], 0
je 0x497f4d
lea edx, [ebp - 0xc4]
mov eax, dword [0x5055ec]
call fcn.00408ef4
mov ecx, dword [ebp - 0xc4]
mov eax, 0x5055e8
mov edx, 0x498ee0
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, 0x498984
mov eax, dword [ebp - 4]
call fcn.00494b88
inc dword [ebp - 0xbc]
inc ebx
dec dword [ebp - 0xc0]
jne 0x497c84
cmp dword [0x5096bc], 0
jg 0x497f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4988c3
lea edx, [ebp - 0xd0]
mov eax, 0x498a64
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 0x498a78
push 0x4a3b30
push 0
call fcn.004048d0
add esp, 0x10
push esi
push edi
push 0x498efc
push 0x4a3b30
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0x14
lea eax, [ebp - 0xe0]
call fcn.00404c38
mov dword [0x5055ec], eax
mov eax, dword [0x5055ec]
mov dword [0x5096c4], eax
cmp dword [0x5055ec], 0
je 0x4980b8
push 0x498aac
lea edx, [ebp - 0xe4]
mov eax, dword [0x5055ec]
call fcn.00408ef4
push dword [ebp - 0xe4]
push 0x498ac8
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00403f08
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xe0]
call fcn.00404e84
lea eax, [ebp - 0xe0]
push eax
push 0x498ad0
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 - 0xe0]
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, 0x498984
mov eax, dword [ebp - 4]
call fcn.00494b88
inc dword [ebp - 0xbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4988c3
mov dword [0x5055f4], 2
push 0x498f08
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
mov dword [0x5055fc], eax
cmp dword [0x5055fc], 0
jle 0x498816
mov eax, dword [ebp - 4]
call fcn.00490d0c
push 0x498f14
push esi
push 0
call fcn.004048d0
add esp, 0xc
mov eax, dword [0x5055fc]
test eax, eax
jle 0x498805
mov dword [ebp - 0xc0], eax
mov ebx, 0x505600
push 0x498f24
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
mov eax, ebx
call fcn.00403c20
push 0x498f30
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 4]
call fcn.00404d90
push 0x498f3c
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 8]
call fcn.00404d90
push 0x498f48
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0xc]
call fcn.00404d90
push 0x498f54
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x10]
call fcn.00404d90
push 0x498f60
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x14]
call fcn.00403c20
push 0x498f70
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x18]
call fcn.00403c20
push 0x498f80
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x1c]
call fcn.00403c20
push 0x498f94
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x20]
call fcn.00403c20
push 0x498f9c
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x28]
call fcn.00404d90
push 0x498fac
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
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 0x498fb8
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x30]
call fcn.00404d90
push 0x498fc4
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x2c]
call fcn.00404d90
push 0x498fd0
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x34]
call fcn.00404d90
push 0x498fdc
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x38]
call fcn.00404d90
push 0x498fe8
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x3c]
call fcn.00404d90
push 0x498ff8
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x40]
call fcn.00404d90
push 0x499008
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x44]
call fcn.00404d90
push 0x499018
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x48]
call fcn.00404d90
push 0x49902c
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x4c]
call fcn.00404d90
push 0x499040
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x50]
call fcn.00404d90
push 0x499054
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x54]
call fcn.00404d90
push 0x499064
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x58]
call fcn.00404d90
push 0x499074
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x5c]
call fcn.00404d90
push 0x499084
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x60]
call fcn.00404d90
push 0x499094
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x64]
call fcn.00404d90
push 0x4990a4
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x68]
call fcn.00404d90
push 0x4990b4
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x6c]
call fcn.00404d90
push 0x4990c8
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x70]
call fcn.00404d90
push 0x4990dc
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x74]
call fcn.00404d90
push 0x4990ec
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x78]
call fcn.00404d90
push 0x4990fc
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x7c]
call fcn.00404d90
push 0x49910c
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x84]
call fcn.00404d90
push 0x499118
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x80]
call fcn.00404d90
push 0x499124
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x88]
call fcn.00404d90
push 0x499130
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea edx, [ebp - 0xe0]
lea eax, [ebx + 0x8c]
call fcn.00404d90
push 0x49913c
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x90]
call fcn.00403c20
push 0x49914c
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x94]
call fcn.00403c20
push 0x49915c
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
call fcn.00404c38
lea edx, [ebp - 0xc4]
call fcn.00408ef4
mov edx, dword [ebp - 0xc4]
lea eax, [ebx + 0x98]
call fcn.00403c20
push 0x499170
push esi
lea eax, [ebp - 0xe0]
push eax
call fcn.004048d0
add esp, 0xc
lea eax, [ebp - 0xe0]
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, 0x498b2c
call fcn.00403f58
jne 0x4987b2
lea eax, [ebx + 0xa0]
mov edx, 0x499188
call fcn.00403c20
jmp 0x4987e3
mov eax, dword [ebx + 0x28]
mov edx, 0x498b38
call fcn.00403f58
jne 0x4987d3
lea eax, [ebx + 0xa0]
mov edx, 0x49919c
call fcn.00403c20
jmp 0x4987e3
lea eax, [ebx + 0xa0]
mov edx, 0x4991b0
call fcn.00403c20
push 0x498f14
push esi
push 0
call fcn.004048d0
add esp, 0xc
add ebx, 0xa4
dec dword [ebp - 0xc0]
jne 0x498124
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2e8]
mov eax, dword [ebp - 4]
call fcn.00490b70
push 0x498ae8
lea edx, [ebp - 0xc4]
mov eax, dword [0x5055fc]
call fcn.00408ef4
push dword [ebp - 0xc4]
push 0x498b00
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, 0x498984
mov eax, dword [ebp - 4]
call fcn.00494b88
cmp dword [0x5055fc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4988c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49893f
lea eax, [ebp - 0xf4]
call fcn.00405558
lea eax, [ebp - 0xe4]
call fcn.00403bcc
lea eax, [ebp - 0xe0]
call fcn.00405558
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