Function at 0x420240
Capabilities:
Enumerate pe sections

Disassembly:
mov al, byte [0x48284c]
push ebx
push ebp
push esi
test al, 1
push edi
jne 0x420287
mov dl, al
xor ebx, ebx
or dl, 1
push 0x420510
mov byte [0x48284c], dl
mov dword [0x482838], ebx
mov dword [0x48283c], ebx
mov dword [0x482840], ebx
mov dword [0x482844], ebx
mov dword [0x482848], ebx
call fcn.00467a7e
add esp, 4
jmp 0x420289
xor ebx, ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor eax, eax
cmp byte [esp + 0x14], al
mov byte [ecx], 0
mov word [edx], bx
je 0x4203b1
mov esi, dword [esp + 0x18]
test byte [esi + 0x12], 0x1c
jne 0x4202be
mov byte [ecx], 1
mov cx, word [esi + 0x10]
pop edi
pop esi
pop ebp
mov word [edx], cx
pop ebx
ret 0x18
mov eax, dword [esi + 0xc]
cmp eax, ebx
jl 0x4202ea
mov edx, dword [0x482840]
mov ecx, dword [0x482838]
add edx, ecx
mov ecx, dword [0x48283c]
add ecx, eax
cmp ecx, edx
jbe 0x4202ea
push eax
mov ecx, 0x482838
call fcn.0041f470
mov ecx, dword [0x481180]
mov edx, dword [0x482838]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push ebx
mov ebx, dword [esp + 0x24]
add ecx, 0x14
push ecx
push ebx
mov dword [0x48283c], edx
call fcn.0040bbd0
mov al, byte [0x481194]
mov edi, dword [esi + 0xc]
mov ebp, dword [0x482838]
test al, al
je 0x42032b
call fcn.0040ca50
mov edx, dword [0x469524]
push edi
push ebp
mov eax, dword [edx + ebx*4]
push eax
test byte [eax + 4], 8
je 0x420344
call fcn.0040c670
jmp 0x420349
call fcn.0040bc90
mov cx, word [esi + 0x12]
mov edi, dword [0x482838]
and cx, 0x1c
cmp cx, 4
je 0x4203a8
mov si, word [esi + 6]
cmp si, 0x14c
je 0x42037a
cmp si, 0x1a2
je 0x42037a
cmp si, 0x1a6
je 0x42037a
xor dl, dl
jmp 0x42037c
mov dl, 1
mov al, byte [edi]
cmp al, 0x3f
je 0x42038e
cmp al, 0x40
je 0x42038e
test dl, dl
je 0x42038f
cmp al, 0x5f
jne 0x42038f
inc edi
cmp cx, 0xc
jne 0x4203a8
push 0x40
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x4203a8
mov byte [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [0x481180]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov ebp, eax
push ecx
add eax, 0x14
push ebx
push eax
push esi
mov dword [esp + 0x28], ebx
call fcn.0040bbd0
push ebx
push 0x40302c
mov edi, dword [esp + 0x28]
push edi
push esi
call fcn.00420190
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x1c]
push edx
add eax, ebp
push ebx
push eax
push esi
mov dword [esp + 0x2c], ebx
call fcn.0040bbd0
mov al, byte [0x481194]
test al, al
je 0x420405
call fcn.0040ca50
mov ecx, dword [0x469524]
push 4
mov eax, dword [ecx + esi*4]
test byte [eax + 4], 8
je 0x420423
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040c670
jmp 0x42042e
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040bc90
mov eax, dword [esp + 0x14]
test eax, 0x80000000
je 0x420450
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov byte [edx], 1
mov word [ecx], ax
pop ebp
xor eax, eax
pop ebx
ret 0x18
mov eax, dword [0x4968c4]
xor edx, edx
mov dx, word [edi + 2]
push ebx
push 0x403020
push edx
push eax
call fcn.00420100
mov edi, eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
jl 0x420496
mov ecx, dword [0x482840]
mov edx, dword [0x482838]
add ecx, edx
mov edx, dword [0x48283c]
add edx, eax
cmp edx, ecx
jbe 0x420496
push eax
mov ecx, 0x482838
call fcn.0041f470
mov eax, dword [0x482838]
lea ecx, [esp + 0x1c]
mov dword [0x48283c], eax
mov edx, dword [edi + 0x14]
push ecx
add edx, ebp
push ebx
push edx
push esi
mov dword [esp + 0x2c], ebx
call fcn.0040bbd0
mov al, byte [0x481194]
mov edi, dword [edi + 0x10]
mov ebp, dword [0x482838]
test al, al
je 0x4204cd
call fcn.0040ca50
mov eax, dword [0x469524]
push edi
push ebp
mov esi, dword [eax + esi*4]
push esi
test byte [esi + 4], 8
je 0x4204f3
call fcn.0040c670
mov ecx, dword [0x482838]
pop edi
pop esi
pop ebp
lea eax, [ecx + 2]
pop ebx
ret 0x18
call fcn.0040bc90
mov ecx, dword [0x482838]
pop edi
pop esi
pop ebp
lea eax, [ecx + 2]
pop ebx
ret 0x18