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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [esp + 0x24], eax
mov edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov esi, dword [edx + 8]
mov ecx, dword [edx]
mov dword [esp + 8], ecx
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x4d9eff
cmp dword [edx + 0x74], esi
jne 0x4d9ee2
test byte [ecx + 0x4c], 8
jne 0x4d9ee2
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.004a1b00
mov edx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x4dc49d
or dword [esi + 0x98], 0x40
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x2c], 2
mov edx, edi
push eax
call fcn.004c6900
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
js 0x4dc49d
mov ecx, dword [esp + 8]
shl eax, 4
mov dword [esp + 0x14], eax
mov edi, dword [ecx + 0x10]
add edi, eax
mov dword [esp + 0x2c], edi
cmp edx, 1
jne 0x4d9f59
mov ecx, dword [esp + 0xc]
call fcn.004cbd20
test eax, eax
jne 0x4dc49d
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 8]
call fcn.004c6700
mov dword [esp + 0x50], eax
test eax, eax
je 0x4dc49d
cmp dword [ebp + 0x10], 0
je 0x4d9f95
push dword [esp + 0x10]
push 0x7106e4
push dword [esp + 0x10]
call fcn.00482940
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
jmp 0x4d9fa8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
call fcn.004c6700
mov ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], 0
jbe 0x4d9fb6
mov edi, dword [edi]
jmp 0x4d9fb8
xor edi, edi
push edi
push ecx
push dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov edx, 0x13
mov dword [esp + 0x44], edi
call fcn.004c5240
add esp, 0xc
test eax, eax
jne 0x4dc483
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
push ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xc]
push 0xe
push edi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
push eax
mov dword [eax + 0x19c], 0
call fcn.0050b680
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4da064
lea edx, [eax + 1]
mov ecx, esi
call fcn.004a4060
push 0xffffffffffffffff
push dword [esp + 0x80]
xor edx, edx
mov ecx, esi
push edi
call fcn.004a4120
mov edx, dword [esp + 0x88]
add esp, 0xc
mov ecx, esi
call fcn.004d9b70
push dword [esp + 0x7c]
call fcn.004802c0
add esp, 4
jmp 0x4dc483
cmp edi, 0xc
je 0x4da09e
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4da08f
push eax
push 0x7106f4
push dword [esp + 0x14]
call fcn.00483850
add esp, 0xc
push dword [esp + 0x7c]
call fcn.004802c0
add esp, 4
mov eax, dword [esp + 0xc]
inc dword [eax + 0x24]
mov dword [eax + 0xc], edi
jmp 0x4dc483
mov ecx, dword [esp + 0x50]
call fcn.004d9cd0
mov edi, eax
test edi, edi
je 0x4dc483
test byte [edi + 5], 1
je 0x4da0c8
mov ecx, dword [esp + 0xc]
call fcn.004dd700
test eax, eax
jne 0x4dc483
mov al, byte [edi + 5]
test al, 2
jne 0x4da0e4
test al, 4
je 0x4da0db
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4da0e8
mov edx, edi
mov ecx, esi
call fcn.004d9910
mov ecx, dword [esp + 0x34]
movzx eax, byte [edi + 4]
cmp eax, 0x27
ja case.0x4da0f5.3
jmp dword [eax*4 + 0x4dc4b4]
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, edi
call fcn.004a3260
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4da13d
mov eax, dword [esp + 0xc]
mov edx, 9
push ecx
push 0x6cce30
mov ecx, esi
add dword [eax + 0x2c], 2
call fcn.004a27d0
mov dword [eax + 4], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x7c], 0xfffff830
jmp 0x4dc480
mov ecx, eax
call fcn.00484500
mov ecx, eax
call fcn.00484c00
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov edi, eax
call fcn.004cbeb0
add esp, 4
mov edx, 0x5f
mov ecx, esi
push edi
push 3
push dword [esp + 0x24]
call fcn.004a1e40
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov dword [eax + 0x50], edi
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x50]
call fcn.004966d0
jmp 0x4dc483
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4da1b3
test edi, edi
je 0x4da1ac
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x20]
jmp 0x4dc476
xor eax, eax
jmp 0x4dc476
call fcn.00484500
mov ecx, dword [esp + 8]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x5c], eax
mov ecx, edi
call fcn.00496830
add esp, 8
cmp eax, 7
jne 0x4dc483
mov ecx, dword [esp + 8]
call fcn.00480b40
jmp 0x4dc483
mov edi, dword [esp + 0x2c]
or edx, 0xffffffff
mov dword [esp + 0x30], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x64], eax
test ecx, ecx
je 0x4da225
push 0x7106ec
push ecx
call fcn.004839f0
add esp, 8
test eax, eax
jne 0x4da213
lea edx, [eax + 2]
jmp 0x4da221
mov ecx, dword [esp + 0x34]
xor dl, dl
call fcn.004d9720
movzx edx, al
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], 0
jne 0x4da262
test edx, edx
js 0x4da262
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 0
jle 0x4da262
xor edi, edi
xor esi, esi
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + edi + 4]
call fcn.00496990
mov eax, dword [esp + 8]
lea edi, [edi + 0x10]
mov edx, dword [esp + 0x30]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x4da241
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
call fcn.00496990
jmp 0x4dc476
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [esp + 0x1c]
call fcn.004cbdc0
mov eax, dword [esp + 0x50]
inc dword [edi + 0x2c]
mov edi, dword [edi + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x6cd730], 0x70
jne 0x4da2c1
push edi
push dword [esp + 0x20]
mov edx, 0xa6
mov ecx, esi
call fcn.004a1f70
add esp, 8
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.004a1f70
jmp 0x4dc480
mov ecx, dword [esp + 0x34]
call fcn.00484500
mov ecx, eax
call fcn.00484c00
push eax
push edi
push dword [esp + 0x24]
mov edx, 0xa7
mov ecx, esi
call fcn.004a1e40
add esp, 0xc
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.004a1f70
jmp 0x4dc480
call fcn.004d9740
mov edx, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4da356
cmp edx, 0xffffffff
jne 0x4da31b
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x53]
jmp 0x4da367
test eax, eax
jne 0x4da356
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 2
jle 0x4da353
mov edi, 0x20
lea esi, [edi - 0x1e]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.00490490
mov eax, dword [esp + 8]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x4da331
mov esi, dword [esp + 0x3c]
mov byte [eax + 0x53], dl
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.00490490
cmp eax, 1
mov edx, 0x7106f8
mov eax, 0x710704
mov ecx, esi
cmovne edx, eax
call fcn.004d9b70
jmp 0x4dc483
test ecx, ecx
je 0x4da3d5
call fcn.004836f0
mov dword [esp + 0x64], eax
xor edi, edi
mov dword [esp + 0x14], edi
cmp edi, 6
je 0x4da3d5
mov ecx, dword [edi*4 + 0x6cc618]
test ecx, ecx
je 0x4da3d5
push eax
push ecx
push dword [esp + 0x3c]
call fcn.00483a60
add esp, 0xc
test eax, eax
je 0x4da3bf
mov eax, dword [esp + 0x64]
inc edi
jmp 0x4da392
cmp edi, 2
jne 0x4da3f8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x4da3fd
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 4], 0
jne 0x4da401
mov dword [esp + 0x1c], 0
mov dword [ecx + 4], 1
jmp 0x4da401
cmp edi, 0xffffffff
je 0x4da3dd
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x4da463
mov edx, edi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x10]
cmp dword [edx + eax + 4], 0
je 0x4da44f
cmp edi, dword [esp + 0x1c]
je 0x4da42c
cmp dword [ecx + 4], 0
jne 0x4da44f
mov edx, edi
mov ecx, esi
call fcn.004a3260
push dword [esp + 0x14]
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.004a1e40
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x24]
sub edx, 0x10
sub edi, 1
mov eax, dword [esp + 8]
mov dword [esp + 0x10], edx
jns 0x4da416
push 1
push 1
mov edx, 0x51
mov ecx, esi
call fcn.004a1f70
jmp 0x4dc480
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
mov edx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov eax, 0xfffffffe
mov dword [esp + 0x68], eax
test edx, edx
je 0x4da4c8
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x68]
call fcn.00484260
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xffffffff
jg 0x4da4c4
jl 0x4da4bd
mov eax, dword [esp + 0x68]
cmp eax, 0xffffffff
jae 0x4da4c8
or eax, 0xffffffff
or ecx, eax
jmp 0x4da4c8
mov eax, dword [esp + 0x68]
push ecx
push eax
mov ecx, edi
call fcn.00490600
push edx
push eax
mov ecx, esi
call fcn.004d9a40
add esp, 0x10
jmp 0x4dc483
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4da4f9
mov ecx, edi
call fcn.00496a80
jmp 0x4dc476
call fcn.004d9780
mov ecx, dword [esp + 8]
mov edx, eax
mov dword [esp + 0x10], eax
mov byte [ecx + 0x54], al
mov ecx, edi
call fcn.00496a00
test eax, eax
jne 0x4dc483
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4da52c
cmp eax, 2
jne 0x4dc483
mov edi, dword [esi + 0x6c]
mov edx, 5
push ecx
push 0x6d0100
mov ecx, esi
call fcn.004a27d0
mov edx, dword [esp + 0x24]
lea ecx, [edi + 4]
add esp, 8
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [eax + 4], edx
mov dword [eax + 0x5c], ecx
mov ecx, esi
mov dword [eax + 0x18], edx
mov dword [eax + 0x54], edx
call fcn.004a3260
jmp 0x4dc483
test ecx, ecx
je 0x4da584
lea edx, [esp + 0x64]
call fcn.00484370
test eax, eax
je 0x4da584
mov edi, dword [esp + 0x64]
test edi, edi
jg 0x4da589
mov edi, 0x7fffffff
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004cbeb0
add esp, 4
mov edx, 0x46
mov ecx, esi
push 1
push edi
call fcn.004a1f70
push dword [esp + 0x24]
mov edx, 0x3b
mov ecx, esi
call fcn.004a1f10
add esp, 0xc
mov edx, 0x51
mov ecx, esi
mov edi, eax
push 1
call fcn.004a1f10
add esp, 4
mov edx, 0x53
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.004a1f70
push edi
push 1
mov edx, 0x2f
mov ecx, esi
call fcn.004a1f70
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.004a2960
jmp 0x4dc483
test ecx, ecx
jne 0x4da613
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x50]
jmp 0x4dc476
call fcn.00484500
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x50], eax
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edx + 0x50]
call fcn.004966d0
jmp 0x4dc483
test ecx, ecx
jne 0x4da65e
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
je 0x4da1ac
mov edi, dword [esp + 0x2c]
xor edx, edx
mov ecx, dword [edi + 4]
call fcn.00496750
jmp 0x4dc476
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
call fcn.00484370
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4da685
mov edi, dword [esp + 0x2c]
mov edx, esi
mov ecx, dword [edi + 4]
call fcn.00496750
mov ecx, dword [esp + 0x34]
test esi, esi
setne dl
call fcn.004d9720
mov ecx, dword [esp + 8]
test al, al
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
je 0x4da6af
or dword [ecx + 0x20], 0x20
call fcn.004d9bf0
jmp 0x4dc483
and dword [ecx + 0x20], 0xffffffdf
call fcn.004d9bf0
jmp 0x4dc483
test ecx, ecx
je 0x4da763
lea edx, [esp + 0x68]
call fcn.00484260
mov edx, dword [esp + 0x6c]
test edx, edx
jg 0x4da6f5
jl 0x4da6e0
mov eax, dword [esp + 0x68]
test eax, eax
jae 0x4da6f9
mov eax, dword [0x70b460]
mov edx, dword [0x70b464]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4da6f9
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 8]
cmp dword [ecx + 4], 0
jne 0x4da70d
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x4da763
mov esi, dword [esp + 8]
mov edx, edi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x10]
mov eax, dword [edx + eax + 4]
test eax, eax
je 0x4da753
cmp edi, dword [esp + 0x1c]
je 0x4da739
cmp dword [ecx + 4], 0
jne 0x4da753
push dword [esp + 0x6c]
mov ecx, eax
push dword [esp + 0x6c]
call fcn.004967a0
mov ecx, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esp + 0x10]
sub edx, 0x10
sub edi, 1
mov dword [esp + 0x10], edx
jns 0x4da722
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0xffffffff
push eax
push 0x12
push dword [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
push dword [esp + 0x14]
call fcn.0050b680
add esp, 0x10
test eax, eax
jne 0x4da79b
push dword [esp + 0x6c]
push dword [esp + 0x6c]
jmp 0x4dc479
cmp eax, 0xc
je 0x4dc483
mov ecx, dword [esp + 0xc]
inc dword [ecx + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x4dc483
test ecx, ecx
jne 0x4da7c4
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x50]
jmp 0x4dc476
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004d9870
jmp 0x4dc483
test ecx, ecx
jne 0x4da7ea
mov edx, dword [0x71cc50]
mov ecx, esi
call fcn.004d9b70
jmp 0x4dc483
cmp byte [ecx], 0
je 0x4da823
mov eax, dword [esp + 8]
lea edx, [esp + 0x64]
push edx
push 1
push ecx
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x4da810
cmp dword [esp + 0x64], eax
jne 0x4da823
push 0x710710
push dword [esp + 0x10]
call fcn.00483850
jmp 0x4dc480
mov eax, dword [esp + 8]
cmp byte [eax + 0x50], 1
ja 0x4da836
mov ecx, dword [esp + 0xc]
call fcn.004d9820
push dword [0x71cc50]
call fcn.004802c0
mov eax, dword [esp + 0x38]
add esp, 4
cmp byte [eax], 0
je 0x4da862
push eax
push 0x71070c
call fcn.00482a20
mov dword [0x71cc50], eax
jmp 0x4dc480
mov dword [0x71cc50], 0
jmp 0x4dc483
test ecx, ecx
jne 0x4da887
mov edx, dword [0x71cc4c]
mov ecx, esi
call fcn.004d9b70
jmp 0x4dc483
cmp byte [ecx], 0
je 0x4da8c0
mov eax, dword [esp + 8]
lea edx, [esp + 0x64]
push edx
push 1
push ecx
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x4da8ad
cmp dword [esp + 0x64], eax
jne 0x4da8c0
push 0x710730
push dword [esp + 0x10]
call fcn.00483850
jmp 0x4dc480
push dword [0x71cc4c]
call fcn.004802c0
mov eax, dword [esp + 0x38]
add esp, 4
cmp byte [eax], 0
je 0x4da8ec
push eax
push 0x71072c
call fcn.00482a20
mov dword [0x71cc4c], eax
jmp 0x4dc480
mov dword [0x71cc4c], 0
jmp 0x4dc483
test ecx, ecx
jne 0x4da90d
mov edi, dword [esp + 0x2c]
movzx eax, byte [edi + 8]
dec eax
jmp 0x4dc476
mov edx, dword [esp + 8]
cmp byte [edx + 0x4f], 0
jne 0x4da92a
push 0x71074c
push dword [esp + 0x10]
call fcn.00483850
jmp 0x4dc480
cmp dword [esp + 0x1c], 1
je 0x4dc483
push 1
xor edx, edx
call fcn.004d9670
mov edi, dword [esp + 0x30]
inc eax
add esp, 4
mov ecx, 1
and eax, 7
cmove eax, ecx
mov byte [edi + 9], cl
mov ecx, dword [esp + 8]
mov byte [edi + 8], al
call fcn.004d9bf0
jmp 0x4dc483
test ecx, ecx
jne 0x4da9ac
mov edx, edi
mov ecx, esi
call fcn.004d9910
mov edx, dword [esp + 8]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
and ecx, dword [edx + 0x20]
and eax, dword [edx + 0x24]
or ecx, eax
je 0x4da994
xor eax, eax
mov ecx, 1
push eax
push ecx
jmp 0x4dc479
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
jmp 0x4dc479
mov ecx, dword [esp + 8]
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x4f], 0
jne 0x4da9c9
and eax, 0xffffbfff
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
xor dl, dl
call fcn.004d9720
test al, al
je 0x4da9e8
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
or dword [eax + 0x20], edx
or dword [eax + 0x24], edi
jmp 0x4daa1c
mov esi, dword [esp + 8]
mov eax, edi
mov ecx, dword [esp + 0x18]
not eax
not ecx
and dword [esi + 0x20], ecx
mov ecx, esi
mov esi, dword [esp + 0x3c]
and dword [ecx + 0x24], eax
cmp dword [esp + 0x18], 0x80000
jne 0x4daa1c
test edi, edi
jne 0x4daa1c
mov dword [ecx + 0x1e0], edi
mov dword [ecx + 0x1e4], edi
mov edx, 0x9e
mov ecx, esi
call fcn.004a1eb0
mov ecx, dword [esp + 8]
call fcn.004d9bf0
jmp 0x4dc483
test ecx, ecx
je 0x4dc483
push dword [esp + 0x38]
mov edx, 2
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004c5ab0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4dc483
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 8]
call fcn.004dd8b0
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x18], 0
call fcn.004c6a80
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
mov dword [eax + 0x2c], 7
call fcn.004cbdc0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
call fcn.004c8c50
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
movzx eax, word [eax + 0x2a]
mov dword [esp + 0x40], edx
cmp cx, ax
jge 0x4dc483
mov al, byte [edx + 0xf]
mov byte [esp + 0x2b], al
movzx eax, al
shr eax, 1
and eax, 1
mov dword [esp + 0x54], eax
je 0x4daaea
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x4daaea
inc dword [esp + 0x18]
jmp 0x4dabe2
test byte [esp + 0x2b], 1
jne 0x4daaf5
xor edx, edx
jmp 0x4dab35
cmp dword [esp + 0x10], 0
mov edx, 1
je 0x4dab35
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 0x2a]
cwde
mov dword [esp + 0x64], eax
cmp eax, edx
jl 0x4dab35
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x64]
mov ecx, dword [eax + 4]
nop dword [eax]
movsx eax, word [ecx]
cmp eax, dword [esp + 0x30]
je 0x4dab31
inc edx
add ecx, 2
cmp edx, esi
jle 0x4dab20
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4dab49
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
jmp 0x4dab51
mov dword [esp + 0x20], 0
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
mov dword [esp + 0x24], 0x71078c
jne 0x4dab69
mov dword [esp + 0x24], 0x710784
test byte [esp + 0x2b], 4
jne 0x4dab7a
mov dword [esp + 0x38], 0x71cd0d
jmp 0x4dabaa
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x48], eax
lea eax, [ecx + 1]
mov dword [esp + 0x64], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4dab90
mov eax, dword [esp + 0x48]
sub ecx, dword [esp + 0x64]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
push dword [esp + 0x54]
xor eax, eax
cmp byte [ecx + 0xc], al
push edx
push dword [esp + 0x28]
setne al
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push dword [ecx]
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x40]
push 1
push esi
call fcn.004a2100
mov ecx, dword [esp + 0x58]
add esp, 0x28
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
inc ecx
add edx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
movzx eax, word [eax + 0x2a]
cwde
cmp ecx, eax
jl 0x4daac4
jmp 0x4dc483
test ecx, ecx
je 0x4dc483
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004c5c70
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4dac62
push dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
lea edx, [eax + 2]
push dword [esp + 0x38]
call fcn.004c5ab0
add esp, 8
test eax, eax
je 0x4dc483
test byte [eax + 0x24], 0x20
je 0x4dc483
mov ecx, eax
call fcn.004c6a80
mov dword [esp + 0x14], eax
test eax, eax
je 0x4dc483
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 8]
call fcn.004dd8b0
mov ecx, dword [edi + 8]
or ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
je 0x4dac91
mov eax, dword [esp + 0xc]
movzx ecx, word [edx + 0x34]
mov dword [eax + 0x2c], 6
mov eax, ecx
jmp 0x4daca0
mov ecx, dword [esp + 0xc]
movzx eax, word [edx + 0x32]
mov dword [ecx + 0x2c], 3
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x48], eax
call fcn.004cbdc0
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x18], edx
test cx, cx
je 0x4dc483
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + edx*2]
mov dword [esp + 0x64], eax
test ax, ax
jns 0x4dace8
xor ecx, ecx
jmp 0x4dacfb
movsx ecx, ax
mov eax, dword [esp + 0x48]
add ecx, ecx
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*8]
mov eax, dword [esp + 0x64]
push ecx
cwde
push eax
push edx
push 0x71079c
push 1
push esi
call fcn.004a2100
mov eax, dword [edi + 8]
add esp, 0x18
or eax, dword [edi + 0xc]
je 0x4dad4d
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [esp + 0x18]
movzx eax, word [eax + 0x32]
cmp edx, eax
setl cl
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
push dword [eax + edx*4]
mov eax, dword [ecx + 0x1c]
movzx eax, byte [eax + edx]
push eax
push 0x710794
push 4
push esi
call fcn.004a2100
add esp, 0x18
mov eax, dword [esp + 0xc]
mov edx, 0x51
mov ecx, esi
push dword [eax + 0x2c]
push 1
call fcn.004a1f70
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x20]
inc edx
movzx eax, cx
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x4dacd0
jmp 0x4dc483
test ecx, ecx
je 0x4dc483
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004c5980
mov edi, eax
add esp, 4
test edi, edi
je 0x4dc483
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 8]
call fcn.004dd8b0
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [ecx + 0x2c], 5
call fcn.004cbdc0
mov edi, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edi, edi
je 0x4dc483
mov dword [esp + 0x68], 0x7107a4
mov dword [esp + 0x6c], 0x7107ac
mov dword [esp + 0x70], 0x7107b4
nop dword [eax]
xor eax, eax
cmp dword [edi + 0x24], eax
setne al
push eax
mov eax, dword [edi + 0x38]
and eax, 3
push dword [esp + eax*4 + 0x6c]
xor eax, eax
cmp byte [edi + 0x36], al
setne al
push eax
push dword [edi]
push ecx
push 0x7107c0
push 1
push esi
call fcn.004a2100
mov ecx, dword [esp + 0x30]
add esp, 0x20
mov edi, dword [edi + 0x14]
inc ecx
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x4dadf0
jmp 0x4dc483
mov eax, dword [esp + 0xc]
xor edi, edi
mov edx, dword [esp + 8]
mov dword [eax + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x4dc483
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [edx + 0x10]
add edx, ecx
mov eax, dword [edx + 4]
test eax, eax
je 0x4dae7f
mov ecx, eax
call fcn.0049f0f0
push eax
push dword [edx]
push edi
push 0x7107bc
push 1
push esi
call fcn.004a2100
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 8]
inc edi
add ecx, 0x10
mov dword [esp + 0x10], ecx
cmp edi, dword [edx + 0x14]
jl 0x4dae54
jmp 0x4dc483
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x10], ecx
mov dword [eax + 0x2c], 2
mov edi, dword [edx + 0x18c]
test edi, edi
je 0x4dc483
mov eax, dword [edi + 8]
push dword [eax]
push ecx
push 0x7107cc
push 1
push esi
call fcn.004a2100
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [edi]
inc ecx
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x4daeb8
jmp 0x4dc483
mov eax, dword [esp + 0xc]
mov dword [eax + 0x2c], 2
mov eax, 0x71d1b0
mov dword [esp + 0x10], eax
mov edi, dword [eax]
test edi, edi
je 0x4daf29
nop dword [eax]
test dword [edi + 4], 0x40000
jne 0x4daf1e
push 1
push dword [edi + 0x20]
push 0x7107c8
push 1
push esi
call fcn.004a2100
add esp, 0x14
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x4daf00
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, 0x71d20c
jl 0x4daef6
mov edx, dword [esp + 8]
mov edi, dword [edx + 0x17c]
test edi, edi
je 0x4dc483
nop dword [eax]
mov eax, dword [edi + 8]
push 0
push dword [eax + 0x20]
push 0x7107d4
push 1
push esi
call fcn.004a2100
mov edi, dword [edi]
add esp, 0x14
test edi, edi
jne 0x4daf50
jmp 0x4dc483
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [eax + 0x2c], 1
mov edi, dword [edx + 0x160]
test edi, edi
je 0x4dc483
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x7107d0
push 1
push esi
call fcn.004a2100
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x4daf90
jmp 0x4dc483
mov edi, 0x6ceb00
push dword [edi]
push 0x7107e0
push 1
push esi
call fcn.004a2100
add edi, 0x10
add esp, 0x10
cmp edi, 0x6cef00
jl 0x4dafb6
jmp 0x4dc483
test ecx, ecx
je 0x4dc483
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004c5980
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
je 0x4dc483
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4dc483
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 8]
call fcn.004dd8b0
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x20], 0
mov dword [ecx + 0x2c], 8
call fcn.004cbdc0
xor eax, eax
xor edx, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x14], edx
jle 0x4db09e
lea eax, [edi + 0x24]
mov dword [esp + 0x18], eax
mov cl, byte [edi + 0x19]
push 0x7107d8
call fcn.004d9c80
mov cl, byte [edi + 0x1a]
push eax
call fcn.004d9c80
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
add ecx, ecx
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
push dword [edi + 8]
push edx
push dword [esp + 0x3c]
push 0x7107e8
push 1
push esi
call fcn.004a2100
mov edx, dword [esp + 0x3c]
add esp, 0x2c
add dword [esp + 0x18], 8
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [edi + 0x14]
jl 0x4db043
mov eax, dword [esp + 0x20]
mov edi, dword [edi + 4]
inc eax
mov dword [esp + 0x20], eax
test edi, edi
jne 0x4db031
jmp 0x4dc483
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x24], eax
inc eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4dc483
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4db101
push dword [esp + 0x38]
xor edx, edx
push ecx
mov ecx, edi
call fcn.004c5ab0
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x4db106
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
test edi, edi
je 0x4db49f
cmp dword [edi + 0x10], 0
je 0x4db49f
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 8]
call fcn.004dd8b0
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x3c], eax
call fcn.004cbdc0
push dword [edi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0
push dword [edi + 0x1c]
call fcn.004c52d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
movsx eax, word [edi + 0x2a]
inc ecx
add eax, ecx
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x2c]
jle 0x4db169
mov dword [ecx + 0x2c], eax
push 0x61
push edi
push dword [esp + 0x44]
xor edx, edx
call fcn.004d4580
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push dword [edi]
call fcn.004a2050
mov eax, dword [edi + 0x10]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
test eax, eax
je 0x4db267
push dword [esp + 0x38]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc]
call fcn.004c5980
mov edi, eax
add esp, 4
test edi, edi
je 0x4db247
push dword [edi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0
push dword [edi + 0x1c]
mov dword [esp + 0x20], 0
call fcn.004c52d0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
add esp, 0xc
mov edx, edi
push 0
push eax
push dword [esp + 0x20]
call fcn.004d1f20
add esp, 0xc
test eax, eax
jne 0x4dc483
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4db220
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push 0x61
push edi
push dword [esp + 0x44]
call fcn.004d4580
add esp, 0xc
jmp 0x4db247
push dword [esp + 0x3c]
mov edx, 0x61
mov ecx, esi
push dword [eax + 0x2c]
push dword [esp + 0x38]
call fcn.004a1e40
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.004a2e50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4db1a2
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x28], ecx
jge 0x4db273
mov dword [eax + 0x28], ecx
push 0
mov edx, 0x24
mov ecx, esi
call fcn.004a1f10
mov edi, dword [edi + 0x10]
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4db47d
nop
push dword [esp + 0x38]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0xc]
call fcn.004c5980
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
test eax, eax
je 0x4db2e4
lea ecx, [esp + 0x20]
mov edx, eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edi
call fcn.004d1f20
add esp, 0xc
mov eax, dword [esp + 0xc]
xor edi, edi
mov ecx, dword [esp + 0x3c]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x14], edi
jle 0x4db367
mov eax, dword [esp + 0x24]
lea edx, [ecx + 0x24]
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4db31e
mov ecx, dword [ecx + edi*4]
jmp 0x4db320
mov ecx, dword [edx]
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0
mov ecx, esi
call fcn.004bd110
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004a1f70
mov ecx, dword [esp + 0x44]
inc edi
mov edx, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x18]
add edx, 8
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
cmp edi, dword [ecx + 0x14]
jl 0x4db311
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4db3be
mov edi, dword [esp + 0x3c]
push dword [edi + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004d46c0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, 0x5c
push eax
push ecx
push dword [edi + 0x14]
lea eax, [ecx + 1]
mov ecx, esi
push eax
call fcn.004a22b0
add esp, 0x14
mov edx, 0x1d
mov ecx, esi
push 0
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x28]
call fcn.004a24e0
add esp, 0x10
jmp 0x4db3f4
cmp dword [esp + 0x64], 0
je 0x4db3f0
mov eax, dword [esp + 0x24]
mov edx, 0x1e
inc eax
mov ecx, esi
push eax
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [esp + 0x24]
call fcn.004a1e40
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, esi
call fcn.004a1fe0
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, esi
mov edx, 0x80
test byte [eax + 0x24], 0x20
mov eax, dword [esp + 0x2c]
je 0x4db40e
mov edx, 0x49
inc eax
push eax
push 0
call fcn.004a1f70
mov eax, dword [esp + 0x24]
add esp, 8
dec eax
push eax
push dword [edi + 8]
mov eax, dword [esp + 0x34]
push 0x7107e4
add eax, 2
push eax
push esi
call fcn.004a2100
add esp, 0x14
mov edx, 0x51
mov ecx, esi
push 4
push dword [esp + 0x30]
call fcn.004a1f70
mov edx, dword [esp + 0x38]
add esp, 8
mov ecx, esi
call fcn.004a2630
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
call fcn.004803b0
mov edi, dword [edi + 4]
inc dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x4db2a0
mov eax, dword [esp + 0x4c]
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.004a1f70
mov edx, dword [esp + 0x54]
add esp, 8
mov ecx, esi
call fcn.004a2960
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4db0e2
jmp 0x4dc483
test ecx, ecx
je 0x4dc483
xor dl, dl
call fcn.004d9720
mov ecx, dword [esp + 8]
movzx edx, al
call fcn.004d1da0
jmp 0x4dc483
mov eax, dword [esp + 0x50]
or edx, 0xffffffff
mov edi, dword [esp + 0xc]
movzx eax, byte [eax]
mov al, byte [eax + 0x6cd730]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x24]
cmp dword [eax], 0
mov eax, dword [esp + 0x1c]
cmove eax, edx
mov dword [edi + 0x2c], 6
mov dword [esp + 0x1c], eax
mov eax, 0x64
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4db52d
lea edx, [esp + 0x44]
call fcn.00484370
mov eax, dword [esp + 0x44]
mov ecx, 0x64
test eax, eax
cmovle eax, ecx
mov dword [esp + 0x64], eax
dec eax
mov edx, 0x46
push 1
push eax
mov ecx, esi
call fcn.004a1f70
mov eax, dword [esp + 0x10]
xor edx, edx
add esp, 8
mov dword [esp + 0x30], edx
cmp dword [eax + 0x14], edx
jle 0x4dbf3d
mov ecx, dword [esp + 0x1c]
nop word [eax + eax]
mov dword [esp + 0x20], 0
test ecx, ecx
js 0x4db574
cmp edx, ecx
jne 0x4dbf2f
mov ecx, edi
call fcn.004cbdc0
mov eax, dword [esp + 8]
xor edx, edx
mov ecx, dword [esp + 0x30]
shl ecx, 4
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax + 0xc]
add eax, 8
mov dword [esp + 0x44], eax
mov eax, dword [eax + 8]
test eax, eax
je 0x4db5e0
mov esi, eax
mov eax, dword [esi + 8]
xor edi, edi
mov ecx, dword [eax + 8]
test byte [eax + 0x24], 0x20
lea eax, [edx + 1]
cmovne eax, edx
mov edx, eax
test ecx, ecx
je 0x4db5c9
nop dword [eax + eax]
mov ecx, dword [ecx + 0x14]
inc edx
inc edi
test ecx, ecx
jne 0x4db5c0
mov eax, dword [esp + 0x20]
cmp edi, eax
mov esi, dword [esi]
cmovg eax, edi
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4db5a3
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00480700
mov edi, eax
add esp, 8
test edi, edi
je 0x4dbf3d
mov eax, dword [esp + 0x44]
xor edx, edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4db64c
mov ecx, dword [eax + 8]
test byte [ecx + 0x24], 0x20
jne 0x4db625
mov eax, dword [ecx + 0x1c]
inc edx
mov dword [edi + edx*4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4db642
nop dword [eax]
mov eax, dword [ecx + 0x2c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4db630
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4db611
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [edi], edx
add ecx, 8
push 0xfffffffffffffff1
mov eax, dword [eax + 0x2c]
cmp eax, ecx
push edi
cmovg ecx, eax
mov eax, dword [esp + 0x14]
push 1
push edx
push 2
mov dword [eax + 0x2c], ecx
mov edx, 0x92
mov ecx, esi
mov byte [eax + 0x13], 0
mov dword [eax + 0x1c], 0
call fcn.004a22b0
mov eax, dword [esp + 0x44]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.004a2940
push 2
mov edx, 0x32
call fcn.004a1f10
mov edx, dword [esp + 0xc]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x54]
push 0xfffffffffffffff9
push ecx
mov ecx, dword [edx + 0x10]
push dword [eax + ecx]
push 0x710808
push edx
call fcn.00482940
add esp, 0x10
mov edx, 0x71
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.004a22b0
add esp, 0x14
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 2
call fcn.004a1e40
add esp, 0xc
mov ecx, esi
call fcn.004d9d70
mov edx, edi
mov ecx, esi
call fcn.004a2960
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 8]
mov dword [esp + 0x48], edi
test edi, edi
je 0x4dbf1f
nop word [eax + eax]
mov edi, dword [edi + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], 0xffffffff
cmp dword [edi + 0x1c], 1
jl 0x4dbf0d
test byte [edi + 0x24], 0x20
jne 0x4db751
mov dword [esp + 0x18], 0
jmp 0x4db75c
mov ecx, edi
call fcn.004c6a80
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
mov edx, edi
push eax
push 0
push 1
push 0
push 0x61
call fcn.004d7d30
push 7
push 0
mov edx, 0x46
mov ecx, esi
call fcn.004a1f70
mov edi, dword [edi + 8]
add esp, 0x20
test edi, edi
je 0x4db7c2
mov eax, 8
mov dword [esp + 0x44], eax
nop dword [eax]
push eax
push 0
mov edx, 0x46
mov ecx, esi
call fcn.004a1f70
mov eax, dword [esp + 0x4c]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x44], eax
test edi, edi
jne 0x4db7a0
push 0
push dword [esp + 0x30]
mov edx, 0x24
mov ecx, esi
call fcn.004a1f70
push 1
push 7
mov edx, 0x53
mov ecx, esi
call fcn.004a1f70
mov edi, dword [esp + 0x48]
add esp, 0x10
cmp byte [esp + 0x2b], 0x71
mov dword [esp + 0x68], eax
je 0x4db828
movsx ecx, word [edi + 0x2a]
mov edx, 0x5a
dec ecx
push 3
push ecx
push dword [esp + 0x34]
mov ecx, esi
call fcn.004a1e40
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4db828
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x44], ecx
cmp ax, word [edi + 0x2a]
jge 0x4db901
xor edx, edx
mov dword [esp + 0x20], edx
movsx eax, word [edi + 0x28]
cmp ecx, eax
je 0x4db8e9
mov eax, dword [edi + 4]
cmp byte [edx + eax + 0xc], 0
je 0x4db8e9
push 3
push ecx
push dword [esp + 0x34]
mov edx, edi
mov ecx, esi
call fcn.004bd110
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4db884
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
push 3
mov edx, 0x33
mov ecx, esi
call fcn.004a1f10
mov edx, dword [esp + 0x3c]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + 4]
push dword [eax + ecx]
push dword [edx]
push 0x7107f4
push dword [esp + 0x14]
call fcn.00482940
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
mov edx, 0x71
mov ecx, esi
call fcn.004a22b0
add esp, 0x24
mov ecx, esi
call fcn.004d9d70
mov edx, edi
mov ecx, esi
call fcn.004a2960
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
movsx eax, word [edi + 0x2a]
inc ecx
add edx, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], edx
cmp ecx, eax
jl 0x4db840
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4dba0c
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x20]
and eax, 0x200
or eax, 0
jne 0x4dba0c
push eax
call fcn.004b9150
mov ecx, dword [esp + 0xc]
add esp, 4
mov edx, eax
mov dword [esp + 0x20], edx
cmp byte [ecx + 0x51], 0
jne 0x4dba03
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x38]
dec ecx
mov dword [esp + 0x44], ecx
lea eax, [ecx - 1]
mov dword [edi + 0x38], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [edi + 0x34], eax
mov edi, dword [edx]
dec edi
test edi, edi
jle 0x4db995
lea eax, [edi + edi*2]
lea esi, [eax*8 + 4]
add esi, edx
nop
push 0
push ecx
push dword [esi]
push dword [esp + 0x18]
call fcn.004bef60
mov ecx, dword [esp + 0x54]
lea esi, [esi - 0x18]
dec edi
add esp, 0x10
test edi, edi
jg 0x4db970
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
push 0x10
push dword [esp + 0x50]
push dword [edx + 4]
push edi
call fcn.004bebb0
mov edx, dword [esp + 0x54]
mov ecx, esi
call fcn.004a2630
mov dword [edi + 0x34], 0
mov edi, dword [esp + 0x48]
push dword [edi]
push 0x710828
push dword [esp + 0x20]
call fcn.00482940
add esp, 0x1c
mov edx, 0x71
mov ecx, esi
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
call fcn.004a22b0
add esp, 0x14
mov ecx, esi
call fcn.004d9d70
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.004a2630
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
test edx, edx
je 0x4dba0c
call fcn.004b9c80
cmp byte [esp + 0x2b], 0x71
je 0x4dbd05
mov edi, dword [edi + 8]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4dbd05
mov ecx, dword [esp + 0x10]
mov eax, 8
sub eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
nop dword [eax]
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x4c], eax
mov dword [ecx + 0x38], eax
cmp dword [esp + 0x18], edi
je 0x4dbcf2
push dword [esp + 0x40]
lea eax, [esp + 0x64]
mov edx, edi
push dword [esp + 0x58]
push eax
push 0
push 0
push dword [esp + 0x40]
call fcn.004ce840
mov ecx, dword [esp + 0x3c]
mov edx, 0x53
add ecx, dword [esp + 0x5c]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], edi
call fcn.004a1f70
movzx ecx, word [edi + 0x34]
mov edx, 0x1d
push ecx
push dword [esp + 0x64]
mov ecx, esi
push dword [esp + 0x74]
push dword [esp + 0x50]
call fcn.004a24e0
push 0x710820
mov edx, 3
mov dword [esp + 0x80], eax
mov ecx, esi
call fcn.004a2050
add esp, 0x34
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 7
call fcn.004a1e40
add esp, 0xc
mov edx, 4
mov ecx, esi
push 0x710864
call fcn.004a2050
add esp, 4
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 4
call fcn.004a1e40
add esp, 0xc
mov edx, 4
mov ecx, esi
push dword [edi]
call fcn.004a2050
add esp, 4
mov dword [esp + 0x58], eax
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 4
call fcn.004a1e40
add esp, 0xc
mov ecx, esi
call fcn.004d9d70
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x5c], eax
test ecx, ecx
jns 0x4dbb49
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4dbb58
mov eax, 0x71d19c
jmp 0x4dbb61
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [edi + 0x36], 0
je 0x4dbc83
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edi, edi
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
cmp cx, word [eax + 0x32]
jae 0x4dbbd7
nop word [eax + eax]
mov eax, dword [eax + 4]
movsx ecx, word [eax + edi*2]
test ecx, ecx
js 0x4dbbab
mov eax, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
jne 0x4dbbc6
mov eax, dword [esp + 0x40]
mov ecx, esi
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.004a1f70
mov edx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 0x14]
inc edi
movzx eax, word [eax + 0x32]
cmp edi, eax
mov eax, dword [esp + 0x14]
jl 0x4dbb90
push dword [esp + 0x24]
mov edx, 5
mov ecx, esi
call fcn.004a1f10
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004a1fe0
mov edx, dword [esi + 0x6c]
test edi, edi
jns 0x4dbc01
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4dbc10
mov eax, 0x71d19c
jmp 0x4dbc19
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x14]
mov ecx, esi
mov dword [eax + 8], edx
mov edx, 0x26
movzx eax, word [edi + 0x32]
push eax
push dword [esp + 0x44]
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.004a24e0
push 0x710848
mov edx, 3
mov ecx, esi
call fcn.004a2050
mov edx, dword [esp + 0x6c]
add esp, 0x14
mov ecx, esi
call fcn.004a1fe0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4dbc7a
push edx
mov edx, esi
call fcn.004a25e0
add esp, 4
jmp 0x4dbc83
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4dbc91
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4dbca0
mov eax, 0x71d19c
jmp 0x4dbca9
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4dbcee
mov eax, dword [esp + 0xc]
not edx
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4dbcda
push edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 8]
call fcn.004a25e0
add esp, 4
jmp 0x4dbcee
mov edi, dword [esp + 0xc]
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0xc]
mov edi, dword [edi + 0x14]
inc dword [esp + 0x24]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4dba40
mov edi, dword [esp + 0x68]
mov edx, 5
push edi
push dword [esp + 0x30]
mov ecx, esi
call fcn.004a1f70
mov edx, dword [esi + 0x6c]
lea ecx, [edi - 1]
add esp, 8
test ecx, ecx
jns 0x4dbd2a
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4dbd39
mov eax, 0x71d19c
jmp 0x4dbd42
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
cmp byte [esp + 0x2b], 0x71
mov dword [eax + 8], edx
je 0x4dbf0d
push 0x710880
mov edx, 2
mov ecx, esi
call fcn.004a2050
mov eax, dword [esp + 0x3c]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4dbf0d
mov ecx, dword [esp + 0x18]
mov edx, 8
mov dword [esp + 0x40], edx
cmp ecx, eax
je 0x4dbef9
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4dbdb7
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
add eax, 0xfffffff8
add eax, edx
mov edx, 0x5d
push 3
push eax
call fcn.004a1e00
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4dbdf0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff8
mov dword [ecx + 0x10], 0
add eax, edx
mov dword [ecx + 4], eax
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x4dbe10
push 3
push 0
push edx
mov edx, 0x35
mov ecx, esi
call fcn.004a1e00
add esp, 0xc
mov edi, eax
jmp 0x4dbe43
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 3
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4dbe5a
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x20]
mov edx, 4
mov ecx, esi
push dword [eax]
call fcn.004a2050
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4dbe8e
push 3
push 2
push 4
mov edx, 0x6c
mov ecx, esi
call fcn.004a1e00
add esp, 0xc
jmp 0x4dbec1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 4], 4
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 3
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
call fcn.004d9d70
mov edx, dword [esi + 0x6c]
test edi, edi
jns 0x4dbed2
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4dbee1
mov eax, 0x71d19c
jmp 0x4dbeea
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
inc edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], edx
test eax, eax
jne 0x4dbd84
mov edi, dword [esp + 0x48]
mov edi, dword [edi]
mov dword [esp + 0x48], edi
test edi, edi
jne 0x4db720
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0xc]
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [eax + 0x14]
jl 0x4db560
push ecx
push 0x6d0d50
mov edx, 7
mov ecx, esi
call fcn.004a27d0
mov edx, eax
add esp, 8
test edx, edx
je 0x4dbf85
mov eax, dword [0x6cbc6c]
mov ecx, 1
sub ecx, dword [esp + 0x64]
test eax, eax
mov dword [edx + 8], ecx
mov ecx, 0x712300
cmovne ecx, eax
mov byte [edx + 0x29], 0xff
mov dword [edx + 0x38], 0x71087c
mov byte [edx + 0x65], 0xff
mov dword [edx + 0x74], ecx
mov eax, dword [esi]
mov ecx, 0x71d19c
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x4dbf98
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x4dc483
test ecx, ecx
jne 0x4dbfd3
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.004dd700
test eax, eax
jne 0x4dc483
mov eax, dword [edi]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x6cc750]
call fcn.004d9b70
jmp 0x4dc483
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x10]
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x4e]
and al, 5
cmp al, 1
je 0x4dc483
mov eax, dword [0x6cc750]
mov esi, 0x6cc750
test eax, eax
je 0x4dc02f
mov edx, eax
call fcn.00483a20
test eax, eax
je 0x4dc013
mov eax, dword [esi + 8]
add esi, 8
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x4dbff8
jmp 0x4dc038
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x4dc022
mov ecx, 2
mov eax, dword [esp + 8]
mov byte [eax + 0x4e], cl
mov eax, dword [edi + 0xc]
mov byte [eax + 0x4d], cl
cmp dword [esi], 0
jne 0x4dc483
push dword [esp + 0x34]
push 0x7108f0
push dword [esp + 0x14]
call fcn.00483850
add esp, 0xc
jmp 0x4dc483
mov eax, dword [edi + 8]
mov ecx, esi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
call fcn.004a3260
cmp dword [esp + 0x34], 0
je 0x4dc0aa
test byte [edi + 5], 8
jne 0x4dc0aa
push ecx
push 0x6cd858
mov edx, 2
mov ecx, esi
call fcn.004a27d0
mov ecx, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
call fcn.00484500
mov dword [esi + 0x20], eax
jmp 0x4dc483
push ecx
push 0x6cc9a4
mov edx, 3
mov ecx, esi
call fcn.004a27d0
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x20], ecx
and dword [esi + 0x98], 0xffffffbf
jmp 0x4dc483
mov eax, dword [esp + 0xc]
xor edi, edi
push edi
mov dword [eax + 0x2c], 1
call fcn.0050bcd0
add esp, 4
test eax, eax
je 0x4dc124
push eax
mov edx, 1
mov ecx, esi
inc edi
call fcn.004a2050
add esp, 4
mov edx, 0x51
mov ecx, esi
push 1
push 1
call fcn.004a1f70
push edi
call fcn.0050bcd0
add esp, 0xc
test eax, eax
jne 0x4dc0f6
and dword [esi + 0x98], 0xffffffbf
jmp 0x4dc483
mov eax, dword [esp + 0x24]
mov edi, 0xa
cmp dword [eax], 0
cmovne edi, dword [esp + 0x1c]
mov dword [esp + 0x68], edi
xor edi, edi
test ecx, ecx
je 0x4dc18d
mov edx, 0x7108e8
call fcn.00483a20
test eax, eax
jne 0x4dc15e
lea edi, [eax + 1]
jmp 0x4dc18d
mov ecx, dword [esp + 0x34]
mov edx, 0x710918
call fcn.00483a20
test eax, eax
jne 0x4dc175
lea edi, [eax + 2]
jmp 0x4dc18d
mov ecx, dword [esp + 0x34]
mov edx, 0x71090c
call fcn.00483a20
test eax, eax
mov ecx, 3
cmove edi, ecx
mov eax, dword [esp + 0xc]
mov edx, 6
push 1
push edi
push dword [esp + 0x70]
mov ecx, esi
mov dword [eax + 0x2c], 3
call fcn.004a1e40
add esp, 0xc
mov edx, 0x51
mov ecx, esi
push 3
push 1
call fcn.004a1f70
jmp 0x4dc480
test ecx, ecx
je 0x4dc1d9
call fcn.00484500
push eax
push dword [esp + 0xc]
call fcn.00509ad0
add esp, 8
mov eax, dword [esp + 8]
cmp dword [eax + 0xf8], 0x509a90
jne 0x4da1ac
mov eax, dword [eax + 0xfc]
jmp 0x4dc476
push dword [esp + 8]
call fcn.00508200
add esp, 4
jmp 0x4dc483
test ecx, ecx
je 0x4dc223
call fcn.00484500
mov ecx, eax
mov dword [esp + 0x10], ecx
test cl, 2
je 0x4dc483
jmp 0x4dc22b
mov dword [esp + 0x10], 0xfffe
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x64], eax
inc eax
cmp dword [esp + 0x38], 0
mov dword [ecx + 0x28], eax
je 0x4dc24b
mov dword [esp + 0x18], edi
jmp 0x4dc25f
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x18], eax
cmp edi, eax
jg 0x4dc3c7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edi, 1
je 0x4dc3b3
mov edx, edi
call fcn.004cbdc0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov eax, dword [ecx + eax + 0xc]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x48], edi
test edi, edi
je 0x4dc3a3
nop word [eax + eax]
mov edi, dword [edi + 8]
test dword [edi + 0x24], 0x100
je 0x4dc391
mov ax, word [edi + 0x2c]
add ax, 0x2e
movzx ecx, ax
mov eax, dword [edi + 8]
mov dword [esp + 0x68], ecx
test eax, eax
je 0x4dc2d3
test byte [eax + 0x38], 0x80
je 0x4dc31c
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4dc2c6
test cx, cx
je 0x4dc31c
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0xc]
push 0x61
push edi
push dword [esp + 0x24]
call fcn.004d4580
mov eax, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, 0x21
cwde
and ecx, 1
add ecx, 2
push eax
mov eax, dword [esi + 0x6c]
add eax, ecx
mov ecx, esi
push eax
push dword [esp + 0x6c]
call fcn.004a1e40
mov edx, dword [esp + 0x14]
add esp, 0xc
push dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x18]
push dword [ecx + eax]
push 0x710930
push edx
call fcn.00482940
add esp, 0x10
mov edx, eax
test byte [esp + 0x10], 1
je 0x4dc375
mov ecx, dword [esp + 0xc]
call fcn.004c00f0
push 0xfffffffffffffff9
push edx
mov edi, eax
mov edx, 0x71
push 0
push edi
push 0
mov ecx, esi
call fcn.004a22b0
add esp, 0x14
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.004a1f70
add esp, 8
jmp 0x4dc38d
push 0xfffffffffffffff9
push edx
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.004a22b0
add esp, 0x14
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x48]
mov edi, dword [edi]
mov dword [esp + 0x48], edi
test edi, edi
jne 0x4dc2a0
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
inc edi
add eax, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
cmp edi, edx
jle 0x4dc267
mov edx, 0x9e
mov ecx, esi
call fcn.004a1eb0
jmp 0x4dc483
test ecx, ecx
je 0x4dc3f9
lea edx, [esp + 0x68]
call fcn.00484260
test eax, eax
jne 0x4dc3f9
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.0047fe20
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0047fe20
push edx
push eax
mov ecx, esi
call fcn.004d9a40
add esp, 0x10
jmp 0x4dc483
test ecx, ecx
je 0x4dc44a
lea edx, [esp + 0x68]
call fcn.00484260
test eax, eax
jne 0x4dc44a
cmp dword [esp + 0x6c], eax
jl 0x4dc44a
mov eax, dword [esp + 0x68]
jg 0x4dc431
test eax, eax
jb 0x4dc44a
mov ecx, 8
and eax, 0x7fffffff
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esp + 8]
mov dword [ecx + 0x98], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x98]
jmp 0x4dc476
test ecx, ecx
je 0x4dc46c
call fcn.00484500
push eax
push dword [esp + 0xc]
call fcn.00509260
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x1c8]
cdq
push edx
push eax
mov ecx, esi
call fcn.004d9a40
add esp, 8
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 8]
call fcn.004803b0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 8]
call fcn.004803b0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret