Function at 0x42e770
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
mov ebx, ecx
xor edx, edx
push ebp
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x1c]
push esi
cmp eax, edx
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x18], ecx
je 0x42ec35
mov dword [esp + 0x14], edx
jbe 0x42ebdb
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov esi, dword [eax + esi*4]
mov al, byte [esi + 0x20]
test al, 2
je 0x42e7cf
mov byte [esp + 0x13], 1
test al, 1
je 0x42e8c9
mov eax, dword [esi + 0x38]
mov ecx, dword [esi]
lea edx, [eax + eax*2]
lea ebx, [ecx + edx*4]
lea edx, [eax + eax*2]
dec eax
lea ecx, [ecx + edx*8]
lea edi, [ebx - 0xc]
test eax, eax
lea ebp, [ecx - 0xc]
jbe 0x42e824
mov edx, dword [edi - 0xc]
sub edi, 0xc
sub ebx, 0xc
sub ebp, 0xc
sub ecx, 0xc
dec eax
mov dword [ebx], edx
mov edx, dword [edi + 4]
mov dword [ebx + 4], edx
mov edx, dword [edi + 8]
mov dword [ebx + 8], edx
mov edx, dword [ebp]
mov dword [ecx], edx
mov edx, dword [ebp + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
jne 0x42e7f3
sub ecx, 0xc
sub ebx, 0xc
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x10]
shr eax, 9
and eax, 3
sub eax, 0
je 0x42e882
dec eax
je 0x42e865
dec eax
jne 0x42ea1a
mov ecx, dword [esi + 0x2c]
push ebx
call fcn.00431830
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x30]
push eax
call fcn.00431830
jmp 0x42ea1a
lea ecx, [esi + 8]
push ecx
mov ecx, ebx
call fcn.00420920
mov ecx, dword [esp + 0x20]
add esi, 0x14
push esi
call fcn.00420920
jmp 0x42ea1a
mov ecx, dword [ecx + 0xc]
xor edx, edx
mov dl, byte [esi + 4]
mov dword [esp + 0x2c], ecx
push edx
call fcn.00430040
mov ecx, dword [eax + 0x30]
add eax, 0x30
mov dword [ebx], ecx
xor ecx, ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
mov cl, byte [esi + 5]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00430040
mov ecx, dword [esp + 0x20]
add eax, 0x30
push eax
call fcn.00420920
jmp 0x42ea1a
mov al, byte [esi + 0x28]
test al, al
je 0x42ea29
mov eax, dword [esi + 0x38]
mov edx, dword [esi]
lea ecx, [eax + eax*2]
lea ebp, [eax + eax*2]
dec eax
lea edi, [edx + ecx*4]
lea ebp, [edx + ebp*8]
test eax, eax
lea ecx, [edi - 0xc]
lea edx, [ebp - 0xc]
jbe 0x42e92d
mov dword [esp + 0x20], eax
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
sub edi, 0xc
sub edx, 0xc
sub ebp, 0xc
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx]
mov dword [ebp], eax
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
mov eax, dword [edx + 8]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x42e8f4
mov eax, dword [ebx + 0x10]
sub ebp, 0xc
shr eax, 9
and eax, 3
sub edi, 0xc
sub eax, 0
je 0x42e96c
dec eax
je 0x42e95b
dec eax
jne 0x42e9a8
mov ecx, dword [esi + 0x2c]
push edi
call fcn.00431830
mov ecx, dword [esi + 0x30]
push ebp
call fcn.00431830
jmp 0x42e9a8
lea ecx, [esi + 8]
push ecx
mov ecx, edi
call fcn.00420920
lea edx, [esi + 0x14]
push edx
jmp 0x42e9a1
mov ebx, dword [ebx + 0xc]
xor eax, eax
mov al, byte [esi + 4]
mov ecx, ebx
push eax
call fcn.00430040
mov ecx, dword [eax + 0x30]
add eax, 0x30
mov dword [edi], ecx
xor ecx, ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov cl, byte [esi + 5]
push ecx
mov ecx, ebx
call fcn.00430040
add eax, 0x30
push eax
mov ecx, ebp
call fcn.00420920
mov eax, dword [esi + 0x38]
mov ebx, dword [esi]
xor edx, edx
mov ecx, eax
mov dl, byte [esi + 0x28]
sub ecx, edx
lea edx, [eax + eax*2]
lea edi, [ebx + edx*4 - 0xc]
lea edx, [eax + eax*2]
lea ebp, [ebx + edx*8 - 0xc]
mov edx, eax
add eax, eax
sub edx, ecx
sub eax, ecx
dec edx
dec eax
lea edx, [edx + edx*2]
lea eax, [eax + eax*2]
lea edx, [ebx + edx*4]
test ecx, ecx
lea ebx, [ebx + eax*4]
jbe 0x42ea17
mov dword [esp + 0x20], ecx
mov ecx, dword [edx]
mov eax, edi
sub edi, 0xc
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebx]
mov eax, ebp
sub ebp, 0xc
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x42e9e2
dec byte [esi + 0x28]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x12], 1
xor edx, edx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
inc eax
cmp eax, esi
mov dword [esp + 0x14], eax
jb 0x42e7b8
mov al, byte [esp + 0x12]
test al, al
je 0x42ebdb
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x1c]
test al, al
mov eax, dword [edx + 0x18]
je 0x42ea77
push 0xa
push eax
call fcn.0064bf00
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x30], ecx
jmp 0x42ea7f
push 2
push eax
call fcn.0064bf00
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x14], 0
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*4]
mov eax, dword [ebx + 0x10]
test ah, 6
jne 0x42eac7
mov edx, dword [esi + 0x38]
mov eax, dword [esi]
push edx
push eax
push eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
add ecx, 0x50
call fcn.004b9530
test byte [esi + 0x20], 2
je 0x42eb10
mov ecx, dword [esi + 0x34]
mov ebx, dword [esp + 0x28]
mov eax, ecx
imul ecx, dword [esp + 0x14]
shr eax, 1
lea edx, [ebx + ecx*4]
add ecx, eax
test eax, eax
lea ecx, [ebx + ecx*4]
je 0x42eb0c
mov dword [esp + 0x2c], eax
mov ebx, dword [esi + 0x24]
mov eax, edx
add edx, 4
mov dword [eax], ebx
mov ebx, dword [esi + 0x24]
mov eax, ecx
add ecx, 4
mov dword [eax], ebx
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x42eaed
and byte [esi + 0x20], 0xfd
mov al, byte [esi + 0x28]
test al, al
je 0x42eb57
mov eax, dword [esi + 0x38]
mov ecx, dword [esi]
mov ebx, dword [esi + 0x34]
lea edx, [eax + eax*2]
shr ebx, 1
lea edx, [ecx + edx*4]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
push edx
push ebx
push ecx
push eax
call fcn.00404530
mov ecx, dword [esp + 0x30]
lea eax, [ebx + ebx*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x38]
push edx
push ebx
push eax
push ecx
call fcn.00404530
add esp, 0x20
jmp 0x42eba2
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x20]
shr eax, 1
lea edx, [eax + eax*2]
lea edx, [ecx + edx*4]
je 0x42eba2
mov dword [esp + 0x2c], eax
mov ebx, dword [edi]
mov eax, ecx
add ecx, 0xc
mov dword [eax], ebx
mov ebx, dword [edi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edi + 8]
mov dword [eax + 8], ebx
mov ebx, dword [ebp]
mov eax, edx
add edx, 0xc
mov dword [eax], ebx
mov ebx, dword [ebp + 4]
mov dword [eax + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x42eb6c
mov esi, dword [esi + 0x34]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
lea eax, [esi + esi*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
jb 0x42ea9e
mov ecx, dword [esp + 0x18]
call fcn.00436860
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp ecx, edx
je 0x42ec35
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 4]
mov eax, dword [ecx + 0x1c]
add esi, 0x80
test byte [eax + 0x4c], 2
je 0x42ec03
push eax
call fcn.00649940
mov ecx, dword [esp + 0x1c]
add esp, 4
xor edx, edx
mov eax, dword [ecx + 0x1c]
mov ebp, dword [esi]
add eax, 0x1c
mov edi, eax
mov dword [edi], ebp
mov ebp, dword [esi + 4]
mov dword [edi + 4], ebp
mov esi, dword [esi + 8]
mov dword [eax + 0xc], 0x48927c00
mov dword [edi + 8], esi
mov eax, dword [ecx + 0x1c]
mov esi, dword [eax + 0x4c]
and esi, 0xfffffffd
mov dword [eax + 0x4c], esi
mov ecx, dword [ecx + 0x1c]
or byte [ecx + 3], 1
mov eax, dword [ebx + 4]
mov ecx, 0x3f800000
add eax, 0x50
pop edi
pop esi
pop ebp
mov dword [eax + 0x28], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 8], edx
mov dword [eax + 4], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0xc], 0x20003
mov ebx, dword [ebx + 4]
mov al, byte [ebx + 3]
and al, 0xfb
mov byte [ebx + 3], al
mov al, byte [esp + 6]
pop ebx
add esp, 0x24
ret 4