Function at 0x100ed630
Capabilities:
Enumerate pe sections
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164768
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
xor al, al
push 0x10195c8c
or esi, 0xffffffff
mov byte [ebp - 0x19], 0
push ecx
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x24], al
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0xa4], 0xa
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 0xa
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc0], 0xa
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x98], esi
call fcn.1013f63a
mov ebx, eax
add esp, 8
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x100eddfd
push ebx
push 8
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.101423a1
add esp, 0x10
cmp eax, 8
jne 0x100eddf4
push eax
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.100f3f20
add esp, 4
test eax, eax
jne 0x100eddf4
lea edx, [ebp - 0x8c]
mov ecx, ebx
call fcn.100eca60
test eax, eax
jne 0x100ed7c8
push ebx
call fcn.1013f96e
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.100edf50
or eax, 0xffffffff
jmp 0x100ede15
cmp eax, 0x52444849
jne 0x100eddb1
cmp dword [ebp - 0x88], 0x19
jne 0x100eddb1
mov ecx, dword [ebp - 0x8c]
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
movzx ebx, byte [ecx + 0xc]
shl edx, 8
add edx, eax
shl ebx, 8
movzx eax, byte [ecx + 0xa]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xd]
add ebx, eax
mov dword [ebp - 0x64], edx
movzx eax, byte [ecx + 0xe]
shl ebx, 8
add ebx, eax
mov dword [ebp - 0x48], edx
movzx eax, byte [ecx + 0xf]
shl ebx, 8
add ebx, eax
mov dword [ebp - 0x94], ebx
mov edi, ebx
test edx, edx
je 0x100ede31
cmp edx, 0x4000
ja 0x100ede31
test ebx, ebx
je 0x100ede31
cmp ebx, 0x4000
ja 0x100ede31
mov eax, ebx
mov dword [ebp - 0x38], 0
imul eax, edx
xor esi, esi
push ecx
push ebx
push edx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x34], 0
shl eax, 2
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x44], 0xa
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x90], eax
call fcn.100ec780
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xb4]
push esi
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call fcn.100ecb00
add esp, 0x10
test eax, eax
jne 0x100edd8b
push ecx
push ebx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x84]
call fcn.100ec780
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.101440b2
add esp, 4
test eax, eax
jne 0x100edd8e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
nop dword [eax]
lea edx, [ebp - 0x60]
mov ecx, ebx
call fcn.100eca60
test eax, eax
je 0x100edd8e
mov ebx, dword [ebp - 0x60]
cmp eax, 0x4c546361
jne 0x100ed946
mov cl, byte [ebp - 0x24]
test cl, cl
jne 0x100edc75
cmp byte [ebp - 0x19], cl
jne 0x100edc75
mov byte [ebp - 0x19], 1
mov byte [ebp - 0x1a], 1
push ebx
call fcn.10050eb0
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.101440b2
add esp, 4
test eax, eax
je 0x100ed8f0
jmp 0x100edd8e
cmp eax, 0x4c546366
jne 0x100edbe7
mov cl, byte [ebp - 0x24]
test cl, cl
je 0x100eda60
cmp byte [ebp - 0x19], 0
je 0x100edc75
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.100eccc0
test eax, eax
jne 0x100edd75
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x64]
call fcn.100ec780
cmp esi, 2
mov esi, dword [ebp - 0xbc]
jne 0x100ed9ab
push dword [ebp - 0x90]
push dword [ebp - 0x70]
push esi
call fcn.1012b780
add esp, 0xc
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x40]
push edi
push dword [ebp - 0x48]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.100ec910
mov eax, dword [ebp - 0x68]
add esp, 0x14
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x84]
push eax
call fcn.100edf80
cmp dword [ebp - 0x30], 2
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x40], eax
je 0x100eda54
push dword [ebp - 0x90]
push dword [ebp - 0x70]
push esi
call fcn.1012b780
add esp, 0xc
cmp dword [ebp - 0x30], 1
jne 0x100eda54
test edi, edi
je 0x100eda54
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
lea ebx, [eax*4]
mov eax, dword [ebp - 0x38]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
lea esi, [edx + eax*4]
nop
mov eax, dword [esi]
push ebx
add eax, ecx
push 0
push eax
call fcn.1012bd00
mov ecx, dword [ebp - 0x44]
lea esi, [esi + 4]
add esp, 0xc
sub edi, 1
jne 0x100eda30
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebp - 0xbc]
mov cl, byte [ebp - 0x24]
mov dword [ebp - 0x70], esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x6c], esi
movzx eax, byte [ebx + 0xc]
movzx edx, byte [ebx + 0xd]
movzx edi, byte [ebx + 0x10]
shl eax, 8
add edx, eax
movzx esi, byte [ebx + 0x14]
movzx eax, byte [ebx + 0xe]
shl edx, 8
add edx, eax
shl esi, 8
movzx eax, byte [ebx + 0xf]
shl edi, 8
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 0x11]
add edi, eax
mov dword [ebp - 0x48], edx
movzx eax, byte [ebx + 0x12]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x13]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 0x15]
add esi, eax
movzx eax, byte [ebx + 0x16]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x17]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x19]
mov dword [ebp - 0x38], esi
movzx esi, byte [ebx + 0x18]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1a]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1b]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1d]
mov dword [ebp - 0x34], esi
movzx esi, byte [ebx + 0x1c]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x1f]
mov dword [ebp - 0x68], esi
movzx esi, byte [ebx + 0x1e]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0x21]
mov dword [ebp - 0x44], esi
movzx esi, byte [ebx + 0x20]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x100edb8a
cmp edx, 0x4000
ja 0x100edb8a
test edi, edi
je 0x100edb8a
cmp edi, 0x4000
ja 0x100edb8a
mov eax, dword [ebp - 0x38]
add eax, edx
cmp eax, dword [ebp - 0x64]
ja 0x100edb8a
mov eax, dword [ebp - 0x34]
add eax, edi
cmp eax, dword [ebp - 0x94]
ja 0x100edb8a
cmp esi, 2
ja 0x100edb8a
cmp dword [ebp - 0x3c], 1
ja 0x100edb8a
test cl, cl
je 0x100edb9b
mov ecx, dword [ebp - 0x8c]
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100ecb00
add esp, 0x10
test eax, eax
je 0x100edb9f
lea ecx, [ebp - 0x84]
call fcn.100ec3b0
push ebx
jmp 0x100edd83
mov byte [ebp - 0x1a], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
xor eax, eax
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp byte [ebp - 0x1a], al
setne al
cmp ecx, eax
jne 0x100ed928
mov dword [ebp - 0x3c], 0
cmp esi, 2
jne 0x100ed928
mov esi, 1
mov dword [ebp - 0x30], esi
jmp 0x100ed928
cmp eax, 0x54414449
jne 0x100edc0d
push dword [ebp - 0x5c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push ebx
mov byte [ebp - 0x24], 1
call fcn.100ecc60
add esp, 8
test eax, eax
jne 0x100edb8a
jmp 0x100ed928
cmp eax, 0x54416466
jne 0x100edc67
cmp byte [ebp - 0x19], 0
je 0x100edc72
mov esi, dword [ebp - 0x5c]
lea edx, [ebx + 4]
lea ecx, [esi - 0x10]
mov eax, ecx
mov byte [edx + 3], cl
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
mov byte [edx + 2], al
lea eax, [esi - 4]
push eax
mov dword [ebx + 8], 0x54414449
mov ecx, dword [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x28]
call fcn.100ecc60
add esp, 8
test eax, eax
jne 0x100edb8a
mov esi, dword [ebp - 0x30]
jmp 0x100ed928
cmp eax, 0x444e4549
je 0x100edd24
mov cl, byte [ebp - 0x24]
mov al, byte [ebx + 4]
cmp al, 0x41
jb 0x100edb95
cmp al, 0x7a
ja 0x100edb95
cmp al, 0x5a
jbe 0x100edc94
cmp al, 0x61
jb 0x100edb95
mov al, byte [ebx + 5]
cmp al, 0x41
jb 0x100edb95
cmp al, 0x7a
ja 0x100edb95
cmp al, 0x5a
jbe 0x100edcb3
cmp al, 0x61
jb 0x100edb95
mov al, byte [ebx + 6]
cmp al, 0x41
jb 0x100edb95
cmp al, 0x7a
ja 0x100edb95
cmp al, 0x5a
jbe 0x100edcd2
cmp al, 0x61
jb 0x100edb95
mov al, byte [ebx + 7]
cmp al, 0x41
jb 0x100edb95
cmp al, 0x7a
ja 0x100edb95
cmp al, 0x5a
jbe 0x100edcf1
cmp al, 0x61
jb 0x100edb95
test cl, cl
jne 0x100ed928
push dword [ebp - 0x5c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push ebx
call fcn.100ecc60
add esp, 8
test eax, eax
jne 0x100edb8a
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x58]
call fcn.100ede40
jmp 0x100ed931
mov al, byte [ebp - 0x24]
test al, al
je 0x100edd75
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.100eccc0
test eax, eax
jne 0x100edd75
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x40]
push edi
push dword [ebp - 0x48]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.100ec910
mov eax, dword [ebp - 0x68]
add esp, 0x14
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x84]
push eax
call fcn.100edf80
jmp 0x100edd80
lea ecx, [ebp - 0x84]
call fcn.100ec3b0
push dword [ebp - 0x60]
call fcn.10050eb0
add esp, 4
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0xb4]
call fcn.100ec3b0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x100eddb1
xor eax, eax
cmp byte [ebp - 0x1a], al
sete al
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x54]
xor esi, esi
mov ecx, dword [ebp - 0x58]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x100edddd
push dword [ecx + esi*8]
call fcn.10050eb0
mov eax, dword [ebp - 0x54]
inc esi
mov ecx, dword [ebp - 0x58]
add esp, 4
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100eddc2
push dword [ebp - 0x8c]
mov dword [ebp - 0x54], ecx
call fcn.10050eb0
mov esi, dword [ebp - 0x98]
add esp, 4
push ebx
call fcn.1013f96e
add esp, 4
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x100ede13
mov ecx, dword [ebp - 0x50]
sub ecx, edx
sar ecx, 3
push ecx
push edx
call fcn.1004c960
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a832
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
jmp 0x100ed7b0