Function at 0x42fc17
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
push esi
mov esi, ecx
test eax, eax
jne 0x42fc2a
mov eax, 0x80004003
pop esi
add esp, 0x24
ret 4
cmp dword [esi + 0x164], 0
jne 0x42fc3f
mov eax, 0x8000ffff
pop esi
add esp, 0x24
ret 4
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [esi + 0x164]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test al, al
je 0x42fc33
mov eax, dword [esi + 0x568]
push ebx
push ebp
push edi
test eax, eax
jne 0x42fd31
mov ecx, dword [esi + 0x5a4]
mov eax, dword [esi + 0x5a8]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
lea edx, [ecx*4]
mov dword [esp + 0x24], edx
lea edx, [eax - 1]
imul edx, ebx
add edx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], edi
test eax, eax
jbe 0x43000d
mov ebx, ecx
shr ebx, 2
mov ebp, ecx
and ebp, 3
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov ecx, edi
mov eax, edx
test ebx, ebx
jbe 0x42fcfe
sub edi, edx
nop
mov ebp, dword [ecx]
mov dword [eax], ebp
mov ebp, dword [edi + eax + 4]
mov dword [eax + 4], ebp
mov ebp, dword [ecx + 8]
mov dword [eax + 8], ebp
mov ebp, dword [ecx + 0xc]
mov dword [eax + 0xc], ebp
add ecx, 0x10
add eax, 0x10
sub ebx, 1
jne 0x42fcd0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
test ebp, ebp
jbe 0x42fd19
mov ebx, dword [ecx]
mov dword [eax], ebx
add ecx, 4
add eax, 4
sub ebp, 1
jne 0x42fd02
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x14]
add edi, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
sub dword [esp + 0x1c], 1
mov dword [esp + 0x18], edi
jne 0x42fcc5
jmp 0x43000d
cmp eax, 1
jne 0x42fe4d
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x5a8]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x5a4]
mov dword [esp + 0x38], edi
lea edi, [ecx - 1]
imul edi, edx
add edi, dword [esp + 0x30]
lea ebx, [eax + eax*2 + 3]
shr ebx, 2
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], edx
test ecx, ecx
jbe 0x43000d
mov edx, eax
shr edx, 2
mov ebp, eax
and ebp, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
lea ecx, [ecx]
mov eax, dword [esp + 0x38]
mov ecx, edi
test edx, edx
jbe 0x42fdfa
lea ebx, [ebx]
mov ebx, dword [eax]
or ebx, 0xff000000
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
movzx ebp, byte [eax + 3]
or ebx, 0xffff0000
shl ebx, 8
or ebx, ebp
mov dword [ecx + 4], ebx
mov ebp, dword [eax + 8]
movzx ebx, word [eax + 6]
or ebp, 0xffffff00
shl ebp, 0x10
or ebx, ebp
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 8]
shr ebx, 8
or ebx, 0xff000000
mov dword [ecx + 0xc], ebx
add eax, 0xc
add ecx, 0x10
sub edx, 1
jne 0x42fda0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test ebp, ebp
jbe 0x42fe35
inc eax
mov edx, ebp
movzx ebx, byte [eax + 1]
movzx ebp, byte [eax]
or ebx, 0xffffff00
shl ebx, 8
or ebx, ebp
movzx ebp, byte [eax - 1]
shl ebx, 8
or ebx, ebp
mov dword [ecx], ebx
add eax, 3
add ecx, 4
sub edx, 1
jne 0x42fe01
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add dword [esp + 0x38], ebx
sub edi, dword [esp + 0x24]
sub dword [esp + 0x20], 1
jne 0x42fd90
jmp 0x43000d
cmp eax, 3
jne 0x43000d
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x5a8]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x5a4]
mov dword [esp + 0x38], ebx
lea ebx, [eax - 1]
imul ebx, edi
add ebx, dword [esp + 0x30]
lea edx, [ecx + 3]
shr edx, 2
add edx, edx
add edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
test eax, eax
jbe 0x43000d
mov edi, ecx
shr edi, 2
mov ebp, ecx
and ebp, 3
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
lea esp, [esp]
mov ecx, dword [esp + 0x38]
mov eax, ebx
test edi, edi
jbe 0x42ffa6
mov edi, edi
mov edx, dword [ecx]
and edx, 0xff
movzx ebx, byte [esi + edx*4 + 0x16a]
movzx ebp, byte [esi + edx*4 + 0x169]
or ebx, 0xffffff00
shl ebx, 8
or ebx, ebp
lea edx, [esi + edx*4 + 0x168]
movzx edx, byte [edx]
shl ebx, 8
or ebx, edx
mov dword [eax], ebx
movzx edx, byte [ecx + 1]
movzx ebx, byte [esi + edx*4 + 0x16a]
movzx ebp, byte [esi + edx*4 + 0x169]
or ebx, 0xffffff00
lea edx, [esi + edx*4 + 0x168]
movzx edx, byte [edx]
shl ebx, 8
or ebx, ebp
shl ebx, 8
or ebx, edx
mov dword [eax + 4], ebx
movzx edx, byte [ecx + 2]
movzx ebx, byte [esi + edx*4 + 0x16a]
movzx ebp, byte [esi + edx*4 + 0x169]
lea edx, [esi + edx*4 + 0x168]
movzx edx, byte [edx]
or ebx, 0xffffff00
shl ebx, 8
or ebx, ebp
shl ebx, 8
or ebx, edx
mov dword [eax + 8], ebx
movzx edx, byte [ecx + 3]
movzx ebx, byte [esi + edx*4 + 0x16a]
movzx ebp, byte [esi + edx*4 + 0x169]
lea edx, [esi + edx*4 + 0x168]
movzx edx, byte [edx]
or ebx, 0xffffff00
shl ebx, 8
or ebx, ebp
shl ebx, 8
or ebx, edx
mov dword [eax + 0xc], ebx
add ecx, 4
add eax, 0x10
sub edi, 1
jne 0x42fec0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jbe 0x42fff6
mov dword [esp + 0x20], ebp
mov edi, edi
movzx edx, byte [ecx]
movzx edi, byte [esi + edx*4 + 0x16a]
movzx ebp, byte [esi + edx*4 + 0x169]
lea edx, [esi + edx*4 + 0x168]
movzx edx, byte [edx]
or edi, 0xffffff00
shl edi, 8
or edi, ebp
shl edi, 8
or edi, edx
mov dword [eax], edi
inc ecx
add eax, 4
sub dword [esp + 0x20], 1
jne 0x42ffb0
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub ebx, dword [esp + 0x28]
add dword [esp + 0x38], edx
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], ebx
jne 0x42feb0
mov esi, dword [esi + 0x164]
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x24
ret 4