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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
lea esi, [edx + 0xc]
mov dword [esp + 0x88], ecx
call 0x4d632e
pop eax
lea ecx, [edx + 0x18]
mov edi, edx
mov dword [esp + 0x10], esi
mov esi, 0x800013
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], ecx
jmp 0x4d635a
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
cmp byte [edi + 0x3c], 0
je 0x4d6380
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4d63e8
jmp 0x4d642b
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4d63b6
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.00551930
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4d641c
cmp eax, 5
je 0x4d7f56
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4d63d6
jmp 0x4d7f4a
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4d63d3
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4d642b
bt esi, ecx
jae 0x4d642b
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4d635a
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4d6350
mov ecx, dword [esp + 0x10]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
jmp 0x4d6350
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4d63c9
jmp 0x4d63d3
cmp eax, 0x5b
jne 0x4d7f26
dec byte [edi + 0x40]
je 0x4d7f40
mov byte [edi + 0x3c], 0
mov esi, dword [esp + 0x58]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4d646e
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4d6463
mov ecx, dword [esp + 0x10]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x5b
inc eax
mov dword [edi + 0x14], eax
mov al, 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], 0
mov dword [esp + 4], eax
jmp 0x4d64aa
cmp byte [edi + 0x3c], 0
je 0x4d6500
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4d656c
mov eax, dword [ecx*4 + 0x4d80e0]
add eax, esi
jmp eax
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4d6536
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.00551930
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4d658a
cmp eax, 5
je 0x4d7f7a
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4d6556
jmp 0x4d7f72
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4d6553
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4d64c2
cmp eax, 0x5d
je 0x4d7e86
cmp byte [esp + 4], 0
je 0x4d80ab
cmp bh, 0x5d
jne 0x4d65a4
jmp 0x4d809e
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4d6549
jmp 0x4d6553
mov al, 1
jmp 0x4d65be
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
movzx eax, byte [edi + 0x3c]
test al, al
je 0x4d65e0
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4d664c
jmp 0x4d6696
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4d661a
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.00551930
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4d6687
cmp eax, 5
je 0x4d7f1c
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4d663a
jmp 0x4d7f14
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4d6637
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4d6696
mov edx, 0x800013
bt edx, ecx
jae 0x4d6696
mov byte [edi + 0x3c], 0
xor eax, eax
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4d65be
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4d65b0
mov ecx, dword [esp + 0x10]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
jmp 0x4d65b0
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4d662d
jmp 0x4d6637
cmp bh, 0x5b
je 0x4d6b9a
cmp eax, 0x7b
jne 0x4d80b8
dec byte [edi + 0x40]
je 0x4d8091
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4d66de
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4d66d3
mov ecx, dword [esp + 0x10]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x7b
inc eax
mov dword [edi + 0x14], eax
mov al, 1
mov cl, 2
mov ebx, 0x80000000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x4c], 0x80000001
mov dword [esp + 0x64], 0x80000000
mov dword [esp], eax
xor eax, eax
mov dword [esp + 8], eax
mov byte [esp + 0x60], cl
mov byte [esp + 0xc], al
mov dword [esp + 4], ebx
jmp 0x4d672a
cmp byte [edi + 0x3c], 0
je 0x4d6780
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4d67f0
mov eax, dword [ecx*4 + 0x4d8170]
add eax, esi
jmp eax
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4d67ba
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.00551930
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4d68b2
cmp eax, 5
je 0x4d7371
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4d67da
jmp 0x4d7177
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4d67d7
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4d6742
cmp eax, 0x7d
je 0x4d6cd2
test byte [esp + 0xc], 1
jne 0x4d7747
cmp bh, 0x22
jne 0x4d768b
mov byte [edi + 0x3c], 0
mov ebx, dword [esp + 4]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4d683e
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4d6833
mov ecx, dword [esp + 0x10]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x22
inc eax
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x10]
mov dword [edi + 8], 0
lea ecx, [esp + 0x18]
push edi
call fcn.0055a7b0
add esp, 4
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x18], 2
je 0x4d70ea
lea ecx, [esp + 0x50]
push dword [esp + 0x20]
call fcn.00550d60
add esp, 4
cmp byte [esp + 0x50], 0
jne 0x4d70ef
movzx eax, byte [esp + 0x51]
cmp eax, 4
jbe 0x4d6905
mov ecx, edi
call fcn.00406f10
test eax, eax
jne 0x4d70f3
mov ecx, edi
call fcn.004021f0
test eax, eax
mov byte [esp + 0xc], 1
je 0x4d672a
jmp 0x4d7115
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4d67cd
jmp 0x4d67d7
mov eax, dword [eax*4 + 0x4d8200]
add eax, esi
jmp eax
dec byte [edi + 0x40]
je 0x4d8091
mov byte [edi + 0x3c], 0
lea esi, [esp + 0x18]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4d6bd4
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4d6bc9
mov ecx, dword [esp + 0x10]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x5b
inc eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x78], edi
mov byte [esp + 0x7c], 1
jmp 0x4d6bea
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
cmp byte [edi + 0x3c], 0
je 0x4d6c10
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4d6c7a
jmp 0x4d6cc2
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4d6c48
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.00551930
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4d6cb3
cmp eax, 5
je 0x4d7354
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4d6c68
jmp 0x4d7348
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4d6c65
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4d6cc2
mov edx, 0x800013
bt edx, ecx
jae 0x4d6cc2
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4d6bea
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4d6be0
mov ecx, dword [esp + 0x10]
call fcn.004b76f0
mov eax, dword [edi + 0x14]
jmp 0x4d6be0
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4d6c5b
jmp 0x4d6c65
cmp eax, 0x5d
jne 0x4d6d70
mov bl, 2
jmp 0x4d6d8a
test byte [esp + 8], 1
mov eax, 0
mov ebx, dword [esp + 4]
cmovne eax, dword [esp + 0xb4]
cmp ebx, 0x80000000
sete byte [esp + 0xa0]
mov dword [esp + 0x84], eax
je 0x4d7189
mov esi, dword [esp + 0x4c]
mov eax, 0x80000000
mov ecx, dword [esp + 0xec]
cmp esi, 0x80000001
cmove esi, eax
mov eax, dword [esp + 0xb8]
cmovne ecx, dword [esp + 0xe4]
sete dl
cmovne eax, dword [esp + 0xb0]
cmp dword [esp + 0x64], 0x80000000
mov dword [esp + 0xec], ecx
mov dword [esp + 0xb8], eax
je 0x4d71cc
mov ebx, esi
and byte [esp + 0x60], 1
mov esi, dword [esp + 0x70]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ecx
jmp 0x4d7541
mov ecx, esi
mov edx, edi
mov byte [esp + 0x7c], 0
call fcn.00508aa0
cmp byte [esp + 0x18], 0
jne 0x4d6db4
movzx ebx, byte [esp + 0x19]
mov ecx, esi
lea edx, [esp + 0x78]
call fcn.0040e9f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d6df7
cmp eax, 1
jne 0x4d6db4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 0x64], ecx
jmp 0x4d6dff
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ebx, 0x80000000
jmp 0x4d7be5
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x78]
and bl, 1
mov byte [esp + 8], bl
lea eax, [esi + 0xc]
lea ecx, [esi + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
jmp 0x4d6e2a
cmp byte [esi + 0x3c], 0
je 0x4d6e50
mov bh, byte [esi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4d6ec0
jmp 0x4d6f44
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x24], eax
jne 0x4d6e8a
mov edx, dword [esp + 4]
lea ecx, [esp + 0x18]
call fcn.00551930
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4d6efb
cmp eax, 5
je 0x4d767e
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4d6eaa
jmp 0x4d7672
mov ecx, dword [esi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4d6ea7
add dword [esi + 0x38], eax
inc dword [esi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4d6f44
mov eax, dword [ecx*4 + 0x4d8214]
add eax, dword [esp + 0x58]
jmp eax
mov bh, byte [esp + 0x19]
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
je 0x4d6e9d
jmp 0x4d6ea7
cmp eax, 0x5d
je 0x4d76a0
cmp byte [esp + 0x7c], 0
je 0x4d764b
mov byte [esp + 0x7c], 0
cmp bh, 0x5d
je 0x4d733b
lea ebx, [esp + 0x18]
mov edx, esi
mov ecx, ebx
call fcn.004cf3c0
mov eax, dword [esp + 0x18]
cmp eax, 0x80000000
mov dword [esp + 4], eax
jne 0x4d6f8b
mov eax, dword [esp + 0x1c]
jmp 0x4d7bb8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov ecx, ebx
mov dword [esp + 0x5c], eax
call fcn.00413bc0
mov eax, dword [esp + 0x18]
cmp eax, 0x80000002
je 0x4d70da
cmp eax, 0x80000001
je 0x4d76bc
mov esi, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esi + 0xc]
lea ecx, [esi + 0x18]
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp], eax
mov dword [esp + 0x60], ecx
jmp 0x4d6ffa
cmp byte [esi + 0x3c], 0
je 0x4d7020
mov bh, byte [esi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4d7090
jmp 0x4d72bc
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x24], eax
jne 0x4d705a
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x18]
call fcn.00551930
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4d70cb
cmp eax, 5
je 0x4d7767
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4d707a
jmp 0x4d775b
mov ecx, dword [esi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4d7077
add dword [esi + 0x38], eax
inc dword [esi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4d72bc
mov eax, dword [ecx*4 + 0x4d82a4]
add eax, dword [esp + 0x58]
jmp eax
mov bh, byte [esp + 0x19]
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
je 0x4d706d
jmp 0x4d7077
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ebx, dword [esp + 0x4c]
jmp 0x4d7b48
mov dword [esp], edx
jmp 0x4d70f6
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov al, 1
mov dword [esp + 8], 0
mov cl, 1
cmp dword [esp + 0x64], 0x80000000
jne 0x4d73ba
jmp 0x4d743e
mov ebx, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 8], 0
mov cl, 1
mov al, 1
cmp dword [esp + 0x64], 0x80000000
jne 0x4d73ba
jmp 0x4d743e
movzx eax, bl
lea ecx, [esp + 0x18]
cmp eax, 5
je 0x4d7375
jmp 0x4d71b2
mov ecx, 0x581381
mov edx, 8
call fcn.0055a6b0
mov byte [esp + 0xc], 1
jmp 0x4d7279
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00487250
jmp 0x4d7399
mov byte [esp + 0xc], dl
mov ecx, 0x581389
mov edx, 8
call fcn.0055a6b0
test esi, 0x7fffffff
mov dword [esp], eax
je 0x4d71fe
push dword [esp + 0xb8]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x74], 0
je 0x4d725d
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
lea esi, [eax + 0x10]
jmp 0x4d7226
add esi, 0x20
dec ebx
je 0x4d725d
mov eax, dword [esi - 4]
test eax, eax
je 0x4d7240
cmp dword [esi], 0
je 0x4d7240
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi - 0x10]
test eax, eax
je 0x4d7220
cmp dword [esi - 0xc], 0
je 0x4d7220
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4d7220
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x4d7276
push dword [esp + 0x70]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp]
mov ecx, dword [esp + 0x84]
mov dword [esp], eax
test ecx, ecx
je 0x4d729c
cmp dword [esp + 0x14], 0
je 0x4d729c
push ecx
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0xa0]
cmp dword [esp + 0x64], 0x80000000
jne 0x4d73ba
jmp 0x4d743e
cmp eax, 0x5d
je 0x4d7796
cmp byte [esp + 0x7c], 0
je 0x4d773a
cmp bh, 0x5d
je 0x4d76e2
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.004c8cb0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x80000000
jne 0x4d72f9
mov eax, dword [esp + 0x1c]
jmp 0x4d7b31
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
movaps xmm0, xmmword [esp + 0xa0]
mov ebx, dword [esp + 4]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
mov dword [esp + 0xe8], esi
movaps xmmword [esp + 0x150], xmm0
mov dword [esp + 0x5c], ecx
mov dword [esp], edx
jmp 0x4d7be5
mov dword [esp + 0x18], 0x12
jmp 0x4d79fb
movzx eax, bl
cmp eax, 5
jne 0x4d7658
mov edx, dword [edi + 0x30]
mov dword [esp + 0x18], 2
mov ecx, esi
push dword [edi + 0x34]
call fcn.004871f0
add esp, 4
jmp 0x4d6db8
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 3
jmp 0x4d738b
mov edx, dword [edi + 0x30]
push dword [edi + 0x34]
call fcn.004871f0
add esp, 4
mov ebx, dword [esp + 4]
mov dword [esp], eax
mov al, 1
mov dword [esp + 8], 0
mov cl, 1
cmp dword [esp + 0x64], 0x80000000
je 0x4d743e
cmp dword [esp + 0x9c], 0
mov byte [esp + 0xa0], cl
mov byte [esp + 0xc], al
mov dword [esp + 4], ebx
je 0x4d7412
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
lea esi, [eax + 4]
jmp 0x4d73f6
add esi, 0x14
dec ebx
je 0x4d7412
mov eax, dword [esi - 4]
test eax, eax
je 0x4d73f0
cmp dword [esi], 0
je 0x4d73f0
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4d73f0
cmp dword [esp + 0x64], 0
je 0x4d742d
push dword [esp + 0x98]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [esp + 4]
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0xa0]
test al, al
je 0x4d7476
cmp dword [esp + 0x4c], 0x80000002
jl 0x4d7476
cmp dword [esp + 0x4c], 0
je 0x4d7476
push dword [esp + 0xb0]
push 0
push dword [0x5920d8]
mov byte [esp + 0xac], cl
call sub.KERNEL32.dll_HeapFree
movzx ecx, byte [esp + 0xa0]
cmp ebx, 0x80000000
setne al
test cl, al
je 0x4d74f5
cmp dword [esp + 0x74], 0
mov dword [esp + 4], ebx
je 0x4d74dd
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
lea esi, [eax + 0x10]
jmp 0x4d74a6
add esi, 0x20
dec ebx
je 0x4d74dd
mov eax, dword [esi - 4]
test eax, eax
je 0x4d74c0
cmp dword [esi], 0
je 0x4d74c0
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi - 0x10]
test eax, eax
je 0x4d74a0
cmp dword [esi - 0xc], 0
je 0x4d74a0
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4d74a0
cmp dword [esp + 4], 0
je 0x4d74f5
push dword [esp + 0x70]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x5c], 0
sete al
or al, byte [esp + 8]
test al, 1
jne 0x4d752f
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4d752f
cmp dword [esp + 0x14], 0
mov dword [esp + 4], 0x80000000
je 0x4d7537
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4d7537
mov dword [esp + 4], 0x80000000
mov ebx, dword [esp + 0x80]
mov esi, dword [esp]
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ad0
mov ecx, dword [esp + 4]
mov edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
cmp ecx, 0x80000000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ah, byte [esp + 0x60]
mov byte [esp + 0x44], ah
mov dword [esp + 0x48], edx
jne 0x4d75e3
mov ebx, 0x80000000
test edx, edx
je 0x4d7cd1
mov ecx, edx
call fcn.0040a690
jmp 0x4d7cd1
test edx, edx
je 0x4d75f2
lea ecx, [esp + 0x18]
mov esi, edx
jmp 0x4d7c76
lea eax, [esp + 0x20]
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 4]
mov ecx, dword [esp]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xd4], xmm2
movsd qword [esp + 0xcc], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xc4], xmm1
movsd qword [esp + 0xbc], xmm2
jmp 0x4d7cd8
mov dword [esp + 0x18], 7
jmp 0x4d79fb
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00487250
jmp 0x4d6db8
movzx eax, bl
cmp eax, 5
jne 0x4d7a12
mov dword [esp + 0x18], 2
jmp 0x4d79fb
movzx eax, bh
cmp eax, 0x7d
jne 0x4d76d8
mov dword [esp + 0x18], 0x12
jmp 0x4d774f
mov ecx, 2
mov edx, 0x56f598
push 0x56f234
call fcn.0055a700
add esp, 4
jmp 0x4d7bb8
mov ecx, 3
mov edx, 0x56f598
push 0x56f234
call fcn.0055a700
add esp, 4
jmp 0x4d70de
mov dword [esp + 0x18], 0x10
jmp 0x4d774f
mov dword [esp + 0x18], 0x12
jmp 0x4d7b1f
mov dword [esp + 0x18], 7
jmp 0x4d7b1f
mov dword [esp + 0x18], 8
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
jmp 0x4d738e
movzx eax, bl
cmp eax, 5
jne 0x4d7e6c
mov dword [esp + 0x18], 2
jmp 0x4d7b1f
mov ecx, 4
mov edx, 0x56f598
push 0x56f234
call fcn.0055a700
jmp 0x4d7b2e
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x18]
push dword [esi + 0x34]
call fcn.004871f0
add esp, 4
jmp 0x4d7bb8
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00487250
jmp 0x4d7bb8
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x18]
push dword [esi + 0x34]
call fcn.004871f0
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
mov dword [esp], eax
test ecx, 0x7fffffff
jne 0x4d7e41
test ebx, ebx
je 0x4d7b9d
mov eax, dword [esp + 0x5c]
lea esi, [eax + 0x10]
jmp 0x4d7b66
add esi, 0x20
dec ebx
je 0x4d7b9d
mov eax, dword [esi - 4]
test eax, eax
je 0x4d7b80
cmp dword [esi], 0
je 0x4d7b80
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi - 0x10]
test eax, eax
je 0x4d7b60
cmp dword [esi - 0xc], 0
je 0x4d7b60
push eax
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4d7b60
cmp dword [esp + 4], 0
je 0x4d7bb5
push dword [esp + 0x5c]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov dword [esp], eax
test edx, edx
je 0x4d7be0
test ecx, ecx
je 0x4d7bd9
push edx
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, 0x80000000
jmp 0x4d7be5
mov ebx, 0x80000000
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ec0
mov esi, eax
mov eax, dword [esp]
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [esp + 0x150]
mov edx, dword [esp + 0x64]
movzx ecx, byte [esp + 8]
cmp ebx, 0x80000000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
movlps qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x44], cl
mov dword [esp + 0x48], esi
jne 0x4d7c6e
mov ebx, 0x80000000
test esi, esi
je 0x4d7cd1
mov ecx, esi
call fcn.0040a690
jmp 0x4d7cd1
test esi, esi
je 0x4d7c88
lea ecx, [esp + 0x18]
call fcn.0040ab40
mov ecx, esi
mov esi, dword [esp + 0x58]
mov ebx, 0x80000000
jmp 0x4d7cd8
lea eax, [esp + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xd4], xmm2
movsd qword [esp + 0xcc], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xc4], xmm1
movsd qword [esp + 0xbc], xmm2
mov esi, dword [esp + 0x58]
mov ecx, dword [esp]
cmp ebx, 0x80000000
je 0x4d80cd
movsd xmm2, qword [esp + 0xd4]
movsd xmm1, qword [esp + 0xcc]
movsd xmm0, qword [esp + 0xdc]
cmp ebx, 0x80000001
mov dword [esp], ecx
movsd qword [esp + 0x110], xmm2
movsd qword [esp + 0x108], xmm1
movsd xmm2, qword [esp + 0xbc]
movsd xmm1, qword [esp + 0xc4]
movsd qword [esp + 0x118], xmm0
movsd qword [esp + 0x100], xmm1
movsd qword [esp + 0xf8], xmm2
je 0x4d7fb7
mov edx, dword [esp + 0x94]
movsd xmm2, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x108]
lea eax, [esp + 0x128]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ecx
movsd xmm0, qword [esp + 0x118]
movsd qword [eax + 0x18], xmm2
movsd qword [eax + 0x10], xmm1
movsd xmm2, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x100]
cmp edx, dword [esp + 0x8c]
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
jne 0x4d7dca
lea ecx, [esp + 0x8c]
call fcn.004b7330
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
lea ecx, [edx + edx*2]
inc edx
mov dword [esp + 4], 0
shl ecx, 4
mov dword [eax + ecx], ebx
mov ebx, dword [esp]
mov dword [eax + ecx + 4], ebx
movsd xmm0, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x100]
movsd qword [eax + ecx + 8], xmm0
movsd qword [eax + ecx + 0x10], xmm1
movsd xmm0, qword [esp + 0x108]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x110]
movsd qword [eax + ecx + 0x20], xmm0
movsd xmm0, qword [esp + 0x118]
movsd qword [eax + ecx + 0x28], xmm0
mov dword [esp + 0x94], edx
jmp 0x4d64aa
mov eax, dword [0x5920d8]
sub esp, 0xc
movaps xmm0, xmmword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], 0
movss dword [esp + 8], xmm0
call sub.KERNEL32.dll_HeapFree
jmp 0x4d70e1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00487250
jmp 0x4d7b31
mov eax, dword [esp]
movsd xmm2, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x108]
lea ecx, [esp + 0x128]
mov dword [esp + 0x120], 0x80000000
movsd xmm0, qword [esp + 0x118]
mov dword [esp + 0x124], eax
movsd qword [ecx + 0x18], xmm2
movsd qword [ecx + 0x10], xmm1
movsd xmm2, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x100]
movsd qword [ecx + 0x20], xmm0
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
lea ecx, [esp + 0x120]
call fcn.00538b70
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 0x10], ecx
jmp 0x4d7fe9
movzx eax, bl
cmp eax, 5
jne 0x4d7f96
mov dword [esp + 0x18], 5
jmp 0x4d7f82
lea edx, [esp + 0x6f]
mov ecx, edi
push 0x56f72c
call fcn.00406030
add esp, 4
mov esi, eax
jmp 0x4d8049
mov dword [esp + 0x18], 0x15
jmp 0x4d7f5e
movzx eax, bl
cmp eax, 5
jne 0x4d8071
mov dword [esp + 0x18], 5
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
push dword [edi + 0x34]
call fcn.004871f0
jmp 0x4d8056
movzx eax, bl
cmp eax, 5
jne 0x4d7f96
mov dword [esp + 0x18], 2
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
push dword [edi + 0x34]
call fcn.004871f0
add esp, 4
jmp 0x4d7fb4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], eax
call fcn.00487250
mov dword [esp], eax
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ecx, esi
call fcn.004e51e0
cmp dword [esp + 0x8c], 0
je 0x4d7fe4
push esi
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, 0x80000000
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ec0
mov esi, eax
cmp ebx, 0x80000000
je 0x4d8019
test esi, esi
jne 0x4d8029
mov eax, dword [esp + 0x88]
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x4d8069
test esi, esi
je 0x4d8024
mov ecx, esi
call fcn.0040a690
mov esi, dword [esp]
jmp 0x4d8049
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
call fcn.004e51e0
test ebx, ebx
je 0x4d8049
push dword [esp]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [edi + 0x30]
mov ecx, esi
push dword [edi + 0x34]
call fcn.00559760
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov dword [ecx], 0x80000000
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x120]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], eax
call fcn.00487250
jmp 0x4d8059
mov dword [esp + 0x18], 0x15
jmp 0x4d7f82
mov dword [esp + 0x18], 0x12
jmp 0x4d7f82
mov dword [esp + 0x18], 7
jmp 0x4d7f82
mov ecx, edi
lea edx, [esp + 0x6f]
push 0x56f81c
call fcn.00406030
add esp, 4
mov ecx, eax
mov edx, dword [edi + 0x30]
push dword [edi + 0x34]
call fcn.00559760
add esp, 4
jmp 0x4d7fb4