Function at 0x422430
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
lea edi, [esi + 0x51ba8]
mov ecx, edi
call fcn.0040cff0
mov ecx, dword [esi + 0xc]
xor eax, eax
mov ax, word [esi + 0x7a0df5]
push eax
push ecx
mov ecx, edi
call fcn.0040e4d0
mov cl, byte [esi + 0x5a7335]
mov eax, dword [esi + 0x7a0f39]
test cl, cl
mov dword [esp + 0x14], eax
je 0x422487
mov ecx, dword [esi + 0x7a106d]
test ecx, ecx
je 0x422487
mov edx, dword [esi + 0x7a0f3d]
mov dword [esp + 0x14], edx
mov eax, edx
mov ecx, eax
push eax
shr ecx, 8
shr eax, 0x10
push ecx
push eax
mov ecx, edi
call fcn.0040e3d0
movsx ebx, word [esi + 0x7a0ea1]
xor eax, eax
lea edx, [esi + 0x79dab9]
mov ax, word [esi + 0x7a0df5]
xor ecx, ecx
mov cx, word [esi + 0x7a0e99]
push edx
push eax
xor edx, edx
mov dl, byte [esi + 0x7a0e7e]
push ecx
push 0xa
push 0
push edx
push 0
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00422780
movsx edx, word [esi + 0x7a0e89]
xor ecx, ecx
lea eax, [esi + 0x79d6d1]
mov cx, word [esi + 0x7a0e87]
push eax
add edx, ebx
push ecx
add ebx, 0x64
push edx
push ebx
push 0
push 0
mov ecx, esi
call fcn.004227f0
cmp word [esi + 0x79dc05], 0
jle 0x4225b5
movsx eax, word [esi + 0x7a0e9d]
mov ecx, dword [esi + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.0040e4d0
xor ebp, ebp
xor ebx, ebx
mov bp, word [esi + 0x7a0df5]
shr ebp, 1
cmp word [esi + 0x79dc05], bx
jle 0x4225b5
lea edi, [esi + 0x79db29]
movsx eax, word [esi + 0x7a0e89]
lea edx, [edi - 0x14]
xor ecx, ecx
mov cl, byte [edi]
push edx
add eax, dword [esp + 0x1c]
imul eax, ecx
movsx edx, word [esi + 0x7a0e9d]
add eax, 0x64
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
push eax
xor eax, eax
mov al, byte [edi + 3]
fmul dword [0x4c03cc]
mov dword [esp + 0x24], eax
fimul dword [esp + 0x24]
call fcn.004b0e40
xor ecx, ecx
mov cl, byte [edi + 2]
mov edx, ecx
xor ecx, ecx
imul edx, ebp
mov cl, byte [edi + 1]
sub edx, eax
imul ecx, ebp
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [esi + 0x51ba8]
push eax
call fcn.0040e870
movsx edx, word [esi + 0x79dc05]
inc ebx
add edi, 0x18
cmp ebx, edx
jl 0x42253c
cmp word [esi + 0x79dccf], 0
jle 0x4226fa
xor ebp, ebp
mov bp, word [esi + 0x7a0df5]
mov edi, ebp
imul edi, ebp
shl edi, 2
push edi
mov dword [esp + 0x24], edi
call fcn.004b099c
mov dword [esp + 0x14], eax
xor eax, eax
mov ax, word [esi + 0x7a0df5]
add esp, 4
sub eax, 0x14
mov dword [esp + 0x1c], 0
shl eax, 5
cmp word [esi + 0x79dccf], 0
mov dword [esp + 0x24], eax
jle 0x4226ed
mov eax, ebp
lea ebx, [esi + 0x79dc07]
sar eax, 1
mov dword [esp + 0x28], eax
jmp 0x422622
mov edi, dword [esp + 0x20]
mov ecx, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
mov edx, dword [esp + 0x14]
rep stosb byte es:[edi], al
movsx eax, word [ebx]
mov ecx, dword [esp + 0x28]
push ebp
shl eax, 5
push eax
push ecx
movsx eax, word [esi + 0x7a0f23]
push edx
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [esi + edx*4 + 0x25ba8]
call fcn.0040d670
mov eax, dword [ebx + 6]
mov ecx, eax
and ecx, 1
imul ecx, dword [esp + 0x28]
sar eax, 1
imul eax, ebp
movsx edx, word [esi + 0x7a0e89]
add ecx, eax
mov eax, dword [esp + 0x18]
add edx, eax
imul edx, dword [ebx + 2]
lea edi, [edx + eax + 0x64]
xor edx, edx
movsx eax, word [ebx]
mov dl, byte [eax + esi + 0x7a0f25]
mov eax, edx
sub eax, 0
je 0x4226b9
dec eax
jne 0x4226d2
mov eax, dword [esp + 0x10]
push eax
push ebp
push ebp
push edi
push ecx
lea ecx, [esi + 0x51ba8]
call fcn.0040ddf0
jmp 0x4226d2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
push ebp
push edi
push ecx
lea ecx, [esi + 0x51ba8]
call fcn.0040de90
mov eax, dword [esp + 0x1c]
add ebx, 0xa
movsx ecx, word [esi + 0x79dccf]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x42261e
mov edx, dword [esp + 0x10]
push edx
call fcn.004b0991
add esp, 4
xor eax, eax
mov ecx, esi
mov al, byte [esi + 0x7a0e81]
push eax
push 0
call fcn.00422850
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x42276f
lea ebx, [esi + 0x79dae1]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
mov dword [esi + 0x7a0f87], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42276f
xor edi, edi
mov eax, 1
push edi
push edi
push ebx
mov ecx, esi
mov dword [esi + 0x7a0f87], eax
mov dword [esi + 0x79d661], eax
call fcn.00452ac0
test eax, eax
jne 0x42276f
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], ecx
mov dword [esi + 0x7a0f87], edi
mov dword [esi + 0x79d661], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 4