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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x5bf188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp + 0x3c], edi
call fcn.004c3bc0
mov dword [ebp - 4], 0
xor eax, eax
xor ebx, ebx
mov dword [ebp], 0
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xe0]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x4c9a45
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9a7f
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9a75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9bb
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [edi + 0xd8]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0x54]
cmp eax, esi
je 0x4c9ad4
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x50], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9b0e
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9b04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9c0
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [edi + 0xc4]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0xcc]
cmp eax, esi
je 0x4c9b78
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc0], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xcc], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc8], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9bb2
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9ba8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9c5
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [edi + 0xdc]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0x3c]
cmp eax, esi
je 0x4c9c07
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x38], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9c41
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9c37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9ca
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [edi + 0xc8]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0xb4]
cmp eax, esi
je 0x4c9cab
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0xac], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xb4], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0xb0], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9ce5
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9cdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9cf
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [edi + 0xcc]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0x9c]
cmp eax, esi
je 0x4c9d4f
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0x9c], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x98], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9d89
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9d7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9d4
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [edi + 0xd0]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0x84]
cmp eax, esi
je 0x4c9de4
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x70], eax
xor eax, eax
mov dword [ebp - 0x84], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x80], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9e1e
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9e14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9d9
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [edi + 0xd4]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp - 0x6c]
cmp eax, esi
je 0x4c9e73
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x6c], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x68], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9ead
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9ea3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9de
push ecx
push edx
call fcn.00583877
add esp, 8
push 1
push 0x5e77d4
lea ecx, [ebp - 0xe4]
call fcn.004496e0
mov ecx, dword [edi + 0xc0]
lea eax, [ebp + 0x40]
push eax
call fcn.005403c0
mov esi, eax
lea eax, [ebp]
cmp eax, esi
je 0x4c9f1b
mov ecx, eax
call fcn.00449550
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [esi + 0x10]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov esi, ecx
mov dword [ebp + 0x5c], ecx
mov dword [ebp], ecx
mov dword [ebp + 0x10], ebx
jmp 0x4c9f21
mov esi, dword [ebp]
mov dword [ebp + 0x5c], esi
mov ecx, dword [ebp + 0x54]
cmp ecx, 8
jb 0x4c9f5b
mov edx, dword [ebp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c9f51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca9e3
push ecx
push edx
call fcn.00583877
add esp, 8
mov eax, dword [0x6c5574]
test eax, eax
jne 0x4ca1d8
mov eax, dword [edi + 0x110]
mov ecx, dword [eax + 0x2834]
mov eax, dword [eax + 0x2838]
sub eax, ecx
mov dword [ebp + 0x60], ecx
sar eax, 2
imul ebx, eax, 0xeeeeeeef
test ebx, ebx
jne 0x4ca047
push 1
push 0x5dde3c
lea ecx, [ebp + 0x18]
call fcn.004496e0
mov esi, dword [ebp + 0x34]
lea eax, [ebp - 0xe4]
push eax
cmp esi, dword [ebp + 0x38]
je 0x4c9fc0
mov ecx, esi
call fcn.004cc260
add esi, 0xd8
mov dword [ebp + 0x34], esi
jmp 0x4c9fc9
push esi
lea ecx, [ebp + 0x30]
call fcn.004cbc70
mov esi, dword [edi + 0x110]
lea ecx, [ebp]
push ecx
mov eax, dword [esi + 0x2838]
cmp eax, dword [esi + 0x283c]
je 0x4c9ff4
mov edx, eax
call fcn.004cbec0
add esp, 4
add dword [esi + 0x2838], 0x3c
jmp 0x4ca000
push eax
lea ecx, [esi + 0x2834]
call fcn.004cb870
mov eax, dword [edi + 0x110]
mov ecx, dword [eax + 0x2838]
sub ecx, dword [eax + 0x2834]
sar ecx, 2
imul eax, ecx, 0xeeeeeeef
dec eax
mov dword [0x6c5588], eax
mov eax, dword [edi + 0x110]
mov eax, dword [eax + 0x2838]
mov ecx, dword [eax - 8]
sub ecx, dword [eax - 0xc]
sar ecx, 3
imul eax, ecx, 0x684bda13
dec eax
mov dword [0x6c5584], eax
jmp 0x4ca8fd
xor esi, esi
mov dword [ebp + 0x64], 0
mov byte [ebp + 0x6b], 0
test ebx, ebx
je 0x4ca151
mov edi, dword [ebp + 0x5c]
nop
mov eax, esi
lea edx, [ebp]
shl eax, 4
sub eax, esi
cmp dword [ebp + 0x14], 8
cmovae edx, edi
cmp dword [ecx + eax*4 + 0x14], 8
lea ecx, [ecx + eax*4]
mov eax, dword [ecx + 0x10]
jb 0x4ca080
mov ecx, dword [ecx]
cmp eax, dword [ebp + 0x10]
jne 0x4ca0a0
push eax
call fcn.00450520
add esp, 4
test eax, eax
jne 0x4ca0a0
mov edx, esi
mov al, 1
mov byte [ebp + 0x6b], al
mov esi, ebx
mov dword [ebp + 0x64], edx
jmp 0x4ca0a6
mov al, byte [ebp + 0x6b]
mov edx, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x60]
inc esi
cmp esi, ebx
jb 0x4ca060
mov edi, dword [ebp + 0x3c]
test al, al
je 0x4ca151
mov dword [0x6c5588], edx
mov ecx, edx
mov eax, dword [edi + 0x110]
shl ecx, 4
sub ecx, edx
mov eax, dword [eax + 0x2834]
lea esi, [eax + ecx*4]
mov eax, dword [esi + 0x34]
lea ecx, [ebp - 0xe4]
push ecx
cmp eax, dword [esi + 0x38]
je 0x4ca0f4
mov ecx, eax
call fcn.004cc260
add dword [esi + 0x34], 0xd8
jmp 0x4ca0fd
push eax
lea ecx, [esi + 0x30]
call fcn.004cbc70
mov edx, dword [0x6c5588]
mov eax, dword [edi + 0x110]
shl edx, 4
sub edx, dword [0x6c5588]
shl edx, 2
mov eax, dword [eax + 0x2834]
push 1
push 0x5dde3c
mov ecx, dword [eax + edx + 0x34]
sub ecx, dword [eax + edx + 0x30]
sar ecx, 3
imul eax, ecx, 0x684bda13
dec eax
mov dword [0x6c5584], eax
mov eax, dword [edi + 0x110]
mov ecx, dword [eax + 0x2834]
add ecx, 0x18
add ecx, edx
call fcn.004496e0
jmp 0x4ca1c1
push 1
push 0x5dde3c
lea ecx, [ebp + 0x18]
call fcn.004496e0
mov esi, dword [ebp + 0x34]
lea eax, [ebp - 0xe4]
push eax
cmp esi, dword [ebp + 0x38]
je 0x4ca181
mov ecx, esi
call fcn.004cc260
add esi, 0xd8
mov dword [ebp + 0x34], esi
jmp 0x4ca18a
push esi
lea ecx, [ebp + 0x30]
call fcn.004cbc70
mov esi, dword [edi + 0x110]
lea ecx, [ebp]
push ecx
mov eax, dword [esi + 0x2838]
cmp eax, dword [esi + 0x283c]
je 0x4ca1b5
mov edx, eax
call fcn.004cbec0
add esp, 4
add dword [esi + 0x2838], 0x3c
jmp 0x4ca1c1
push eax
lea ecx, [esi + 0x2834]
call fcn.004cb870
mov ecx, dword [edi + 0x110]
mov byte [0x6c5580], 0
call fcn.004c6f40
jmp 0x4ca8fd
cmp eax, 1
jne 0x4ca761
cmp byte [0x6c5553], 0
mov edx, dword [edi + 0x110]
je 0x4ca226
mov ecx, dword [0x6c5588]
mov eax, dword [edx + 0x2834]
shl ecx, 4
sub ecx, dword [0x6c5588]
lea ecx, [eax + ecx*4]
lea eax, [ebp]
cmp ecx, eax
je 0x4ca927
cmp dword [ebp + 0x14], 8
push ebx
cmovae eax, esi
push eax
call fcn.004496e0
jmp 0x4ca927
mov eax, dword [0x6c5588]
mov ecx, dword [edx + 0x2834]
shl eax, 4
sub eax, dword [0x6c5588]
cmp dword [ebp + 0x14], 8
lea eax, [ecx + eax*4]
mov esi, dword [eax + 0x10]
mov dword [ebp + 0x60], ecx
lea ecx, [ebp]
cmovae ecx, dword [ebp + 0x5c]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0xe8], esi
mov esi, dword [0x6c5588]
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x64], eax
jb 0x4ca26b
mov eax, dword [eax]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp - 0xe8]
cmp eax, ebx
jne 0x4ca536
mov edx, ecx
mov ecx, dword [ebp + 0x64]
push eax
call fcn.00450520
add esp, 4
test eax, eax
jne 0x4ca530
mov eax, dword [ebp + 0x58]
mov ebx, dword [0x6c5584]
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x30]
add eax, 0x18
add ecx, eax
lea eax, [ebp - 0xcc]
cmp ecx, eax
je 0x4ca2d6
cmp dword [ebp - 0xb8], 8
push dword [ebp - 0xbc]
cmovae eax, dword [ebp - 0xcc]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov edx, esi
shl edx, 4
sub edx, esi
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x2834]
mov eax, dword [eax + edx*4 + 0x30]
add eax, 0x30
add ecx, eax
lea eax, [ebp - 0xb4]
cmp ecx, eax
je 0x4ca328
cmp dword [ebp - 0xa0], 8
push dword [ebp - 0xa4]
cmovae eax, dword [ebp - 0xb4]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov edx, esi
shl edx, 4
sub edx, esi
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x2834]
mov eax, dword [eax + edx*4 + 0x30]
add eax, 0x48
add ecx, eax
lea eax, [ebp - 0x9c]
cmp ecx, eax
je 0x4ca37a
cmp dword [ebp - 0x88], 8
push dword [ebp - 0x8c]
cmovae eax, dword [ebp - 0x9c]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov edx, esi
shl edx, 4
sub edx, esi
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x2834]
mov eax, dword [eax + edx*4 + 0x30]
add eax, 0x60
add ecx, eax
lea eax, [ebp - 0x84]
cmp ecx, eax
je 0x4ca3c6
cmp dword [ebp - 0x70], 8
push dword [ebp - 0x74]
cmovae eax, dword [ebp - 0x84]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov edx, esi
shl edx, 4
sub edx, esi
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x2834]
mov eax, dword [eax + edx*4 + 0x30]
add eax, 0x78
add ecx, eax
lea eax, [ebp - 0x6c]
cmp ecx, eax
je 0x4ca40c
cmp dword [ebp - 0x58], 8
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov edx, esi
shl edx, 4
sub edx, esi
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x2834]
mov eax, dword [eax + edx*4 + 0x30]
add eax, 0x90
add ecx, eax
lea eax, [ebp - 0x54]
cmp ecx, eax
je 0x4ca454
cmp dword [ebp - 0x40], 8
push dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov edx, esi
shl edx, 4
sub edx, esi
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x2834]
mov eax, dword [eax + edx*4 + 0x30]
add eax, 0xa8
add ecx, eax
lea eax, [ebp - 0x3c]
cmp ecx, eax
je 0x4ca49c
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov edx, esi
shl edx, 4
sub edx, esi
imul ecx, ebx, 0xd8
mov eax, dword [eax + 0x2834]
mov eax, dword [eax + edx*4 + 0x30]
add eax, 0xc0
add ecx, eax
lea eax, [ebp - 0x24]
cmp ecx, eax
je 0x4ca4e4
cmp dword [ebp - 0x10], 8
push dword [ebp - 0x14]
cmovae eax, dword [ebp - 0x24]
push eax
call fcn.004496e0
mov esi, dword [0x6c5588]
mov ebx, dword [0x6c5584]
mov eax, dword [edi + 0x110]
mov ecx, esi
shl ecx, 4
imul edx, ebx, 0xd8
sub ecx, esi
mov eax, dword [eax + 0x2834]
add edx, dword [eax + ecx*4 + 0x30]
lea eax, [ebp - 0xe4]
cmp edx, eax
je 0x4ca8fd
cmp dword [ebp - 0xd0], 8
mov ecx, edx
push dword [ebp - 0xd4]
cmovae eax, dword [ebp - 0xe4]
push eax
call fcn.004496e0
jmp 0x4ca8fd
mov edx, dword [edi + 0x110]
xor eax, eax
xor esi, esi
mov dword [ebp + 0x64], eax
mov byte [ebp + 0x6b], al
mov eax, dword [edx + 0x2838]
mov edx, dword [ebp + 0x60]
sub eax, edx
sar eax, 2
imul ebx, eax, 0xeeeeeeef
test ebx, ebx
je 0x4ca699
mov edi, dword [ebp + 0x5c]
nop
mov eax, esi
shl eax, 4
sub eax, esi
cmp dword [ebp + 0x14], 8
lea ecx, [edx + eax*4]
mov eax, dword [ecx + 0x10]
lea edx, [ebp]
cmovae edx, edi
cmp dword [ecx + 0x14], 8
jb 0x4ca57f
mov ecx, dword [ecx]
cmp eax, dword [ebp + 0x10]
jne 0x4ca59f
push eax
call fcn.00450520
add esp, 4
test eax, eax
jne 0x4ca59f
mov eax, esi
mov cl, 1
mov byte [ebp + 0x6b], cl
mov esi, ebx
mov dword [ebp + 0x64], eax
jmp 0x4ca5a5
mov cl, byte [ebp + 0x6b]
mov eax, dword [ebp + 0x64]
mov edx, dword [ebp + 0x60]
inc esi
cmp esi, ebx
jb 0x4ca560
mov edi, dword [ebp + 0x3c]
test cl, cl
je 0x4ca699
mov ebx, eax
lea ecx, [ebp - 0xe4]
shl ebx, 4
sub ebx, eax
mov eax, dword [edi + 0x110]
shl ebx, 2
push ecx
mov esi, dword [eax + 0x2834]
mov eax, dword [esi + ebx + 0x34]
add esi, ebx
cmp eax, dword [esi + 0x38]
je 0x4ca5f0
mov ecx, eax
call fcn.004cc260
add dword [esi + 0x34], 0xd8
jmp 0x4ca5f9
push eax
lea ecx, [esi + 0x30]
call fcn.004cbc70
mov edx, dword [edi + 0x110]
mov ecx, dword [0x6c5588]
shl ecx, 4
sub ecx, dword [0x6c5588]
mov eax, dword [edx + 0x2834]
mov edx, dword [eax + ecx*4 + 0x34]
lea esi, [eax + ecx*4]
imul ecx, dword [0x6c5584], 0xd8
add ecx, dword [esi + 0x30]
push ecx
add ecx, 0xd8
call fcn.004cb560
mov ecx, dword [esi + 0x34]
add esp, 4
sub ecx, 0xd8
call fcn.004c3ca0
add dword [esi + 0x34], 0xffffff28
mov eax, dword [ebp + 0x64]
mov dword [0x6c5588], eax
mov eax, dword [edi + 0x110]
push 1
push 0x5dde3c
mov eax, dword [eax + 0x2834]
mov ecx, dword [eax + ebx + 0x34]
sub ecx, dword [eax + ebx + 0x30]
sar ecx, 3
imul eax, ecx, 0x684bda13
dec eax
mov dword [0x6c5584], eax
mov eax, dword [edi + 0x110]
mov ecx, dword [eax + 0x2834]
add ecx, 0x18
add ecx, ebx
call fcn.004496e0
jmp 0x4ca8fd
push 1
push 0x5dde3c
lea ecx, [ebp + 0x18]
call fcn.004496e0
mov esi, dword [ebp + 0x34]
lea eax, [ebp - 0xe4]
push eax
cmp esi, dword [ebp + 0x38]
je 0x4ca6c9
mov ecx, esi
call fcn.004cc260
add esi, 0xd8
mov dword [ebp + 0x34], esi
jmp 0x4ca6d2
push esi
lea ecx, [ebp + 0x30]
call fcn.004cbc70
mov esi, dword [edi + 0x110]
lea ecx, [ebp]
push ecx
mov eax, dword [esi + 0x2838]
cmp eax, dword [esi + 0x283c]
je 0x4ca6fd
mov edx, eax
call fcn.004cbec0
add esp, 4
add dword [esi + 0x2838], 0x3c
jmp 0x4ca709
push eax
lea ecx, [esi + 0x2834]
call fcn.004cb870
mov edx, dword [edi + 0x110]
mov ecx, dword [0x6c5588]
shl ecx, 4
sub ecx, dword [0x6c5588]
mov eax, dword [edx + 0x2834]
mov edx, dword [eax + ecx*4 + 0x34]
lea esi, [eax + ecx*4]
imul ecx, dword [0x6c5584], 0xd8
add ecx, dword [esi + 0x30]
push ecx
add ecx, 0xd8
call fcn.004cb560
mov ecx, dword [esi + 0x34]
add esp, 4
sub ecx, 0xd8
call fcn.004c3ca0
add dword [esi + 0x34], 0xffffff28
jmp 0x4ca8fd
cmp eax, 2
jne 0x4ca8fd
mov ebx, dword [edi + 0x110]
mov edx, dword [0x6c5588]
shl edx, 4
sub edx, dword [0x6c5588]
mov ecx, dword [ebx + 0x2834]
shl edx, 2
mov dword [ebp + 0x60], ebx
mov eax, dword [ecx + edx + 0x34]
sub eax, dword [ecx + edx + 0x30]
jne 0x4ca7a7
mov al, 1
mov byte [0x6c5553], al
mov ebx, dword [edi + 0x110]
mov dword [ebp + 0x60], ebx
jmp 0x4ca7ac
mov al, byte [0x6c5553]
mov ecx, dword [ebx + 0x2834]
test al, al
je 0x4ca8e2
mov eax, dword [ebx + 0x2838]
add ecx, edx
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x58], eax
lea ebx, [ecx + 0x3c]
cmp ebx, eax
je 0x4ca8b8
lea edi, [ecx + 0x18]
lea esi, [ebx + 0x34]
lea esp, [esp]
cmp ecx, ebx
je 0x4ca821
call fcn.00449550
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x64]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [esi - 0x24], 0
mov dword [esi - 0x20], 7
mov word [ebx], ax
lea eax, [esi - 0x1c]
cmp edi, eax
je 0x4ca866
mov ecx, edi
call fcn.00449550
mov eax, dword [esi - 0x1c]
mov dword [edi], eax
mov eax, dword [esi - 0x18]
mov dword [edi + 4], eax
mov eax, dword [esi - 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi - 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi - 8]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi - 0xc], 0
mov dword [esi - 8], 7
mov word [esi - 0x1c], ax
lea ecx, [edi + 0x18]
lea eax, [esi - 4]
cmp ecx, eax
je 0x4ca89a
call fcn.004cb3e0
mov eax, dword [esi - 4]
mov dword [edi + 0x18], eax
mov eax, dword [esi]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x20], eax
mov dword [esi - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [ebp + 0x64]
add ebx, 0x3c
add ecx, 0x3c
add edi, 0x3c
add esi, 0x3c
mov dword [ebp + 0x64], ecx
cmp ebx, dword [ebp + 0x58]
jne 0x4ca7e0
mov edi, dword [ebp + 0x3c]
mov ebx, dword [ebp + 0x60]
mov esi, dword [ebx + 0x2838]
lea ecx, [esi - 0xc]
call fcn.004cb3e0
lea ecx, [esi - 0x24]
call fcn.00449550
lea ecx, [esi - 0x3c]
call fcn.00449550
add dword [ebx + 0x2838], 0xffffffc4
jmp 0x4ca8fd
imul eax, dword [0x6c5584], 0xd8
add edx, 0x30
add ecx, edx
add eax, dword [ecx]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.004cb2f0
mov eax, dword [edi + 0x110]
mov ecx, dword [eax + 0x2834]
mov eax, dword [eax + 0x2838]
cmp ecx, eax
jne 0x4ca95e
mov dword [0x6c5588], 0xffffffff
mov dword [0x6c5584], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.004cb3e0
lea ecx, [ebp + 0x18]
call fcn.00449550
lea ecx, [ebp]
call fcn.00449550
lea ecx, [ebp - 0xe4]
call fcn.004c3ca0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x6c]
pop ebp
ret 8
sub eax, ecx
sar eax, 2
imul eax, eax, 0xeeeeeeef
sub eax, 1
mov dword [0x6c5588], eax
js 0x4ca91d
mov edx, dword [edi + 0x110]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov eax, dword [edx + 0x2834]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx + 0x30]
cmp eax, dword [ecx + 0x34]
jne 0x4ca99b
or eax, 0xffffffff
mov dword [0x6c5584], eax
jmp 0x4ca927
mov eax, dword [edx + 0x2838]
mov ecx, dword [eax - 8]
sub ecx, dword [eax - 0xc]
sar ecx, 3
imul eax, ecx, 0x684bda13
dec eax
mov dword [0x6c5584], eax
jmp 0x4ca927
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
int3