Function at 0x4d75ef
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x24], 0
mov al, byte [0xe5dd18]
mov byte [ebp - 0x3c], al
cmp byte [ebp - 0x3c], 1
je 0x4d755a
cmp byte [ebp - 0x3c], 2
je 0x4d7566
cmp byte [ebp - 0x3c], 4
je 0x4d7572
jmp 0x4d757c
mov dword [0x159a804], 0x50ece0
jmp 0x4d757c
mov dword [0x159a804], 0x50e620
jmp 0x4d757c
mov dword [0x159a804], 0x50ea00
mov ecx, dword [0x119dd58]
lea edx, [ecx*4 + 0x1175cfc]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], 0
jmp 0x4d759e
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [0x119dd58]
jae 0x4d7cd5
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], 0
cmp dword [ebp - 0x20], 0
je 0x4d7cc7
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 6]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 9
ja case.0x4d75e8.2
mov edx, dword [ebp - 0x2c]
jmp dword [edx*4 + 0x4d7e7c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x54]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1fc]
cmp edx, ecx
jne 0x4d7654
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x58]
cmp ecx, dword [eax + 0x200]
jne 0x4d7654
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1d4], 0
je 0x4d7654
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 4]
and ecx, 0x40
mov word [0x159a7fe], cx
mov edx, dword [0x1354da4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x54], eax
mov cx, word [ebp - 0x54]
mov word [0x159a7fc], cx
jmp 0x4d76f8
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x54]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1ec]
cmp eax, edx
jne 0x4d76b0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x58]
cmp edx, dword [ecx + 0x1f0]
jne 0x4d76b0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1d8]
test ecx, ecx
jne 0x4d76b0
mov edx, dword [ebp - 8]
movzx eax, word [edx + 4]
and eax, 0x40
mov word [0x159a7fe], ax
mov ecx, dword [0x1354da4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x58], edx
mov ax, word [ebp - 0x58]
mov word [0x159a7fc], ax
jmp 0x4d76f8
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 4]
and edx, 2
je 0x4d76dc
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 7]
mov edx, dword [ecx*4 + 0x1586368]
mov dword [0x159a7f8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 7]
mov byte [0x159a800], cl
mov edx, dword [ebp - 8]
mov ax, word [edx + 4]
mov word [0x159a7fe], ax
mov ecx, dword [ebp - 8]
movzx dx, byte [ecx + 8]
mov word [0x159a7fc], dx
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 4]
and ecx, 0x40
je 0x4d774b
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0xc]
push edx
mov eax, 0x10
shl eax, 0
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0xc]
push edx
mov eax, 0x10
imul ecx, eax, 3
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0xc]
push eax
mov ecx, 0x10
shl ecx, 1
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0xc]
push eax
call fcn.0050c500
add esp, 0x10
mov ecx, 0x10
shl ecx, 1
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0xc]
push eax
mov ecx, 0x10
imul edx, ecx, 3
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0xc]
push ecx
mov edx, 0x10
shl edx, 0
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0xc]
push ecx
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0xc]
push edx
call fcn.0050c500
add esp, 0x10
jmp case.0x4d75e8.2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x44]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1fc]
cmp edx, ecx
jne 0x4d77fc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x48]
cmp ecx, dword [eax + 0x200]
jne 0x4d77fc
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1d4], 0
je 0x4d77fc
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 4]
and ecx, 0x40
mov word [0x159a7fe], cx
mov edx, dword [0x1354da4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x5c], eax
mov cx, word [ebp - 0x5c]
mov word [0x159a7fc], cx
jmp 0x4d78a0
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x44]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1ec]
cmp eax, edx
jne 0x4d7858
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x48]
cmp edx, dword [ecx + 0x1f0]
jne 0x4d7858
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1d8]
test ecx, ecx
jne 0x4d7858
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 4]
and eax, 0x40
mov word [0x159a7fe], ax
mov ecx, dword [0x1354da4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x60], edx
mov ax, word [ebp - 0x60]
mov word [0x159a7fc], ax
jmp 0x4d78a0
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 4]
and edx, 2
je 0x4d7884
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 7]
mov edx, dword [ecx*4 + 0x1586368]
mov dword [0x159a7f8], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 7]
mov byte [0x159a800], cl
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 4]
mov word [0x159a7fe], ax
mov ecx, dword [ebp - 0xc]
movzx dx, byte [ecx + 8]
mov word [0x159a7fc], dx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 4]
and ecx, 0x40
je 0x4d78e3
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 0xc]
push edx
mov eax, 0x10
shl eax, 0
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 0xc]
push edx
mov eax, 0x10
shl eax, 1
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 0xc]
push edx
call fcn.0050d2d0
add esp, 0xc
mov eax, 0x10
shl eax, 1
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 0xc]
push edx
mov eax, 0x10
shl eax, 0
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 0xc]
push edx
mov eax, 0x10
imul ecx, eax, 0
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 0xc]
push eax
call fcn.0050d2d0
add esp, 0xc
jmp case.0x4d75e8.2
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
push 0xffff
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call dword [0xe6974c]
add esp, 0x10
mov edx, dword [0x1354da4]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x18]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1ec]
cmp edx, ecx
jne 0x4d79e1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0x1f0]
jne 0x4d79e1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1d8]
test eax, eax
je 0x4d79ce
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1d8]
cmp edx, 4
jl 0x4d79b0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1d8]
cmp ecx, 7
jle 0x4d79ce
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1d8]
cmp eax, 9
jl 0x4d79e1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1d8]
cmp edx, 0xa
jg 0x4d79e1
mov eax, dword [0x1354da4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
jmp 0x4d7a25
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x18]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1fc]
cmp ecx, eax
jne 0x4d7a25
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [edx + 0x200]
jne 0x4d7a25
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1d4], 0
je 0x4d7a1f
mov edx, dword [0x1354da4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0xd
push 0xd
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
sub ecx, 6
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
sub eax, 6
push eax
call dword [0xe69734]
add esp, 0x14
push 0xffff
mov ecx, dword [ebp - 0x10]
imul edx, dword [ecx + 0x1c], 0x54
imul eax, dword [edx + 0x15b1484], 0x28
mov ecx, dword [ebp - 0x10]
imul edx, dword [ecx + 0x1c], 0x54
mov ecx, dword [edx + 0x15b1488]
mov edx, dword [eax + ecx*4 + 0x76a3c0]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
sub ecx, 6
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp - 4]
call fcn.004d70d0
jmp case.0x4d75e8.2
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
push 0xffff
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
call dword [0xe6974c]
add esp, 0x10
mov edx, dword [0x1354da4]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x18]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1ec]
cmp edx, ecx
jne 0x4d7b2e
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0x1f0]
jne 0x4d7b2e
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1d8]
test eax, eax
je 0x4d7b1a
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1d8]
cmp edx, 3
jle 0x4d7b1a
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1d8]
cmp ecx, 8
jne 0x4d7b2e
mov edx, dword [0x1354da4]
mov eax, dword [edx + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
jmp 0x4d7b72
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x18]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1fc]
cmp eax, edx
jne 0x4d7b72
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
cmp edx, dword [ecx + 0x200]
jne 0x4d7b72
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1d4], 0
je 0x4d7b6c
mov ecx, dword [0x1354da4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 9
push 9
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
sub eax, 4
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
sub edx, 4
push edx
call dword [0xe69734]
add esp, 0x14
jmp case.0x4d75e8.2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
push 0xffff
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
push edx
call dword [0xe6973c]
add esp, 0x14
jmp case.0x4d75e8.2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x1354da4]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1c], edx
mov eax, 4
shl eax, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x762a10]
imul edx, dword [ecx + 0x10]
sar edx, 0x10
mov eax, dword [ebp - 0x18]
add edx, dword [eax + 8]
mov dword [ebp - 0x6c], edx
mov ecx, 4
shl ecx, 8
mov edx, dword [0x760004]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + ecx]
imul ecx, dword [eax + 0x10]
neg ecx
sar ecx, 0x10
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 0xc]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x18]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1ec]
cmp ecx, eax
jne 0x4d7c6f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [edx + 0x1f0]
jne 0x4d7c6f
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1d8]
test edx, edx
jne 0x4d7c6f
mov eax, dword [0x1354da4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [0x1354da4]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call fcn.004a23a0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 9
push 9
mov ecx, dword [ebp - 0x68]
sub ecx, 4
push ecx
mov edx, dword [ebp - 0x6c]
sub edx, 4
push edx
call dword [0xe69734]
add esp, 0x14
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
jmp 0x4d75be
mov edx, dword [ebp - 0x34]
sub edx, 4
mov dword [ebp - 0x34], edx
jmp 0x4d7595
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x1ec]
mov byte [ebp - 0x44], cl
cmp byte [ebp - 0x44], 1
je 0x4d7cfd
cmp byte [ebp - 0x44], 4
je 0x4d7d32
cmp byte [ebp - 0x44], 5
je 0x4d7d5a
jmp 0x4d7db6
cmp dword [ebp - 0x28], 0
je 0x4d7d23
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x14]
add ecx, 6
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
add eax, 8
push eax
mov ecx, dword [ebp - 4]
call fcn.004d7160
jmp 0x4d7db6
cmp dword [ebp - 0x38], 0
je 0x4d7d58
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x14]
add eax, 8
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x10]
add edx, 6
push edx
mov ecx, dword [ebp - 4]
call fcn.004d7340
jmp 0x4d7db6
cmp dword [ebp - 0x24], 0
je 0x4d7db6
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 4
shl ecx, 8
mov edx, dword [0x760004]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + ecx]
imul ecx, dword [eax + 0x10]
sar ecx, 0x10
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
sub eax, ecx
add eax, 4
push eax
mov ecx, 4
shl ecx, 8
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x762a10]
imul eax, dword [edx + 0x10]
sar eax, 0x10
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
lea eax, [edx + eax + 6]
push eax
mov ecx, dword [ebp - 4]
call fcn.004d6fb0
mov ecx, dword [0xe5dcb8]
mov dword [ebp - 0x7c], ecx
mov edx, dword [0xe5dcbc]
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
call fcn.00510980
test eax, eax
je 0x4d7e75
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x50], 0
je 0x4d7e75
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x1d8]
mov byte [ebp - 0x48], dl
cmp byte [ebp - 0x48], 1
je 0x4d7e2b
cmp byte [ebp - 0x48], 2
je 0x4d7e51
cmp byte [ebp - 0x48], 3
je 0x4d7e51
jmp 0x4d7e75
push 0xffff
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x10]
push edx
call dword [0xe6973c]
add esp, 0x14
jmp 0x4d7e75
push 0xffff
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x10]
push edx
call dword [0xe6973c]
add esp, 0x14
mov esp, ebp
pop ebp
ret