Function at 0x422a40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov dword [ebp - 0xb0], ecx
movzx eax, byte [ebp + 0x10]
movzx ebx, byte [ebp + 0xc]
mov byte [ebp - 0xb1], al
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0044ede0
mov dword [ebp - 0x98], eax
mov dword [esp], 0xc
call fcn.00450d80
mov dword [eax], 0x4cdd98
mov edi, eax
mov esi, eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x98]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x9c]
mov eax, 0x48a6e0
test edi, edi
jne 0x422ac8
mov ecx, dword [ebp - 0xac]
call eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call fcn.004240e0
mov edi, eax
cmp bl, 1
movzx edx, word [edi + 0x18]
sbb eax, eax
and eax, 0xffffff00
add eax, 0x20b
cmp edx, eax
je 0x422b00
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x422ab1
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0044f3a0
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.0044f590
mov eax, dword [ebp - 0x30]
lea ebx, [ebp - 0x28]
cmp eax, ebx
je 0x422b44
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
mov dword [esp], 0
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0xb0]
call fcn.00422200
sub esp, 8
inc eax
je 0x422cc0
mov eax, dword [ebp - 0xb0]
lea ebx, [eax + 0x60]
lea eax, [ebp - 0x90]
mov ecx, ebx
mov dword [esp], eax
call fcn.0049e1c0
sub esp, 4
test edx, edx
je 0x422ba5
mov dword [esp + 4], edx
lea esi, [ebp - 0x90]
mov ecx, ebx
mov dword [esp + 8], esi
mov dword [esp], eax
call fcn.00421f90
sub esp, 0xc
test byte [edi + 0x17], 0x20
je 0x422c2e
cmp word [edi + 0x18], 0x20b
je 0x422c70
mov edx, dword [edi + 0x74]
lea eax, [edi + 0x78]
test edx, edx
je 0x422c84
movzx ebx, word [edi + 6]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
movzx eax, word [edi + 0x14]
test ebx, ebx
mov dword [ebp - 0xc0], esi
lea eax, [edi + eax + 0x18]
je 0x422c2e
mov edi, esi
add ecx, esi
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0xac], ebx
xor edx, edx
mov ebx, ecx
mov dword [ebp - 0xb8], esi
mov esi, edi
mov ecx, dword [eax + 0xc]
cmp esi, ecx
jb 0x422c14
mov edi, dword [eax + 0x10]
add edi, ecx
cmp edi, ebx
jae 0x422cf0
mov ecx, dword [ebp - 0xac]
inc edx
add eax, 0x28
cmp edx, ecx
jne 0x422c00
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x422c54
mov edx, dword [ebp - 0x88]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov ecx, dword [edi + 0x84]
lea eax, [edi + 0x88]
test ecx, ecx
jne 0x422bc9
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x422caa
mov edx, dword [ebp - 0x88]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov eax, dword [eax + 4]
jmp 0x422ab1
mov dword [esp], 1
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0xb0]
call fcn.00422200
sub esp, 8
inc eax
je 0x422ba5
jmp 0x422b6a
mov edi, dword [ebp - 0xc0]
mov ebx, dword [eax + 0x14]
mov esi, dword [ebp - 0xb8]
add ebx, edi
mov dword [ebp - 0xac], esi
mov eax, ebx
mov ebx, dword [ebp - 0x98]
sub eax, ecx
add eax, ebx
mov dword [ebp - 0xc4], eax
mov esi, dword [eax + 0x20]
mov ebx, eax
add eax, esi
sub eax, edi
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x422c2e
mov eax, dword [ebp - 0xb0]
lea ecx, [eax + 0x18]
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.004956e0
mov ecx, eax
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [esp], eax
call fcn.0049c660
mov eax, dword [ebp - 0xb8]
sub ebx, edi
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
mov esi, ebx
sub esp, 4
mov edx, dword [eax]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], eax
add esi, edx
jmp 0x422fcf
cmp eax, 1
mov edi, dword [ebp - 0x78]
je 0x423020
test eax, eax
jne 0x423007
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x94]
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.0044c1c0
mov ebx, dword [ebp - 0x94]
lea eax, [ebp - 0x28]
sub esp, 4
mov dword [ebp - 0x30], eax
test ebx, ebx
je 0x423208
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea ecx, [ebp - 0x30]
mov dword [esp], ebx
lea eax, [ebx + eax*2]
mov dword [esp + 4], eax
call fcn.00421d10
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x8c]
sub esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x48]
mov dword [esp], eax
lea edx, [eax + edx*2]
mov dword [esp + 4], edx
call fcn.00421e20
sub esp, 8
mov dword [esp], 0x4b579c
call sub.msvcrt.dll_wcslen
mov ebx, dword [ebp - 0x44]
mov edx, 0x1fffffff
sub edx, ebx
cmp edx, eax
jb 0x423214
mov dword [esp + 4], eax
lea ecx, [ebp - 0x48]
mov dword [esp], 0x4b579c
call fcn.0049c5c0
mov esi, dword [ebp - 0x48]
lea edi, [ebp - 0x40]
sub esp, 8
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
cmp esi, edi
lea ecx, [edx + eax]
je 0x4230b0
cmp dword [ebp - 0x40], ecx
jae 0x422e70
lea edi, [ebp - 0x28]
cmp ebx, edi
je 0x423178
mov edi, dword [ebp - 0x28]
cmp edi, ecx
jae 0x423058
mov ecx, 0x1fffffff
sub ecx, edx
cmp ecx, eax
jb 0x4231fc
mov dword [esp + 4], eax
lea ecx, [ebp - 0x48]
mov dword [esp], ebx
call fcn.0049c5c0
lea ebx, [ebp - 0x58]
sub esp, 8
mov ecx, dword [eax + 4]
mov dword [ebp - 0x60], ebx
lea edx, [eax + 8]
mov esi, dword [eax]
cmp esi, edx
je 0x423030
mov dword [ebp - 0x60], esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov word [eax + 8], 0
mov eax, dword [ebp - 0x48]
lea esi, [ebp - 0x40]
cmp eax, esi
je 0x422edf
mov edx, dword [ebp - 0x40]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x28]
cmp eax, esi
je 0x422efc
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
lea ecx, [ebp - 0x94]
call fcn.0044c1e0
lea esi, [ebp - 0x60]
cmp byte [ebp - 0xb1], 0
je 0x422f33
mov dword [esp], esi
mov edi, dword [ebp - 0xb0]
mov ecx, edi
call fcn.00490550
mov edx, edi
add edx, 4
sub esp, 4
cmp edx, eax
je 0x423110
mov dword [esp], esi
mov edi, dword [ebp - 0xb0]
mov ecx, edi
call fcn.0049e1c0
sub esp, 4
test edx, edx
je 0x422f5f
mov dword [esp + 8], esi
mov ecx, edi
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00421f90
sub esp, 0xc
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x422f79
mov edx, dword [ebp - 0x58]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
mov eax, dword [ebp - 0x78]
lea ebx, [ebp - 0x70]
cmp eax, ebx
je 0x422f95
mov esi, dword [ebp - 0x70]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.004a2230
inc dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc4]
add dword [ebp - 0xb8], 4
mov eax, dword [ebp - 0xbc]
cmp eax, dword [esi + 0x18]
mov ebx, dword [ebp - 0xb8]
jae 0x422c2e
mov eax, dword [ebp - 0xc0]
sub esi, eax
mov eax, dword [ebx]
add esi, eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x30], eax
cmp eax, 0xf
mov ebx, eax
jbe 0x422d80
lea eax, [ebp - 0x30]
xor edi, edi
mov dword [esp + 4], edi
lea ecx, [ebp - 0x78]
mov dword [esp], eax
call fcn.00499010
mov dword [ebp - 0x78], eax
mov edi, eax
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [ebp - 0x70], eax
cmp ebx, 8
mov ecx, ebx
jae 0x4230d0
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x78]
jmp 0x422d94
movzx eax, byte [esi]
mov byte [edi], al
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x78]
jmp 0x422d94
mov esi, ecx
inc esi
je 0x422eb0
lea ecx, [esi + esi]
mov edi, ebx
cmp ecx, 8
mov esi, edx
jae 0x4231a6
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
jmp 0x422eb0
mov dword [esp + 0xc], edx
xor ecx, ecx
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x30]
mov dword [esp + 8], esi
mov dword [esp], 0
call fcn.0049a440
lea ebx, [ebp - 0x58]
sub esp, 0x10
mov esi, dword [eax + 4]
mov dword [ebp - 0x60], ebx
lea edx, [eax + 8]
mov ecx, dword [eax]
cmp ecx, edx
je 0x423188
mov dword [ebp - 0x60], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], esi
mov dword [eax], edx
mov dword [eax + 4], 0
mov word [eax + 8], 0
jmp 0x422ec2
cmp ecx, 7
jbe 0x422e70
lea edi, [ebp - 0x28]
cmp ebx, edi
jne 0x422e65
jmp 0x422e70
test edi, 1
jne 0x4231d8
test edi, 2
jne 0x4231c3
test edi, 4
je 0x423012
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x423012
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
mov dword [esp], eax
lea edx, [eax + edx*2]
mov dword [esp + 4], edx
call fcn.00421e20
mov eax, dword [ebp - 0x30]
sub esp, 8
mov edx, str.___ls_n
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [0x4f24c8]
mov dword [esp], eax
call fcn.004509f0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
cmp eax, edx
je 0x422f33
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
jmp 0x422f33
mov edi, 7
jmp 0x422e68
mov ecx, esi
inc ecx
je 0x423097
add ecx, ecx
mov edi, ebx
cmp ecx, 8
mov esi, edx
jae 0x4231e6
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax + 4]
jmp 0x423097
test bl, 4
je 0x423049
mov esi, dword [eax + 8]
lea edi, [ebp - 0x54]
sub ecx, 4
mov dword [ebp - 0x58], esi
lea esi, [eax + 0xc]
jmp 0x423049
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x4230e8
movzx eax, byte [esi]
inc edi
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x4230dc
test bl, 4
je 0x42319c
mov esi, dword [eax + 8]
lea edi, [ebp - 0x54]
sub ecx, 4
mov dword [ebp - 0x58], esi
lea esi, [eax + 0xc]
jmp 0x42319c
mov dword [esp], 0x4b586a
call fcn.004a64e4
mov dword [esp], 0x4b5838
call fcn.004a63f4
mov dword [esp], 0x4b586a
call fcn.004a64e4
mov ebx, eax
jmp 0x4a46ec
lea ecx, [ebp - 0x30]
call fcn.0049a410
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp], ebx
call fcn.00471810
dec eax
jne 0x4a46f4
mov dword [esp], ebx
call fcn.004a22f0
call fcn.004a2430
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov eax, dword [eax + 4]
jmp 0x422ab1