Function at 0x10042400
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov cl, byte [esi + 8]
mov edx, dword [esi]
xor ebp, ebp
mov bp, word [esi + 6]
mov ebx, eax
shr ebx, cl
lea ecx, [esp + 0x18]
and ebp, eax
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
push edx
call fcn.10043d00
add esp, 0x10
test al, al
je 0x10042466
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x13]
push ecx
lea edx, [esp + 0x48]
push edx
push ebp
push eax
call fcn.10042d50
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
push ecx
push ebx
push edx
call fcn.10043d60
add esp, 0x20
test al, al
jne 0x1004246f
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x30
ret
mov cl, byte [esp + 0x40]
test cl, cl
mov eax, dword [esp + 0x48]
mov dword [eax], 0
jne 0x10042492
mov al, byte [esp + 0xf]
test al, al
jne 0x10042492
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x30
ret
test cl, cl
mov eax, dword [esi]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], fcn.10043f10
je 0x100424a9
mov edi, ebx
jmp 0x100424fb
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.10043b20
mov edx, dword [esp + 0x34]
shr edx, 1
add esp, 0x10
cmp ebx, edx
jbe 0x1004257a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0
push esi
xor eax, eax
call fcn.10041f60
add esp, 0xc
cmp ax, 1
je 0x100424f7
pop edi
xor ecx, ecx
test ax, ax
pop esi
setge cl
pop ebp
mov al, cl
pop ebx
add esp, 0x30
ret
mov edi, dword [esp + 0x28]
mov ecx, dword [esi]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
call fcn.10043d80
add esp, 0x10
test al, al
je 0x100425a7
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x44]
add edx, 2
test al, al
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x30]
je 0x10042584
push ebp
push eax
call fcn.10042de0
add esp, 8
mov dword [esp + 0x20], eax
mov edx, dword [esi]
push edi
push edx
call fcn.10043ea0
add esp, 8
test al, al
je 0x100425a7
mov cl, byte [esi + 8]
movzx eax, word [esp + 0x20]
shl edi, cl
mov ecx, dword [esp + 0x4c]
or edi, eax
mov al, byte [esp + 0x44]
test al, al
mov dword [ecx], edi
jne 0x1004257a
mov edx, dword [esp + 0x48]
push edx
push esi
call fcn.10042350
add esp, 8
test al, al
je 0x100425a7
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x30
ret
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
call fcn.10042a50
mov ecx, dword [esi]
add esp, 0xc
test al, al
jne 0x100425b1
push edi
push ecx
call fcn.10043ea0
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x30
ret
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
call fcn.10043d00
add esp, 0x10
test al, al
jne 0x100425df
mov edx, dword [esi]
push edi
push edx
call fcn.10043ea0
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call fcn.10042fb0
mov edx, dword [esp + 0x2c]
add esp, 8
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.10042fb0
mov ecx, dword [esi]
add esp, 8
push eax
push ecx
call fcn.10043f10
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
push edx
push ebx
push eax
call fcn.10043d60
add esp, 0x1c
test al, al
jne 0x1004253e
mov ecx, dword [esi]
push edi
push ecx
call fcn.10043ea0
add esp, 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x30
ret