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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff24
mov ebp, edx
mov esi, eax
cmp byte [esi + 0x198], 0
jne 0x4d89ca
cmp dword [esi + 0x398], 0
je 0x4d9bff
mov edx, ebp
mov eax, dword [esi + 0x398]
call fcn.0064eac4
jmp 0x4d9bff
cmp ebp, dword [esi + 0x1a4]
je 0x4d89e2
cmp ebp, dword [esi + 0x1f8]
je 0x4d89e2
cmp ebp, dword [esi + 0x200]
jne 0x4d8a07
cmp dword [esi + 0x394], 0
je 0x4d89fc
cmp byte [esi + 0x391], 0
jne 0x4d8a07
cmp ebp, dword [esi + 0x394]
jne 0x4d8a07
mov dword [esi + 0x394], ebp
jmp 0x4d9bff
cmp dword [esi + 0x394], 0
je 0x4d8a2d
cmp ebp, dword [esi + 0x394]
je 0x4d8a2d
mov eax, esi
call fcn.004da0e8
mov edx, ebp
mov eax, esi
call fcn.004d8994
jmp 0x4d9bff
mov eax, dword [esi + 0x24c]
mov dword [esp + 0x54], eax
mov edx, ebp
mov eax, dword [esi + 0x398]
call fcn.0064e9f4
mov eax, dword [esi + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, esi
call fcn.004daafc
mov dword [esp + 0x28], eax
mov eax, esi
call fcn.004dab34
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov al, byte [eax + 0x14e]
dec eax
sub al, 2
jae 0x4d8a97
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x2770]
mov eax, dword [esp + 0x54]
call fcn.00563f50
mov eax, dword [eax + 0x584]
mov dword [esp + 0x4c], eax
jmp 0x4d8aea
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x2770]
mov edx, dword [esp + 0x54]
mov edx, dword [edx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.00558b48
call fcn.00558afc
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x40]
mov edx, dword [esp + 0x58]
sub eax, dword [edx + 0x38]
mov edx, dword [esp + 0x58]
sub eax, dword [edx + 0x5c]
mov edx, dword [esp + 0x58]
sub eax, dword [edx + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
push eax
push 0x2710
mov eax, dword [esp + 0x34]
push eax
call sub.kernel32.dll_MulDiv
mov dword [esp + 0x30], eax
cmp ebp, dword [esi + 0x1a8]
jne 0x4d8b5c
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, 0
jl 0x4d8b5c
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x50]
mov ebx, dword [eax + edx*4]
mov eax, dword [esi + 0x1a8]
call fcn.006361b8
test eax, eax
jne 0x4d8b4c
mov eax, dword [esp + 0x30]
sar eax, 1
jns 0x4d8b47
adc eax, 0
mov dword [ebx + 0x10], eax
jmp 0x4d8b51
xor eax, eax
mov dword [ebx + 0x10], eax
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4d8b1d
cmp ebp, dword [esi + 0x1a4]
jne 0x4d8ca8
mov eax, dword [esi + 0x1a4]
call fcn.0042f044
test al, al
je 0x4d8ca8
mov eax, dword [esi + 0x1a8]
call fcn.006361b8
test eax, eax
jne 0x4d8bbf
mov eax, dword [esi + 0x1a4]
mov eax, dword [eax + 0x158]
add eax, eax
lea eax, [eax + eax*4]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fild dword [esp + 0x30]
fdivp st(1)
fstp dword [esp + 0x24]
wait
mov eax, dword [esp + 0x38]
sar eax, 1
jns 0x4d8bb9
adc eax, 0
mov dword [esp + 0x38], eax
jmp 0x4d8be9
mov eax, dword [esi + 0x1a4]
call fcn.0042ec7c
mov dword [esp + 0xb8], eax
fild dword [esp + 0xb8]
fild dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp + 0x24]
wait
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, 0
jl 0x4d8ca8
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x50]
mov eax, dword [eax + edx*4]
mov dword [esp], eax
mov eax, dword [esp]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
fild dword [esp + 0xb8]
fmul dword [esp + 0x24]
call fcn.00402588
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x5c]
mov edi, dword [eax + 0xd8]
dec edi
cmp edi, 0
jl 0x4d8c99
imul eax, edi, 0x27
mov edx, dword [esp + 0x5c]
lea ebx, [edx + eax*4 + 0xdc]
mov eax, dword [ebx]
sub eax, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
fild dword [esp + 0xb8]
fmul dword [esp + 0x24]
call fcn.00402588
add eax, dword [esp + 0x28]
mov dword [ebx], eax
dec edi
cmp edi, 0xffffffff
jne 0x4d8c62
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4d8c00
cmp ebp, dword [esi + 0x1ac]
je 0x4d8cec
cmp ebp, dword [esi + 0x1b0]
je 0x4d8cec
cmp ebp, dword [esi + 0x1b4]
je 0x4d8cec
cmp ebp, dword [esi + 0x1b8]
je 0x4d8cec
cmp ebp, dword [esi + 0x1bc]
je 0x4d8cec
cmp ebp, dword [esi + 0x1c0]
je 0x4d8cec
cmp ebp, dword [esi + 0x1c4]
je 0x4d8cec
cmp ebp, dword [esi + 0x1c8]
jne 0x4d8e79
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x18]
dec eax
cmp eax, 0
jl 0x4d8e79
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x50]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x60], eax
cmp ebp, dword [esi + 0x1ac]
jne 0x4d8d2c
mov eax, dword [esp + 0x60]
xor edx, edx
mov dword [eax], edx
jmp 0x4d8e6a
cmp ebp, dword [esi + 0x1b0]
jne 0x4d8d43
mov eax, dword [esp + 0x60]
mov dword [eax], 1
jmp 0x4d8e6a
cmp ebp, dword [esi + 0x1b4]
jne 0x4d8d5a
mov eax, dword [esp + 0x60]
mov dword [eax], 2
jmp 0x4d8e6a
cmp ebp, dword [esi + 0x1b8]
jne 0x4d8dc0
mov eax, dword [esi + 0x1b8]
call fcn.0042f044
test al, al
je 0x4d8dc0
mov eax, dword [esi + 0x1b8]
call fcn.0042ec7c
sub eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
add dword [eax + 4], edx
mov eax, dword [esp + 0x60]
mov edi, dword [eax + 0xd8]
dec edi
cmp edi, 0
jl 0x4d8e6a
imul eax, edi, 0x27
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
add dword [edx + eax*4 + 0xdc], ecx
dec edi
cmp edi, 0xffffffff
jne 0x4d8da3
jmp 0x4d8e6a
cmp ebp, dword [esi + 0x1bc]
jne 0x4d8deb
mov eax, dword [esi + 0x1bc]
call fcn.0042f044
test al, al
je 0x4d8deb
mov eax, dword [esi + 0x1bc]
call fcn.0042ec7c
mov edx, dword [esp + 0x60]
mov dword [edx + 0x14], eax
jmp 0x4d8e6a
cmp ebp, dword [esi + 0x1c0]
jne 0x4d8e16
mov eax, dword [esi + 0x1c0]
call fcn.0042f044
test al, al
je 0x4d8e16
mov eax, dword [esi + 0x1c0]
call fcn.0042ec7c
mov edx, dword [esp + 0x60]
mov dword [edx + 0x18], eax
jmp 0x4d8e6a
cmp ebp, dword [esi + 0x1c4]
jne 0x4d8e41
mov eax, dword [esi + 0x1c4]
call fcn.0042f044
test al, al
je 0x4d8e41
mov eax, dword [esi + 0x1c4]
call fcn.0042ec7c
mov edx, dword [esp + 0x60]
mov dword [edx + 0x1c], eax
jmp 0x4d8e6a
cmp ebp, dword [esi + 0x1c8]
jne 0x4d8e6a
mov eax, dword [esi + 0x1c8]
call fcn.0042f044
test al, al
je 0x4d8e6a
mov eax, dword [esi + 0x1c8]
call fcn.0042ec7c
mov edx, dword [esp + 0x60]
mov dword [edx + 0x20], eax
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4d8d03
mov eax, esi
call fcn.004dab84
mov edi, eax
cmp ebp, dword [esi + 0x1cc]
je 0x4d8e96
cmp ebp, dword [esi + 0x1d4]
jne 0x4d8f60
cmp ebp, dword [esi + 0x1cc]
jne 0x4d8ec2
mov eax, dword [edi + 0x1c]
cmp dword [eax], 0
jne 0x4d8eb6
mov eax, dword [esi + 0x39c]
mov eax, dword [eax + 0x18]
dec eax
mov dword [esp + 0x3c], eax
jmp 0x4d8eeb
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
dec eax
mov dword [esp + 0x3c], eax
jmp 0x4d8eeb
mov eax, edi
call fcn.0064ea3c
mov edx, dword [esi + 0x39c]
mov edx, dword [edx + 0x18]
dec edx
cmp eax, edx
jne 0x4d8edf
xor eax, eax
mov dword [esp + 0x3c], eax
jmp 0x4d8eeb
mov eax, edi
call fcn.0064ea3c
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x39c]
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + edx*4]
add eax, 0x2760
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
push eax
mov al, byte [0x4d9c0c]
push eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov eax, dword [esp + 0x60]
call fcn.005c2d68
push 0
mov al, byte [0x4d9c0c]
push eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
call fcn.005c0320
mov dl, 4
mov eax, dword [esp + 0x54]
call fcn.005bfa4c
mov byte [esi + 0x390], 1
cmp ebp, dword [esi + 0x1d8]
je 0x4d8f8c
cmp ebp, dword [esi + 0x1e0]
je 0x4d8f8c
cmp ebp, dword [esi + 0x1dc]
je 0x4d8f8c
cmp ebp, dword [esi + 0x1e4]
je 0x4d8f8c
cmp ebp, dword [esi + 0x1e8]
jne 0x4d9138
mov eax, dword [edi + 0x18]
dec eax
cmp eax, 0
jl 0x4d9138
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x1c]
mov edx, dword [esp + 0x50]
mov ebx, dword [eax + edx*4]
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x68], eax
cmp ebp, dword [esi + 0x1d8]
jne 0x4d8ffb
mov eax, dword [esi + 0x1d8]
cmp byte [eax + 0x124], 2
jne 0x4d8fe6
mov eax, dword [esi + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0xc], eax
jmp 0x4d8fef
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [eax + 0xc], edx
mov byte [esi + 0x390], 1
jmp 0x4d9129
cmp ebp, dword [esi + 0x1e0]
jne 0x4d9039
mov eax, dword [esi + 0x1e0]
call fcn.006361b8
dec eax
sete al
and eax, 0x7f
add eax, eax
mov ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0xc]
cdq
xor eax, edx
sub eax, edx
imul ecx, eax
mov eax, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
jmp 0x4d9129
cmp ebp, dword [esi + 0x1e4]
jne 0x4d9096
mov eax, dword [esi + 0x1e4]
mov al, byte [eax + 0x124]
sub al, 1
jb 0x4d9055
je 0x4d9065
jmp 0x4d9075
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2750], 1
jmp 0x4d9129
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2750], 0
jmp 0x4d9129
mov eax, dword [esi + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov al, byte [eax + 0x2754]
mov edx, dword [esp + 0x68]
mov byte [edx + 0x2750], al
jmp 0x4d9129
cmp ebp, dword [esi + 0x1e8]
jne 0x4d90ea
mov eax, dword [esi + 0x1e8]
mov al, byte [eax + 0x124]
sub al, 1
jb 0x4d90b2
je 0x4d90bf
jmp 0x4d90cc
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2751], 0
jmp 0x4d9129
mov eax, dword [esp + 0x68]
mov byte [eax + 0x2751], 1
jmp 0x4d9129
mov eax, dword [esi + 0x39c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov al, byte [eax + 0x2755]
mov edx, dword [esp + 0x68]
mov byte [edx + 0x2751], al
jmp 0x4d9129
mov eax, dword [esi + 0x1dc]
call fcn.0042f044
test al, al
je 0x4d9129
mov eax, dword [esi + 0x1e0]
call fcn.006361b8
dec eax
sete al
and eax, 0x7f
add eax, eax
mov ebx, 1
sub ebx, eax
mov eax, dword [esi + 0x1dc]
call fcn.0042ec7c
imul ebx, eax
mov eax, dword [esp + 0x68]
mov dword [eax + 0xc], ebx
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4d8f9d
mov eax, edi
call fcn.0064edac
cmp ebp, dword [esi + 0x1ec]
je 0x4d9153
cmp ebp, dword [esi + 0x1f4]
jne 0x4d9281
mov eax, esi
call fcn.004dad80
mov dword [esp + 0x6c], eax
mov eax, esi
call fcn.004dacf0
mov dword [esp + 0x14], eax
cmp ebp, dword [esi + 0x1ec]
jne 0x4d91a5
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 0
jne 0x4d9195
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
test eax, eax
jns 0x4d918b
add eax, 7
sar eax, 3
dec eax
mov dword [esp + 0x40], eax
jmp 0x4d91da
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
dec eax
mov dword [esp + 0x40], eax
jmp 0x4d91da
mov eax, dword [esp + 0x6c]
call fcn.0064ea3c
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 8]
test edx, edx
jns 0x4d91bc
add edx, 7
sar edx, 3
dec edx
cmp eax, edx
jne 0x4d91cc
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x4d91da
mov eax, dword [esp + 0x6c]
call fcn.0064ea3c
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
call fcn.004028c0
mov edx, dword [esp + 0x40]
mov eax, esi
call fcn.004daf1c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x300]
mov edx, dword [esp + 8]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 8]
call fcn.00548150
mov eax, dword [esp + 0x54]
lea edx, [eax + 0x300]
mov eax, dword [esp + 0x54]
call fcn.005c2480
mov eax, dword [esp + 0x54]
call fcn.005c33a8
call fcn.00506b9c
mov eax, dword [esp + 0x54]
call fcn.005beff0
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 4]
mov dword [esp + 0x70], eax
push 0
mov al, byte [0x4d9c0c]
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
call fcn.005c0320
mov dl, 4
mov eax, dword [esp + 0x54]
call fcn.005bfa4c
mov byte [esi + 0x390], 1
mov eax, dword [esp + 0x6c]
call fcn.0064edac
cmp ebp, dword [esi + 0x1f8]
je 0x4d92e5
cmp ebp, dword [esi + 0x1fc]
je 0x4d92e5
cmp ebp, dword [esi + 0x200]
je 0x4d92e5
cmp ebp, dword [esi + 0x204]
je 0x4d92e5
cmp ebp, dword [esi + 0x208]
je 0x4d92e5
cmp ebp, dword [esi + 0x20c]
je 0x4d92e5
cmp ebp, dword [esi + 0x210]
je 0x4d92e5
cmp ebp, dword [esi + 0x214]
je 0x4d92e5
cmp ebp, dword [esi + 0x218]
je 0x4d92e5
cmp ebp, dword [esi + 0x21c]
je 0x4d92e5
cmp ebp, dword [esi + 0x220]
je 0x4d92e5
cmp ebp, dword [esi + 0x224]
jne 0x4d9907
cmp ebp, dword [esi + 0x1f8]
je 0x4d92f5
cmp ebp, dword [esi + 0x1fc]
jne 0x4d931b
mov edx, 0x80000000
mov eax, esi
call fcn.004daf1c
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1f8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1fc]
mov dword [esp + 0x10], eax
jmp 0x4d933e
xor ecx, ecx
mov dl, 1
mov eax, esi
call fcn.004db0d8
mov dword [esp + 8], eax
mov eax, dword [esi + 0x200]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x204]
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0xc]
jne 0x4d9703
mov eax, dword [esp + 0xc]
call fcn.0042f044
test al, al
je 0x4d9703
xor eax, eax
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00547d14
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005efb5c
mov ebx, dword [eax + 0x275c]
lea ecx, [esp + 0x98]
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005efb9c
call fcn.0064e78c
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00547d14
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005ef87c
mov edx, eax
mov eax, dword [esp + 0x18]
call fcn.0064e9f4
inc dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00547ce4
cmp eax, dword [esp + 0x50]
je 0x4d9409
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00547d14
mov edx, dword [eax]
lea ecx, [esp + 0xbc]
mov eax, dword [esp + 0x54]
call fcn.005efb9c
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0x98]
je 0x4d93a4
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
mov eax, dword [esp]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
call fcn.006361b8
test eax, eax
jne 0x4d9642
push 0x3e8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
mov edx, dword [esp + 0x10]
imul dword [edx + 0x158]
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.kernel32.dll_MulDiv
mov edx, eax
mov eax, dword [esp + 0x78]
imul eax, dword [eax + 0xd8], 0x27
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + eax*4 + 0x40]
mov ecx, dword [esp + 0x78]
sub eax, dword [ecx + 4]
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0xd8]
mov ebx, dword [esp + 0x18]
sub ecx, dword [ebx + 0x18]
imul ecx, ecx, 0xb4
sub eax, ecx
call fcn.00653538
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x18]
cdq
idiv ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x4d96e2
inc eax
mov dword [esp + 0x7c], eax
xor edi, edi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x44], eax
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x44], 0
jne 0x4d94e6
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
sub dword [esp + 0x34], eax
jmp 0x4d94f7
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0x40]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
call fcn.004d8970
mov ebx, dword [esp + 0x44]
inc ebx
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0xd8]
dec eax
sub eax, ebx
jl 0x4d95c3
inc eax
mov dword [esp + 0x80], eax
cmp dword [esp + 0x34], 0
je 0x4d95c3
mov edx, ebx
mov eax, dword [esp + 0x18]
call fcn.0064eb58
test al, al
jne 0x4d95b5
cmp dword [esp + 0x34], 0
jge 0x4d956c
mov ecx, dword [esp + 0x34]
neg ecx
mov eax, dword [esp]
mov edx, ebx
call fcn.004d8970
xor eax, eax
mov dword [esp + 0x34], eax
jmp 0x4d95b5
imul eax, ebx, 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
test ebx, ebx
jne 0x4d9587
mov edx, dword [esp + 0x78]
sub eax, dword [edx + 4]
jmp 0x4d9592
imul edx, ebx, 0x27
mov ecx, dword [esp + 0x78]
sub eax, dword [ecx + edx*4 + 0x40]
mov edx, eax
sub edx, 0xb4
mov eax, dword [esp + 0x34]
call fcn.00653538
sub dword [esp + 0x34], eax
mov ecx, eax
neg ecx
mov eax, dword [esp]
mov edx, ebx
call fcn.004d8970
inc ebx
dec dword [esp + 0x80]
jne 0x4d9533
mov ebx, dword [esp + 0x44]
dec ebx
cmp ebx, 0
jl 0x4d9632
cmp dword [esp + 0x34], 0
je 0x4d9632
mov edx, ebx
mov eax, dword [esp + 0x18]
call fcn.0064eb58
test al, al
jne 0x4d962c
imul eax, ebx, 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
test ebx, ebx
jne 0x4d95fe
mov edx, dword [esp + 0x78]
sub eax, dword [edx + 4]
jmp 0x4d9609
imul edx, ebx, 0x27
mov ecx, dword [esp + 0x78]
sub eax, dword [ecx + edx*4 + 0x40]
mov edx, eax
sub edx, 0xb4
mov eax, dword [esp + 0x34]
call fcn.00653538
sub dword [esp + 0x34], eax
mov ecx, eax
neg ecx
mov eax, dword [esp]
mov edx, ebx
call fcn.004d8970
dec ebx
cmp ebx, 0xffffffff
jne 0x4d95cd
inc edi
dec dword [esp + 0x7c]
jne 0x4d94b0
jmp 0x4d96e2
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x18]
dec edi
cmp edi, 0
jl 0x4d96e2
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x44], eax
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0xdc]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x44], 0
jne 0x4d9689
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 4]
sub dword [esp + 0x34], eax
jmp 0x4d969a
imul eax, dword [esp + 0x44], 0x27
mov edx, dword [esp + 0x78]
mov eax, dword [edx + eax*4 + 0x40]
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
call fcn.0042ec7c
sub dword [esp + 0x34], eax
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0xd8]
dec eax
sub eax, ebx
jl 0x4d96d8
inc eax
mov dword [esp + 0x7c], eax
imul eax, ebx, 0x27
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
sub dword [edx + eax*4 + 0xdc], ecx
inc ebx
dec dword [esp + 0x7c]
jne 0x4d96bf
dec edi
cmp edi, 0xffffffff
jne 0x4d9653
mov eax, dword [esp + 0x18]
call fcn.0064edac
mov eax, dword [esp + 8]
call fcn.00547ce4
cmp eax, dword [esp + 0x50]
jne 0x4d935f
jmp 0x4d98fe
mov eax, dword [esp + 8]
call fcn.00547ce4
dec eax
cmp eax, 0
jl 0x4d98fe
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 8]
call fcn.00547d14
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005ef87c
imul ebx, eax, 0x27
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
call fcn.005efb5c
mov eax, dword [eax + 0x275c]
mov edx, dword [esi + 0x250]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
lea eax, [eax + ebx*4 + 0xdc]
mov dword [esp + 0x88], eax
cmp ebp, dword [esp + 0x10]
jne 0x4d979f
mov eax, dword [esp + 0x10]
call fcn.006361b8
test eax, eax
sete al
mov edx, dword [esp + 0x88]
mov byte [edx + 0x14], al
mov byte [esi + 0x390], 1
jmp 0x4d98ef
cmp ebp, dword [esi + 0x208]
jne 0x4d97b7
mov eax, dword [esp + 0x88]
mov byte [eax + 0x15], 0
jmp 0x4d98ef
cmp ebp, dword [esi + 0x20c]
jne 0x4d97cf
mov eax, dword [esp + 0x88]
mov byte [eax + 0x15], 1
jmp 0x4d98ef
cmp ebp, dword [esi + 0x210]
jne 0x4d97e7
mov eax, dword [esp + 0x88]
mov byte [eax + 0x15], 2
jmp 0x4d98ef
cmp ebp, dword [esi + 0x214]
jne 0x4d9836
mov eax, dword [esi + 0x214]
call fcn.006374f8
test al, al
je 0x4d9817
mov eax, dword [esp + 0x88]
add eax, 4
mov edx, 4
call fcn.00620520
jmp 0x4d98ef
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x88]
push esi
lea esi, [eax + 0x18]
lea edi, [edx + 4]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4d98ef
cmp ebp, dword [esi + 0x218]
jne 0x4d9867
mov eax, dword [esi + 0x218]
call fcn.0042f044
test al, al
je 0x4d9867
mov eax, dword [esi + 0x218]
call fcn.0042ec7c
mov edx, dword [esp + 0x88]
mov dword [edx + 4], eax
jmp 0x4d98ef
cmp ebp, dword [esi + 0x21c]
jne 0x4d9895
mov eax, dword [esi + 0x21c]
call fcn.0042f044
test al, al
je 0x4d9895
mov eax, dword [esi + 0x21c]
call fcn.0042ec7c
mov edx, dword [esp + 0x88]
mov dword [edx + 8], eax
jmp 0x4d98ef
cmp ebp, dword [esi + 0x220]
jne 0x4d98c3
mov eax, dword [esi + 0x220]
call fcn.0042f044
test al, al
je 0x4d98c3
mov eax, dword [esi + 0x220]
call fcn.0042ec7c
mov edx, dword [esp + 0x88]
mov dword [edx + 0xc], eax
jmp 0x4d98ef
cmp ebp, dword [esi + 0x224]
jne 0x4d98ef
mov eax, dword [esi + 0x224]
call fcn.0042f044
test al, al
je 0x4d98ef
mov eax, dword [esi + 0x224]
call fcn.0042ec7c
mov edx, dword [esp + 0x88]
mov dword [edx + 0x10], eax
dec dword [esp + 0x50]
cmp dword [esp + 0x50], 0xffffffff
jne 0x4d971a
mov eax, dword [esp + 8]
call fcn.00548150
cmp ebp, dword [esi + 0x238]
jne 0x4d9a73
cmp byte [esi + 0x364], 0xff
je 0x4d9a73
xor eax, eax
mov al, byte [esi + 0x364]
mov edx, eax
shl eax, 3
sub eax, edx
lea eax, [esi + eax*4 + 0x25c]
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x368], 0
je 0x4d99e9
call fcn.00658fe8
sub eax, dword [esi + 0x368]
cmp eax, 0x3e8
jle 0x4d99e9
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 1
jl 0x4d9a73
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 0xff
jge 0x4d9a73
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
mov eax, dword [esi + 0x230]
mov eax, dword [eax + 0x120]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x50], 0
jl 0x4d99b9
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x230]
call fcn.006361c8
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x234]
mov edx, dword [edx + 0x188]
mov dword [edx + 0x160], eax
mov eax, dword [esi + 0x234]
mov bx, 0xffe8
call fcn.00403254
jmp 0x4d9a73
mov al, byte [0x4d9c0c]
mov byte [esp + 0x1c], al
mov al, byte [0x4d9c0c]
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x8c]
cmp dword [eax + 4], 1
jne 0x4d9a50
mov eax, dword [esi + 0x230]
call fcn.0063614c
mov edx, dword [esp + 0x8c]
cmp eax, dword [edx]
jne 0x4d9a50
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x234]
mov edx, dword [edx + 0x188]
cmp eax, dword [edx + 0x160]
jne 0x4d9a50
mov al, byte [esi + 0x364]
cmp al, 7
ja 0x4d9a62
and eax, 0x7f
bts dword [esp + 0x1c], eax
jmp 0x4d9a62
mov al, byte [esi + 0x364]
cmp al, 7
ja 0x4d9a62
and eax, 0x7f
bts dword [esp + 0x1d], eax
push 0
mov cl, byte [esp + 0x21]
mov dl, byte [esp + 0x20]
mov eax, esi
call fcn.004da5dc
cmp ebp, dword [esi + 0x240]
jne 0x4d9a87
mov eax, dword [esi + 0x240]
mov dword [esp + 0x20], eax
jmp 0x4d9aa7
cmp ebp, dword [esi + 0x244]
jne 0x4d9aa1
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x188]
mov dword [esp + 0x20], eax
jmp 0x4d9aa7
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x4d9bf6
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x160], 0x80000000
je 0x4d9bf6
mov eax, dword [esi + 0x23c]
call fcn.0063614c
mov ecx, eax
mov dl, 1
mov eax, esi
call fcn.004db0d8
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x90]
call fcn.00547ce4
mov edi, eax
dec edi
cmp edi, 0
jl 0x4d9bdb
mov edx, edi
mov eax, dword [esp + 0x90]
call fcn.00547d14
mov ebx, eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x54]
call fcn.005efb5c
mov eax, dword [eax + 0x275c]
mov edx, dword [esi + 0x250]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x94], eax
cmp dword [esp + 0x50], 0
jne 0x4d9bab
mov eax, dword [esp + 0x94]
cmp dword [eax + 0xcc], 0xff000000
je 0x4d9b98
mov eax, dword [esp + 0x94]
mov ebx, dword [eax + 0xd8]
dec ebx
cmp ebx, 0
jl 0x4d9b98
imul eax, ebx, 0x27
mov edx, dword [esp + 0x94]
lea eax, [edx + eax*4 + 0xdc]
cmp dword [eax + 0x88], 0xff000000
jne 0x4d9b92
mov edx, dword [esp + 0x94]
mov edx, dword [edx + 0xcc]
mov dword [eax + 0x88], edx
dec ebx
cmp ebx, 0xffffffff
jne 0x4d9b62
mov eax, dword [esp + 0x94]
mov dword [eax + 0xcc], 0xff000000
jmp 0x4d9bd1
mov edx, dword [ebx]
mov eax, dword [esp + 0x54]
call fcn.005ef87c
imul eax, eax, 0x27
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x160]
mov dword [edx + eax*4 + 0x164], ecx
dec edi
cmp edi, 0xffffffff
jne 0x4d9b01
inc dword [esp + 0x50]
cmp dword [esp + 0x50], 2
jne 0x4d9ae9
mov eax, dword [esp + 0x90]
call fcn.00548150
mov edx, ebp
mov eax, esi
call fcn.004dcfa4
add esp, 0xdc
pop ebp
pop edi
pop esi
pop ebx
ret