Function at 0x100042f8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [eax + 0x3c]
push esi
xor esi, esi
add ebx, eax
mov dword [ebp - 0x18], eax
mov dword [ecx], esi
mov ecx, dword [ebp + 0x14]
mov eax, 0x14c
mov dword [ecx], esi
mov dword [ebp - 0x14], ebx
cmp word [ebx + 4], ax
jne 0x10004609
movzx eax, word [ebx + 0x14]
push edi
mov dword [ebp - 0x10], esi
mov ecx, esi
movzx esi, word [ebx + 6]
lea edi, [ebx + 0x18]
add edi, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1000435f
mov edx, dword [ebx + 0x88]
mov eax, edi
cmp dword [eax + 0xc], edx
je 0x1000435c
inc ecx
add eax, 0x28
cmp ecx, esi
jb 0x1000434d
jmp 0x1000435f
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test esi, esi
je 0x10004397
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 0xc]
mov edx, 0x1000
mov ecx, esi
cmp edi, ebx
je 0x1000437e
mov ecx, dword [edi + 8]
call fcn.1000460f
add dword [ebp - 4], eax
add edi, 0x28
dec dword [ebp - 0x28]
jne 0x10004370
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0xc]
and dword [ebp - 8], 0
test esi, esi
je 0x100043d4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], edi
mov edx, 0x200
cmp edi, ebx
je 0x100043b9
mov ecx, dword [edi + 0x10]
jmp 0x100043bb
mov ecx, esi
call fcn.1000460f
add dword [ebp - 8], eax
add edi, 0x28
dec dword [ebp - 0x28]
jne 0x100043ab
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0xc]
imul esi, esi, 0x28
sub esi, dword [ebp - 0x18]
mov edx, 0x200
add esi, edi
mov ecx, esi
call fcn.1000460f
mov edx, 0x1000
mov ecx, esi
mov edi, eax
call fcn.1000460f
add eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
add eax, edi
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.10006b40
mov edx, dword [ebp - 0x18]
mov esi, eax
push edi
mov ecx, esi
mov dword [ebp - 4], esi
call fcn.10006ae0
mov edi, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x2c], 0
add edi, esi
xor edx, edx
mov dword [edi + 0x8c], eax
movzx eax, word [edi + 0x14]
movzx esi, word [ebx + 6]
lea ecx, [edi + 0x18]
add ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], edi
mov dword [ebp - 8], ecx
test esi, esi
je 0x10004469
mov ecx, eax
mov edi, dword [ebx + 0xa0]
cmp dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x34]
je 0x10004463
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x1000444b
jmp 0x10004466
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 8]
xor ebx, ebx
mov edx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
test esi, esi
je 0x100045aa
lea edx, [ecx + 0x24]
lea esi, [eax + 0x14]
sub ecx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], ecx
lea eax, [esi - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x100044e3
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push dword [esi - 4]
lea edx, [eax + edx]
add ecx, eax
call fcn.10006ae0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
add dword [esi + ecx], eax
add edx, dword [esi + ecx - 8]
mov ebx, dword [ebp - 0x14]
lea eax, [esi - 0x14]
mov dword [esi + ecx - 8], edx
cmp eax, dword [ebp - 0x2c]
jne 0x10004566
mov dword [edi + 0xa0], edx
jmp 0x10004566
mov edi, dword [esi - 8]
mov ecx, dword [esi - 0xc]
add ecx, edi
mov edx, 0x1000
call fcn.1000460f
mov ecx, dword [ebp + 0xc]
mov edx, 0x1000
lea ecx, [edi + ecx]
mov esi, eax
call fcn.1000460f
mov ecx, dword [ebp - 0x24]
sub eax, esi
mov edi, dword [ecx]
mov ecx, dword [ecx - 4]
add ecx, edi
mov edx, 0x200
mov dword [ebp - 0x30], eax
call fcn.1000460f
mov ecx, dword [ebp + 0xc]
mov edx, 0x200
lea ecx, [edi + ecx]
mov esi, eax
call fcn.1000460f
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, esi
lea ecx, [edi + ecx]
mov dword [ebp - 0x1c], eax
call fcn.10006ae0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
mov edx, 0x200
mov ecx, eax
mov dword [esi - 0x1c], eax
call fcn.1000460f
mov edi, dword [ebp - 0x34]
mov dword [esi - 0x14], eax
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
test byte [eax], 0x60
je 0x10004588
mov ecx, dword [esi - 4]
mov edx, 0x200
call fcn.1000460f
mov edx, dword [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
jmp 0x1000458b
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
add eax, 0x28
mov dword [ebp - 0xc], eax
movzx eax, word [ebx + 6]
inc ecx
add esi, 0x28
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], esi
cmp ecx, eax
jb 0x10004495
mov eax, dword [ebp - 0x3c]
and dword [edi + 0x58], 0
push str.imagehlp.dll
mov dword [edi + 0x50], eax
mov dword [edi + 0x20], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100045f8
push str.CheckSumMappedFile
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [ebp - 0x28]
test eax, eax
je 0x100045ef
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
push ebx
push dword [ebp - 4]
call eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x58], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100045fb
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
pop edi
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop esi
pop ebx
leave
ret 0x10