Function at 0x428140
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edx, dword [esp + 0x44]
mov eax, dword [0x4636bc]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x30], 0
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x2c], 0
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x20], 0
mov eax, dword [esp + 0x3c]
mov word [eax + 0x3c], 0
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x34], 1
mov eax, dword [esp + 0x3c]
and byte [eax + 0x2a], 0xbf
mov eax, dword [esp + 0x3c]
and byte [eax + 0x2b], 0xfe
mov eax, dword [esp + 0x3c]
and byte [eax + 0x2a], 0x7f
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x38], 0
mov ecx, dword [esp + 0x3c]
movzx eax, word [ecx + 0x3e]
test eax, eax
je 0x4281df
movzx ebp, word [edx + 0x24]
imul ebp, eax
add ebp, ebp
add ebp, dword [edx + 0x54]
test cl, 1
jne 0x4281e6
movzx eax, word [ecx + 0x24]
mov edx, eax
shl edx, 3
mov esi, ecx
sub esi, edx
mov dword [esp + 8], esi
jmp 0x4281f2
xor ebp, ebp
test cl, 1
je 0x4281cc
movzx eax, word [ecx + 0x24]
mov dword [esp + 8], 0
lea edi, [esp + 0x3c]
test ax, ax
je 0x428591
mov dword [esp + 0xc], 0
mov dword [esp], 0
xor esi, esi
mov dword [esp + 0x14], ebp
jmp 0x428240
shr bl, 3
not bl
and bl, 1
movzx eax, bl
add dword [esp + 0xc], eax
add esi, 1
mov ecx, dword [edi]
movzx eax, word [ecx + 0x24]
cmp esi, eax
jae 0x428598
mov eax, dword [esp + 8]
mov ebx, dword [eax + esi*8]
movzx edx, word [eax + esi*8 + 4]
mov dword [esp + 0x10], edx
movzx eax, word [eax + esi*8 + 6]
cmp dword [ecx + 0x14], 0
jne 0x42826c
mov edx, ebx
and dl, 1
jne 0x42826c
test byte [ebx + 0x2b], 1
je 0x42826c
or byte [ecx + 0x2b], 1
test bl, 1
jne 0x428280
cmp byte [ebx + 0x2a], 0
jns 0x428280
mov ecx, dword [edi]
or byte [ecx + 0x2a], 0x80
nop
nop
nop
mov ecx, dword [edi]
test esi, esi
mov dword [esp + 4], esi
je 0x4282b0
test bl, 1
jne 0x4282e0
mov edi, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 4]
add eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
add esi, edi
xor ebp, ebp
test edi, edi
jne 0x4282a9
mov ebp, dword [ebx + 0xc]
lea edi, [esp + 0x3c]
jmp 0x428303
test bl, 1
jne 0x42831f
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
jmp 0x428353
mov edx, dword [esp + 0x10]
mov esi, edx
mov ebp, edx
shr esi, 8
mov edx, eax
shr edx, 8
movzx edi, al
and esi, 0xf
mov eax, ebp
movzx ebp, al
mov eax, edi
lea edi, [esp + 0x3c]
add eax, edx
add edx, ebp
xor ebp, ebp
test esi, esi
jne 0x42830e
mov ebp, dword [ecx + 0x18]
add edx, ebp
add dword [ecx + 0x10], eax
add dword [ecx + 0x14], esi
mov dword [ecx + 0x18], edx
mov ebp, dword [esp + 0x14]
jmp 0x42835e
mov ebp, dword [esp + 0x10]
mov edx, ebp
shr edx, 8
movzx esi, al
mov dword [esp + 0x18], esi
and edx, 0xf
mov esi, eax
mov eax, ebp
movzx ebp, al
mov eax, esi
mov esi, dword [esp + 0x18]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebp
mov ebp, dword [esp + 0x14]
shr eax, 8
xor ecx, ecx
mov edx, eax
mov esi, dword [edi]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov ecx, dword [edi]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 4]
test bl, 1
jne 0x4283e0
add eax, dword [ebx + 0x1c]
mov edx, dword [esp]
cmp eax, edx
cmova edx, eax
mov dword [esp], edx
cmp word [ebx + 0x26], 0xfffe
je 0x428393
mov eax, 0x262
test byte [ebx + 0x2b], 2
jne 0x42838e
mov eax, dword [ebx + 0x20]
add dword [ecx + 0x20], eax
mov ecx, dword [edi]
movzx edx, word [ebx + 0x24]
cmp word [ecx + 0x26], 0xfffd
jbe 0x428450
movzx eax, byte [ebx + 0x2a]
test al, 4
jne 0x428450
cmp word [ebx + 0x26], 0xffff
jne 0x42842a
xor esi, esi
test dx, dx
jne 0x42842a
nop
nop
nop
nop
cmp word [ebx + 0x24], 0
je 0x42845e
mov eax, dword [ebx + 0x38]
jmp 0x428460
mov edx, dword [esp + 0x10]
shr edx, 0xc
add eax, edx
mov edx, dword [esp]
cmp eax, edx
cmova edx, eax
mov dword [esp], edx
mov eax, dword [ecx + 0x20]
lea edx, [eax + 0x262]
test bl, 0x20
cmove edx, eax
mov dword [ecx + 0x20], edx
mov eax, dword [edi]
xor esi, esi
cmp word [eax + 0x26], 0xfffe
mov ecx, 1
jb 0x428480
mov edx, ebx
and dl, 8
jne 0x428480
mov edx, ebx
and dl, 2
je 0x428480
add dword [eax + 0x20], 0x64
jmp 0x428480
mov esi, 0x64
test al, 1
jne 0x428440
test dx, dx
je 0x42858a
imul esi, dword [ebx + 0x2c], 0x64
add dword [ecx + 0x20], esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, dx
cmp word [ebx + 0x24], 0
jne 0x4283cb
xor eax, eax
mov ecx, dword [edi]
add dword [ecx + 0x38], eax
cmp word [ebx + 0x24], 0
je 0x428471
mov ecx, dword [ebx + 0x34]
jmp 0x428480
mov ecx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [edi]
add dword [eax + 0x34], ecx
test ebp, ebp
je 0x4284b0
mov eax, dword [esp + 0xc]
cmp word [ebp + eax*2], 0
je 0x4284b0
test bl, 1
jne 0x42854a
movzx eax, byte [ebx + 0x2a]
shr al, 2
test al, 1
je 0x428557
nop
nop
nop
test bl, 1
jne 0x4284d0
test byte [ebx + 0x2a], 1
je 0x4284d5
mov eax, dword [edi]
add dword [eax + 0x2c], 1
movzx ecx, byte [ebx + 0x2a]
shr cl, 1
jmp 0x4284fb
test bl, 2
jne 0x4284f0
test esi, esi
mov esi, dword [esp + 4]
je 0x42850e
mov eax, dword [ebx + 0x2c]
mov ecx, dword [edi]
add dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x30]
jmp 0x428509
mov eax, dword [edi]
add dword [eax + 0x2c], 1
mov ecx, ebx
shr cl, 2
mov esi, dword [esp + 4]
mov eax, 1
test cl, 1
je 0x42850e
mov ecx, dword [edi]
add dword [ecx + 0x30], eax
test bl, 1
jne 0x428220
test byte [ebx + 0x2a], 0x40
je 0x428523
mov eax, dword [edi]
or byte [eax + 0x2a], 0x40
cmp word [ebx + 0x26], 0xffff
jne 0x42853e
mov eax, dword [edi]
or byte [eax + 0x2a], 0x10
mov eax, dword [edi]
or byte [eax + 0x2a], 8
mov eax, dword [edi]
mov word [eax + 0x28], 0xffff
movzx ebx, byte [ebx + 0x2a]
shr bl, 2
jmp 0x428223
mov eax, ebx
shr al, 3
test al, 1
jne 0x4284b0
mov eax, dword [edi]
add dword [eax + 0x2c], 1
mov eax, dword [esp + 0xc]
movzx eax, word [ebp + eax*2]
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x24]
push eax
call fcn.00416a40
add esp, 0xc
mov eax, 1
cmp byte [esp + 0x1d], 0
mov esi, dword [esp + 4]
jne 0x428509
jmp 0x42850e
xor edx, edx
jmp 0x428450
mov dword [esp], 0
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 4]
mov edx, dword [esp]
sub edx, eax
mov dword [ecx + 0x1c], edx
mov esi, dword [edi]
cmp word [esi + 0x26], 0xfffd
jbe 0x4285cd
mov eax, dword [esi + 0x14]
mov ecx, eax
shl ecx, 5
sub ecx, eax
sub ecx, eax
add ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x20]
add eax, ecx
add eax, 0x1f4
mov dword [esi + 0x20], eax
mov esi, dword [edi]
movzx eax, word [esi + 0x24]
test eax, eax
je 0x4286c6
mov ecx, dword [esp + 8]
movzx edx, word [ecx]
movzx ebx, word [ecx + 2]
movzx ebp, bx
mov edi, edx
shr edi, 8
mov eax, dword [ecx + eax*8 - 8]
test dl, 1
jne 0x42864d
mov ebx, ebp
shl ebx, 0x10
cmp word [ebx + edx + 0x24], 0
mov dword [esp], eax
mov eax, ebp
lea ebp, [ebx + edx + 0x26]
lea ecx, [ebx + edx + 0x40]
cmove ecx, ebp
mov ebp, eax
mov eax, dword [esp]
movzx ecx, word [ecx]
mov word [esi + 0x40], cx
cmp word [ebx + edx + 0x24], 0
lea ecx, [ebx + edx + 0x28]
lea esi, [ebx + edx + 0x42]
cmove esi, ecx
movzx ecx, word [esi]
lea esi, [esp + 0x3c]
mov esi, dword [esi]
mov word [esi + 0x42], cx
test byte [ebx + edx + 0x2a], 8
je 0x42865b
lea ecx, [esp + 0x3c]
mov ecx, dword [ecx]
or byte [ecx + 0x2a], 8
jmp 0x42865b
mov word [esi + 0x40], di
lea ecx, [esp + 0x3c]
mov ecx, dword [ecx]
mov word [ecx + 0x42], bx
test al, 1
jne 0x42866f
test byte [eax + 0x2a], 0x10
je 0x42866f
lea ecx, [esp + 0x3c]
mov ecx, dword [ecx]
or byte [ecx + 0x2a], 0x10
lea ecx, [esp + 0x3c]
mov esi, dword [ecx]
cmp word [esi + 0x24], 2
jb 0x4286c6
test byte [esi + 0x2a], 3
jne 0x4286c6
test dl, 1
jne 0x4286a7
shl ebp, 0x10
movzx ecx, word [ebp + edx + 0x26]
cmp cx, word [esi + 0x26]
jne 0x4286c6
or ebp, edx
movzx ecx, word [ebp + 0x3c]
test al, 1
jne 0x4286ba
cmp cx, word [eax + 0x3c]
jbe 0x4286b5
jmp 0x4286bf
cmp di, word [esi + 0x26]
jne 0x4286c6
mov cx, 1
test al, 1
jne 0x4286c2
mov ecx, dword [eax + 0x3c]
jmp 0x4286bf
test cx, cx
je 0x4286d9
add ecx, 1
mov word [esi + 0x3c], cx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042fb70
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov cx, 1
jmp 0x4286c2