Function at 0x4d3390
Capabilities:
Encrypt data using xtea
Inspect section memory permissions
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push esi
mov dword [ebp - 0x140], 0xf0
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp + 8]
sub ecx, 0xf0
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x140], 0
jbe 0x4d3407
mov edx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x13c]
add eax, 1
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x140]
sub ecx, 1
mov dword [ebp - 0x140], ecx
jmp 0x4d33bf
lea edx, [ebp - 0x5c0]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x148], ecx
lea edx, [ebp - 0x5bc]
mov dword [ebp - 0xdc], edx
mov eax, 0xec
shr eax, 2
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jbe 0x4d348e
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
xor ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0xdc]
mov dword [edx], ecx
mov eax, dword [ebp - 0xdc]
add eax, 4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x38c]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x144]
sub edx, 1
mov dword [ebp - 0x144], edx
jmp 0x4d3435
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xc0dec0df
je 0x4d34b0
jmp 0x4d530a
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
sub eax, dword [edx + 0x10]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x150], 0xe8
lea eax, [ebp - 0x478]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x150], 0
jbe 0x4d3516
mov ecx, dword [ebp - 0x14c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x14c]
add edx, 1
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x150]
sub eax, 1
mov dword [ebp - 0x150], eax
jmp 0x4d34e4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
add edx, 0xf
and edx, 0xfffffff0
mov dword [ebp - 0xcc], edx
cmp dword [ebp - 0xcc], 1
jb 0x4d353d
cmp dword [ebp - 0xcc], 0x280
jbe 0x4d3547
jmp 0x4d530a
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x29c]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x390], edx
lea eax, [ebp - 0x840]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x390]
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x15c], 0
jbe 0x4d35c5
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x158]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x158]
add eax, 1
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x15c]
sub ecx, 1
mov dword [ebp - 0x15c], ecx
jmp 0x4d357d
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x30c], edx
lea eax, [ebp - 0x840]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xcc]
shr ecx, 2
mov dword [ebp - 0x160], ecx
cmp dword [ebp - 0x160], 0
jbe 0x4d3645
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx]
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
xor edx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0xb8]
mov dword [eax], edx
mov ecx, dword [ebp - 0xb8]
add ecx, 4
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x30c], edx
mov eax, dword [ebp - 0x160]
sub eax, 1
mov dword [ebp - 0x160], eax
jmp 0x4d35ec
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xe0], 0
jmp 0x4d3669
mov edx, dword [ebp - 0xe0]
add edx, 1
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0x22
jae 0x4d36da
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
jb 0x4d368e
jmp 0x4d530a
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x418], ecx
mov edx, dword [ebp - 0x3c]
movsx eax, byte [edx]
test eax, eax
je 0x4d36cf
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
lea ecx, [ebp + eax - 0x840]
cmp dword [ebp - 0x3c], ecx
jb 0x4d36cd
jmp 0x4d530a
jmp 0x4d369e
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x4d365a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
lea edx, [ebp + ecx - 0x840]
cmp dword [ebp - 0x3c], edx
je 0x4d36f6
jmp 0x4d530a
mov dword [ebp - 0x14], 0
mov eax, 2
imul ecx, eax, 0
mov edx, 0x6b
mov word [ebp + ecx - 0x328], dx
mov eax, 2
shl eax, 0
mov ecx, 0x65
mov word [ebp + eax - 0x328], cx
mov edx, 2
shl edx, 1
mov eax, 0x72
mov word [ebp + edx - 0x328], ax
mov ecx, 2
imul edx, ecx, 3
mov eax, 0x6e
mov word [ebp + edx - 0x328], ax
mov ecx, 2
shl ecx, 2
mov edx, 0x65
mov word [ebp + ecx - 0x328], dx
mov eax, 2
imul ecx, eax, 5
mov edx, 0x6c
mov word [ebp + ecx - 0x328], dx
mov eax, 2
imul ecx, eax, 6
mov edx, 0x33
mov word [ebp + ecx - 0x328], dx
mov eax, 2
imul ecx, eax, 7
mov edx, 0x32
mov word [ebp + ecx - 0x328], dx
mov eax, 2
shl eax, 3
mov ecx, 0x2e
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 9
mov ecx, 0x64
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 0xa
mov ecx, 0x6c
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 0xb
mov ecx, 0x6c
mov word [ebp + eax - 0x328], cx
mov edx, 2
imul eax, edx, 0xc
xor ecx, ecx
mov word [ebp + eax - 0x328], cx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x27c]
mov edx, dword [eax + 0xc8]
or edx, dword [ecx + 0xcc]
je 0x4d3863
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x42c], eax
mov ecx, 4
imul edx, ecx, 0x14
mov eax, dword [ebp + edx - 0x418]
push eax
call dword [ebp - 0x42c]
mov dword [ebp - 0x14], eax
jmp 0x4d3954
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x280]
mov eax, dword [ebp - 0x280]
mov ecx, dword [edx + 0xd0]
or ecx, dword [eax + 0xd4]
je 0x4d38b3
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd0]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x428], edx
lea eax, [ebp - 0x328]
push eax
call dword [ebp - 0x428]
mov dword [ebp - 0x14], eax
jmp 0x4d3954
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x284]
mov ecx, dword [edx + 0xd8]
or ecx, dword [eax + 0xdc]
je 0x4d3909
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd8]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x424], edx
mov eax, 4
imul ecx, eax, 0x14
mov edx, dword [ebp + ecx - 0x418]
push edx
call dword [ebp - 0x424]
mov dword [ebp - 0x14], eax
jmp 0x4d3954
mov eax, dword [ebp - 8]
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov edx, dword [ebp - 0x288]
mov eax, dword [ecx + 0xe0]
or eax, dword [edx + 0xe4]
je 0x4d3954
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe0]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x420], ecx
lea edx, [ebp - 0x328]
push edx
call dword [ebp - 0x420]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4d3964
jmp 0x4d530a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x28c]
mov eax, dword [ecx + 0xe8]
or eax, dword [edx + 0xec]
je 0x4d39a4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x41c], ecx
jmp 0x4d3c9f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x290]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x4d39ca
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov edx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
cmp dword [ecx], 0x4550
je 0x4d39f6
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov edx, dword [ebp - 0xe4]
movzx eax, word [edx + 4]
cmp eax, 0x14c
jne 0x4d3a27
mov ecx, dword [ebp - 0xe4]
movzx edx, word [ecx + 0x14]
cmp edx, 0xe0
je 0x4d3a25
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
jmp 0x4d3a33
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0xe4]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
cmp dword [ecx + 4], 0
jne 0x4d3a63
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0x18], 0
je 0x4d3a83
mov edx, dword [ebp - 0x64]
cmp dword [edx + 0x14], 0
jne 0x4d3a8f
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 0x164], 0
jmp 0x4d3af0
mov ecx, dword [ebp - 0x164]
add ecx, 1
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x168]
add edx, 4
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x16c]
add eax, 2
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x164]
cmp edx, dword [ecx + 0x18]
jae 0x4d3c01
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov edx, 4
imul eax, edx, 0x17
mov ecx, dword [ebp + eax - 0x418]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
movsx eax, byte [edx]
test eax, eax
je 0x4d3ba6
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x4d3ba6
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0xb4]
movsx eax, byte [edx]
cmp ecx, eax
jge 0x4d3b64
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x4d3be2
mov ecx, dword [ebp - 0x90]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0xb4]
movsx ecx, byte [eax]
cmp edx, ecx
jle 0x4d3b86
mov dword [ebp - 0xbc], 1
jmp 0x4d3be2
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0xb4]
add eax, 1
mov dword [ebp - 0xb4], eax
jmp 0x4d3b28
mov ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
test edx, edx
je 0x4d3bbf
mov dword [ebp - 0xbc], 0xffffffff
jmp 0x4d3be2
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4d3bd8
mov dword [ebp - 0xbc], 1
jmp 0x4d3be2
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x4d3bfc
mov edx, dword [ebp - 0x16c]
movzx eax, word [edx]
mov dword [ebp - 0xe8], eax
jmp 0x4d3c01
jmp 0x4d3ac3
cmp dword [ebp - 0xe8], 0xffffffff
jne 0x4d3c13
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xe8]
cmp edx, dword [ecx + 0x14]
jbe 0x4d3c2a
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0xe8]
lea eax, [ecx + edx*4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x170]
cmp ecx, dword [eax]
jb 0x4d3c77
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
add eax, dword [ecx + 4]
cmp dword [ebp - 0x170], eax
jae 0x4d3c77
mov dword [ebp - 0x2c], 0
jmp 0x4d3c83
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x170]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x4d3c9f
jmp 0x4d530a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x294]
mov ecx, dword [edx + 0xc8]
or ecx, dword [eax + 0xcc]
jne 0x4d3cf5
mov edx, 4
imul eax, edx, 0x18
mov ecx, dword [ebp + eax - 0x418]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x41c]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x4d3cf5
jmp 0x4d530a
mov eax, 4
imul ecx, eax, 0x19
mov edx, dword [ebp + ecx - 0x418]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [ebp - 0x41c]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x4d3d28
jmp 0x4d530a
mov ecx, 4
imul edx, ecx, 0x15
mov eax, dword [ebp + edx - 0x418]
push eax
call dword [ebp - 0x424]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
jne 0x4d3d57
jmp 0x4d530a
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xec], 0
jmp 0x4d3d7b
mov edx, dword [ebp - 0xec]
add edx, 1
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xec], 3
jae 0x4d3dc1
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp + eax*4 - 0x418]
push ecx
mov edx, dword [ebp - 0x298]
push edx
call dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0
jne 0x4d3db6
jmp 0x4d530a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x4d3d6c
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0xf0], 0
jmp 0x4d3de5
mov edx, dword [ebp - 0xf0]
add edx, 1
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 0x10
jae 0x4d3e28
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp + eax*4 - 0x40c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0
jne 0x4d3e1d
jmp 0x4d530a
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x4d3dd6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
and edx, 0x20
jne 0x4d3e95
call fcn.004d3380
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
je 0x4d3e7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0xc4]
jne 0x4d3e7b
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 0x30], 0
je 0x4d3e7b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x30]
movzx edx, byte [ecx + 2]
test edx, edx
jne 0x4d3e7b
mov byte [ebp - 0x1d], 0
jmp 0x4d3e7f
mov byte [ebp - 0x1d], 1
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x4d3e95
mov byte [ebp - 1], 0x54
jmp 0x4d53e5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa8]
and edx, 1
je 0x4d3eff
lea eax, [ebp + 4]
add eax, 4
mov dword [ebp - 0xc8], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + ecx]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x24
mov dword [ebp - 0xc8], ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x334], ecx
cmp dword [ebp - 0x334], 1
je 0x4d3eff
jmp 0x4d5215
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
push eax
push 1
call dword [ebp - 0x478]
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4d3f28
mov byte [ebp - 1], 0x57
jmp 0x4d53e5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x29c]
add ecx, dword [eax + 0x30]
mov dword [ebp - 0x338], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x17c], 0
jbe 0x4d3fa3
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x178]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x174]
add ecx, 1
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x178]
add edx, 1
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x17c]
sub eax, 1
mov dword [ebp - 0x17c], eax
jmp 0x4d3f5b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 8]
add ecx, 0x98
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x33c]
shr edx, 3
mov dword [ebp - 0x340], edx
mov dword [ebp - 0x2a4], 0x55555555
mov dword [ebp - 0x2a8], 0x55555555
mov dword [ebp - 0x114], 0
jmp 0x4d4005
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp - 0x340]
jae 0x4d4157
mov edx, dword [ebp - 0x114]
shl edx, 1
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + ecx*4 + 4]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x348], ecx
mov dword [ebp - 0x94], 0xc6ef3720
mov dword [ebp - 0x180], 0
jmp 0x4d4081
mov edx, dword [ebp - 0x180]
add edx, 1
mov dword [ebp - 0x180], edx
cmp dword [ebp - 0x180], 0x20
jae 0x4d4109
mov eax, dword [ebp - 0x68]
shl eax, 4
mov ecx, dword [ebp - 0x68]
shr ecx, 5
xor eax, ecx
add eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x94]
shr edx, 0xb
and edx, 3
mov ecx, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x94]
add esi, dword [ecx + edx*4]
xor eax, esi
mov edx, dword [ebp - 0x6c]
sub edx, eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x94]
add eax, 0x61c88647
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x6c]
shl ecx, 4
mov edx, dword [ebp - 0x6c]
shr edx, 5
xor ecx, edx
add ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x94]
and eax, 3
mov edx, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x94]
add esi, dword [edx + eax*4]
xor ecx, esi
mov eax, dword [ebp - 0x68]
sub eax, ecx
mov dword [ebp - 0x68], eax
jmp 0x4d4072
mov ecx, dword [ebp - 0x68]
xor ecx, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x6c]
xor ecx, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x2a8], edx
jmp 0x4d3ff6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x35c], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x44], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x840]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0xfc], 0
jmp 0x4d419b
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
cmp edx, dword [ebp - 0xcc]
jae 0x4d420b
mov eax, dword [ebp - 0x34c]
add eax, dword [ebp - 0xfc]
movzx ecx, byte [eax]
shl ecx, 0x18
xor ecx, dword [ebp - 0x44]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x184], 8
jmp 0x4d41dc
mov edx, dword [ebp - 0x184]
sub edx, 1
mov dword [ebp - 0x184], edx
cmp dword [ebp - 0x184], 0
jle 0x4d4209
mov eax, dword [ebp - 0x44]
and eax, 0x80000000
je 0x4d41ff
mov ecx, dword [ebp - 0x44]
shl ecx, 1
xor ecx, 0x488781ed
mov dword [ebp - 0x44], ecx
jmp 0x4d4207
mov edx, dword [ebp - 0x44]
shl edx, 1
mov dword [ebp - 0x44], edx
jmp 0x4d41cd
jmp 0x4d418c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x5c0]
mov dword [ebp - 0x350], edx
mov dword [ebp - 0x100], 0
jmp 0x4d423e
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xf0
jae 0x4d42ad
mov ecx, dword [ebp - 0x350]
add ecx, dword [ebp - 0x100]
movzx edx, byte [ecx]
shl edx, 0x18
xor edx, dword [ebp - 0x48]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x188], 8
jmp 0x4d427d
mov eax, dword [ebp - 0x188]
sub eax, 1
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jle 0x4d42ab
mov ecx, dword [ebp - 0x48]
and ecx, 0x80000000
je 0x4d42a1
mov edx, dword [ebp - 0x48]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x48], edx
jmp 0x4d42a9
mov eax, dword [ebp - 0x48]
shl eax, 1
mov dword [ebp - 0x48], eax
jmp 0x4d426e
jmp 0x4d422f
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x104], 0
jmp 0x4d42dd
mov ecx, dword [ebp - 0x104]
add ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
add eax, 0xf
and eax, 0xfffffff0
cmp dword [ebp - 0x104], eax
jae 0x4d4357
mov ecx, dword [ebp - 0x354]
add ecx, dword [ebp - 0x104]
movzx edx, byte [ecx]
shl edx, 0x18
xor edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x18c], 8
jmp 0x4d4324
mov eax, dword [ebp - 0x18c]
sub eax, 1
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jle 0x4d4352
mov ecx, dword [ebp - 0x4c]
and ecx, 0x80000000
je 0x4d4348
mov edx, dword [ebp - 0x4c]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x4c], edx
jmp 0x4d4350
mov eax, dword [ebp - 0x4c]
shl eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x4d4315
jmp 0x4d42ce
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x108], 0
jmp 0x4d4387
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x108]
cmp eax, dword [edx + 0x34]
jae 0x4d43f8
mov ecx, dword [ebp - 0x358]
add ecx, dword [ebp - 0x108]
movzx edx, byte [ecx]
shl edx, 0x18
xor edx, dword [ebp - 0x50]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x190], 8
jmp 0x4d43c8
mov eax, dword [ebp - 0x190]
sub eax, 1
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
jle 0x4d43f6
mov ecx, dword [ebp - 0x50]
and ecx, 0x80000000
je 0x4d43ec
mov edx, dword [ebp - 0x50]
shl edx, 1
xor edx, 0x488781ed
mov dword [ebp - 0x50], edx
jmp 0x4d43f4
mov eax, dword [ebp - 0x50]
shl eax, 1
mov dword [ebp - 0x50], eax
jmp 0x4d43b9
jmp 0x4d4378
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x35c]
mov dword [edx + 0x44], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x70]
cmp edx, dword [ecx + 0x44]
je 0x4d4423
mov byte [ebp - 1], 0x51
jmp 0x4d53e5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x2ac], 0x40
jb 0x4d4452
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x4d445e
mov dword [ebp - 0x10], 0
jmp 0x4d4cf8
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x3c]
add edx, 0xf8
cmp dword [ebp - 0x2ac], edx
jb 0x4d448f
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x4550
je 0x4d449b
mov dword [ebp - 0x10], 0
jmp 0x4d4cf8
push 4
push 0x2000
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x34]
push ecx
call dword [ebp - 0x444]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4d44d8
push 4
push 0x2000
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x50]
push eax
push 0
call dword [ebp - 0x444]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4d44ea
mov dword [ebp - 0x10], 0
jmp 0x4d4cf8
mov dword [ebp - 0x198], 0xc
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x198], 0
jbe 0x4d4532
mov edx, dword [ebp - 0x194]
mov byte [edx], 0
mov eax, dword [ebp - 0x194]
add eax, 1
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x198]
sub ecx, 1
mov dword [ebp - 0x198], ecx
jmp 0x4d4500
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x88], edx
push 4
push 0x1000
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [ebp - 0x444]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x58]
add ecx, dword [edx + 0x54]
mov dword [ebp - 0x360], ecx
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x1a0], edx
cmp dword [ebp - 0x1a4], 0
jbe 0x4d45da
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x1a0]
add ecx, 1
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a4]
sub edx, 1
mov dword [ebp - 0x1a4], edx
jmp 0x4d4592
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x2b0]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
movzx ecx, word [eax + 0x14]
lea edx, [edx + ecx + 0x18]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x1a8], 0
jmp 0x4d4642
mov eax, dword [ebp - 0x1a8]
add eax, 1
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x28
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x84]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x1a8], eax
jge 0x4d4797
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x10], 0
jne 0x4d46f0
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jbe 0x4d46eb
push 4
push 0x1000
mov ecx, dword [ebp - 0x1ac]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2b4]
add eax, dword [edx + 0xc]
push eax
call dword [ebp - 0x444]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b4], 0
jbe 0x4d46eb
mov eax, dword [ebp - 0x1b0]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1b0]
add ecx, 1
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b4]
sub edx, 1
mov dword [ebp - 0x1b4], edx
jmp 0x4d46b9
jmp 0x4d462a
push 4
push 0x1000
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2b4]
add eax, dword [edx + 0xc]
push eax
call dword [ebp - 0x444]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x14]
mov dword [ebp - 0x364], ecx
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c4], 0
jbe 0x4d4792
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1c0]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1bc]
add ecx, 1
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1c0]
add edx, 1
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1c4]
sub eax, 1
mov dword [ebp - 0x1c4], eax
jmp 0x4d474a
jmp 0x4d462a
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x1d0], edx
je 0x4d491f
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x84]
mov edx, 8
imul eax, edx, 5
lea ecx, [ecx + eax + 0x78]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
cmp dword [edx + 4], 0
jbe 0x4d491f
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2bc]
add ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp dword [edx], 0
jbe 0x4d491f
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x2bc]
add ecx, dword [eax]
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x74]
add edx, 8
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x1c8], 0
jmp 0x4d4844
mov eax, dword [ebp - 0x1c8]
add eax, 1
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x10c]
invalid
invalid