Function at 0x438ca0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
push edi
xor edi, edi
xor ebp, ebp
cmp ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], edi
je 0x438d89
mov al, byte [ecx + 0x29]
test al, al
jne 0x438cf9
cmp dword [ecx], edi
jne 0x438cf9
movzx eax, word [esi + 0x1a]
movzx edx, word [esi + 0x18]
push edi
push edi
push eax
push edx
push 5
call fcn.00461550
mov ecx, dword [esi + 0x10]
xor eax, eax
cmp word [esi + 0x20], di
setge al
mov dword [ecx + 0x20], eax
mov ecx, dword [esi + 0x10]
mov al, byte [ecx + 0x29]
test al, al
jne 0x438d07
cmp dword [ecx], edi
je 0x438d1f
call fcn.004614e0
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
mov ebp, edx
movzx eax, byte [esi + 0x1c]
movsx ecx, word [esi + 0x20]
cmp eax, ecx
jne 0x438d2f
xor edx, edx
jmp 0x438d54
mov ecx, dword [esp + 0x50]
mov dl, byte [ecx + eax*4 + 4]
mov byte [esp + 0x1a], dl
mov dl, byte [ecx + eax*4 + 5]
mov al, byte [ecx + eax*4 + 6]
mov byte [esp + 0x19], dl
mov byte [esp + 0x18], al
mov byte [esp + 0x1b], 0xff
mov edx, dword [esp + 0x18]
cmp word [esi + 0x1a], 0
jbe 0x438d87
jmp 0x438d60
xor eax, eax
cmp word [esi + 0x18], ax
jbe 0x438d80
movzx ecx, di
imul ecx, dword [esp + 0x2c]
movzx ebx, ax
lea ebx, [ecx + ebx*4]
inc eax
mov dword [ebx + ebp], edx
cmp ax, word [esi + 0x18]
jb 0x438d70
inc edi
cmp di, word [esi + 0x1a]
jb 0x438d60
xor edi, edi
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x4104], di
mov edx, dword [esi + 0x14]
mov word [edx + 0x4102], di
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
lea ecx, [eax + 1]
cmp ecx, edx
ja 0x43907d
mov edx, dword [esi + 0xc]
add edx, eax
mov al, byte [edx]
mov dword [esi + 4], ecx
movzx ecx, al
mov ebx, 1
shl ebx, cl
lea edx, [ecx + 1]
push 0
push edx
lea eax, [ebx + 2]
mov ecx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
call fcn.00438b70
mov ebp, eax
cmp ebp, 0xffffffff
je 0x439058
cmp ebp, 0xfffffffe
je 0x439077
lea eax, [ebx + 1]
cmp ebp, eax
je 0x439031
cmp ebp, ebx
jne 0x438e21
mov ecx, dword [esp + 0x38]
lea eax, [ebx + 2]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
jmp 0x439015
mov edx, dword [esp + 0x1c]
cmp ebp, edx
jge 0x438e2d
mov ecx, ebp
jmp 0x438e36
mov ecx, dword [esp + 0x20]
mov edi, 1
lea eax, [ebx + 2]
cmp ecx, eax
jl 0x438e7d
lea ecx, [ecx]
cmp edi, 0x1000
jg 0x439077
cmp ecx, 0xfff
jg 0x439077
mov edx, dword [esi + 0x14]
mov bl, byte [edx + ecx + 0x2000]
mov byte [edx + edi + 0x3000], bl
mov edx, dword [esi + 0x14]
movzx ecx, word [edx + ecx*2]
inc edi
cmp ecx, eax
jge 0x438e40
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
cmp edi, 0x1000
jg 0x439077
mov eax, dword [esi + 0x14]
mov byte [eax + edi + 0x3000], cl
mov eax, dword [esp + 0x20]
inc edi
cmp eax, ebx
je 0x438edb
mov ebx, dword [esi + 0x14]
mov word [ebx + edx*2], ax
mov eax, dword [esi + 0x14]
mov byte [eax + edx + 0x2000], cl
inc edx
cmp edx, 0x1000
mov dword [esp + 0x1c], edx
jg 0x439077
mov ecx, dword [esp + 0x18]
mov eax, 1
shl eax, cl
cmp edx, eax
jl 0x438ed7
cmp ecx, 0xc
jge 0x438ed7
inc ecx
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x20], ebp
je 0x439015
dec edi
mov dword [esp + 0x34], edi
js 0x439015
mov ebp, dword [esp + 0x50]
mov ecx, dword [esi + 0x14]
mov dl, byte [ebp]
mov al, byte [ecx + edi + 0x3000]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
dec dl
and al, dl
mov edx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x44]
add edx, edi
cmp cx, word [esi + 0x18]
jae 0x438f77
cmp dx, word [esi + 0x1a]
jae 0x438f77
mov edi, dword [esp + 0x14]
movzx edx, dx
imul edx, dword [esp + 0x2c]
movzx ecx, cx
add edx, edi
lea ecx, [edx + ecx*4]
movsx edx, word [esi + 0x20]
movzx eax, al
cmp eax, edx
je 0x438f68
mov dl, byte [ebp + eax*4 + 4]
mov byte [ecx + 2], dl
mov edx, ebp
mov dl, byte [edx + eax*4 + 5]
mov byte [ecx + 1], dl
mov edx, ebp
mov al, byte [edx + eax*4 + 6]
mov byte [ecx], al
mov byte [ecx + 3], 0xff
jmp 0x438f77
mov byte [ecx + 2], 0
mov byte [ecx + 1], 0
mov byte [ecx], 0
mov byte [ecx + 3], 0
mov eax, dword [esp + 0x24]
inc eax
cmp ax, word [esp + 0x48]
mov dword [esp + 0x24], eax
jne 0x439006
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x24], 0
je 0x439002
mov ecx, dword [esp + 0x30]
movzx eax, cx
cmp eax, 3
ja case.default.0x438fa3
jmp dword [eax*4 + 0x439098]
mov eax, dword [esp + 0x10]
add eax, 8
jmp 0x438fc3
mov eax, dword [esp + 0x10]
add eax, 4
jmp 0x438fc3
mov eax, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x10], eax
mov dx, word [esp + 0x10]
cmp dx, word [esp + 0x4c]
jb 0x439006
inc ecx
movzx eax, cx
dec eax
mov dword [esp + 0x30], ecx
je 0x438ff8
dec eax
je 0x438fee
dec eax
jne 0x439006
mov dword [esp + 0x10], 1
jmp 0x439006
mov dword [esp + 0x10], 2
jmp 0x439006
mov dword [esp + 0x10], 4
jmp 0x439006
inc dword [esp + 0x10]
mov edi, dword [esp + 0x34]
dec edi
mov dword [esp + 0x34], edi
jns 0x438ef6
mov eax, dword [esp + 0x18]
xor edi, edi
push edi
push eax
mov ecx, esi
call fcn.00438b70
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x438df1
jmp 0x439058
mov edi, dword [esp + 0x18]
push 0
push edi
mov ecx, esi
call fcn.00438b70
cmp eax, 0xffffffff
je 0x439058
cmp eax, 0xfffffffe
je 0x439077
push 0
push edi
mov ecx, esi
call fcn.00438b70
cmp eax, 0xffffffff
jne 0x439044
mov eax, dword [esp + 0x14]
test eax, eax
je 0x439068
mov ecx, dword [esi + 0x10]
call fcn.00461500
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 0x18
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp ebp, edi
je 0x439089
mov ecx, dword [esi + 0x10]
call fcn.00461500
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x18