Function at 0x630f8d
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
stc
jb 0x630f7c
jl fcn.00630f68
jmp 0x630f7f
add dword [ecx - 0x17f78a01], ecx
push es
add byte [eax], al
add cl, ch
dec eax
or byte [eax], al
add byte [eax - 0x7297137d], dl
inc esp
and al, 0x10
push ebx
push ebp
push esi
push edi
push eax
call fcn.006314ed
mov esi, dword [esp + 0x7c]
cmp word [esi], 0x5a4d
je 0x630fb5
push dword [ebp + 8]
call 0x630f8d
jmp 0x6317d4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret 4
mov ebx, dword [esi + 0x3c]
add ebx, esi
mov dword [esp + 0x18], ebx
cmp dword [ebx], 0x4550
je 0x630fd2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret 4
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
push 4
push 0x2000
push ecx
push edx
call dword [esp + 0x38]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x631015
mov eax, dword [ebx + 0x50]
push 4
push 0x2000
push eax
push edi
call dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x631011
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov edi, dword [esp + 0x10]
push 0x14
push 0
call dword [esp + 0x3c]
push eax
call dword [esp + 0x50]
mov ebp, eax
push 4
push 8
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], 0
call dword [esp + 0x3c]
push eax
call dword [esp + 0x50]
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], 0
mov ecx, dword [ebx + 0x50]
push 4
push 0x1000
push ecx
push edi
call dword [esp + 0x38]
mov edx, dword [ebx + 0x54]
push 4
push 0x1000
push edx
push edi
call dword [esp + 0x38]
mov ecx, dword [esi + 0x3c]
mov edi, dword [ebx + 0x54]
add ecx, edi
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, edx
lea edx, [esp + 0x4c]
mov dword [ebp], eax
push edx
mov dword [eax + 0x34], ecx
call fcn.006314ed
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
mov dword [esp + 0x14], 0
lea ecx, [ecx + eax + 0x18]
jbe 0x631158
lea ebx, [ecx + 0x10]
jmp 0x6310ca
mov edx, dword [esp + 0x1c]
cmp dword [ebx], 0
jne 0x631105
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x631137
mov ecx, dword [ebx - 4]
push 4
push 0x1000
add ecx, edx
push esi
push ecx
call dword [esp + 0x64]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x631137
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, edx
push eax
push ecx
call dword [esp + 0x64]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x7c]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [ebp]
mov eax, dword [esp + 0x14]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x6310c6
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x34]
sub eax, ecx
mov dword [esp + 0x7c], eax
je 0x6311e6
lea eax, [esp + 0x4c]
push eax
call fcn.006314ed
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
add eax, 0xa0
mov dword [esp + 0x1c], edi
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x6311e6
mov ecx, dword [eax]
mov eax, dword [ecx + edi]
add ecx, edi
test eax, eax
jbe 0x6311e6
lea ebx, [eax + edi]
mov eax, dword [ecx + 4]
sub eax, 8
xor esi, esi
test eax, 0xfffffffe
lea edx, [ecx + 8]
jbe 0x6311dd
xor eax, eax
mov ax, word [edx]
mov edi, eax
and edi, 0xfffff000
cmp edi, 0x3000
jne 0x6311c9
mov edi, dword [esp + 0x7c]
and eax, 0xfff
add eax, ebx
add dword [eax], edi
mov eax, dword [ecx + 4]
inc esi
sub eax, 8
add edx, 2
shr eax, 1
cmp esi, eax
jb 0x6311a7
mov edi, dword [esp + 0x1c]
add ecx, dword [ecx + 4]
mov eax, dword [ecx]
test eax, eax
ja 0x631192
lea ecx, [esp + 0x4c]
push ecx
call fcn.006314ed
mov eax, dword [ebp]
mov ebx, dword [ebp + 4]
add eax, 0x80
mov dword [esp + 0x7c], ebx
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x6312e5
mov esi, dword [eax]
push 0x14
add esi, ebx
push esi
mov dword [esp + 0x1c], esi
call dword [esp + 0x64]
test eax, eax
jne 0x6312e5
jmp 0x63122b
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x7c]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6312e5
add eax, ebx
push eax
call dword [esp + 0x54]
mov edi, eax
cmp edi, 0xffffffff
je 0x63130d
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [edx*4 + 4]
push eax
push ecx
push 8
call dword [esp + 0x6c]
push eax
call dword [esp + 0x84]
test eax, eax
mov dword [ebp + 8], eax
je 0x63130d
mov edx, dword [ebp + 0xc]
mov dword [eax + edx*4], edi
mov edx, dword [ebp + 0xc]
inc edx
mov dword [ebp + 0xc], edx
mov eax, dword [esi]
test eax, eax
je 0x63128e
mov esi, dword [esi + 0x10]
add ebx, eax
add esi, dword [esp + 0x7c]
jmp 0x631295
mov eax, dword [esi + 0x10]
add ebx, eax
mov esi, ebx
mov eax, dword [ebx]
test eax, eax
je 0x6312cb
test eax, 0x80000000
je 0x6312aa
and eax, 0xffff
push eax
jmp 0x6312b3
mov ecx, dword [esp + 0x7c]
lea edx, [eax + ecx + 2]
push edx
push edi
call dword [esp + 0x70]
test eax, eax
mov dword [esi], eax
je 0x63130d
mov eax, dword [ebx + 4]
add ebx, 4
add esi, 4
test eax, eax
jne 0x63129b
mov eax, dword [esp + 0x14]
push 0x14
add eax, 0x14
push eax
mov dword [esp + 0x1c], eax
call dword [esp + 0x64]
test eax, eax
je 0x631223
push ebp
call fcn.0063133d
mov eax, dword [ebp]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x631326
mov ecx, dword [esp + 0x10]
add eax, ecx
test eax, eax
je 0x63130d
push 0
push 1
push ecx
call eax
test eax, eax
jne 0x63131f
push ebp
call fcn.0063144d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret 4
mov dword [ebp + 0x10], 1
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov dword [ebp - 4], eax
stc
jb 0x6317db
por mm0, qword [ecx]
por mm0, qword [ecx]
jnp 0x14d142b
jmp 0x6317de
jmp 0x6317e1
mov eax, dword [ebp - 4]
jmp 0x6317e9
add byte [eax], al
add byte [ebx + 0x4c25de5], cl
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
mov esp, ebp
pop ebp
ret 4