Function at 0x401000
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov word [ebp - 8], 0
cmp dword [0x42f1a8], 0
je 0x401053
mov word [ebp - 4], 0
jmp 0x401029
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp ecx, 0x10
jge 0x401053
mov edx, dword [ebp - 4]
and edx, 0xffff
mov eax, dword [0x42f1a8]
mov cx, word [ebp - 8]
add cx, word [eax + edx*2]
mov word [ebp - 8], cx
jmp 0x40101d
mov edx, dword [ebp - 8]
and edx, 0xffff
cmp edx, 0x1e
jle 0x40126c
xor eax, eax
mov ax, word [0x42e4e4]
cmp eax, 5
jle 0x401163
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 0x1e]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0x1c]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 0x1a]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 0x18]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0x16]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 0x14]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 0x12]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0x10]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 0xe]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 0xc]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0xa]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 8]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 4]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 2]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx]
push edx
push str.Reset_system_for_waitsemerror_aWaitSemErr:_d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d
push 0x58
push 0x421c88
push 0x421ca4
call fcn.0040237f
add esp, 0x50
call fcn.00401456
call fcn.00401f11
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0x1e]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 0x1c]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 0x1a]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0x18]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 0x16]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 0x14]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0x12]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 0x10]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 0xe]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 0xc]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 0xa]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 8]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [0x42f1a8]
xor eax, eax
mov ax, word [edx + 4]
push eax
mov ecx, dword [0x42f1a8]
xor edx, edx
mov dx, word [ecx + 2]
push edx
mov eax, dword [0x42f1a8]
xor ecx, ecx
mov cx, word [eax]
push ecx
push str.Stop_All_Process_for_waitsemerror_aWaitSemErr:_d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d
push 0x63
push 0x421d14
push 0x421d30
call fcn.0040237f
add esp, 0x50
call fcn.00401456
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401275
mov dx, word [0x42e4e4]
add dx, 1
mov word [0x42e4e4], dx
mov esp, ebp
pop ebp
ret