Function at 0x49c750
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, edx
mov esi, ecx
mov al, byte [esp + 0x34]
cmp byte [esp + 0x30], 0
je 0x49c77b
movzx ecx, byte [ebp]
test cl, 1
je 0x49c810
mov ecx, dword [ebp + 4]
jmp 0x49c812
xor ecx, ecx
mov dl, byte [esp + 0x38]
movsx eax, al
cmp eax, 1
je 0x49c828
test eax, eax
jne case.default.0x49c836
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
test cl, cl
je 0x49caee
movzx eax, byte [ebp]
lea ebx, [ebp + 2]
mov ecx, eax
and ecx, 0xfffffffe
test al, 1
lea eax, [ebp + ecx + 2]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
lea ecx, [edx + ecx*2]
cmove ecx, eax
cmovne ebx, edx
lea eax, [ebx + 6]
mov dword [esp + 4], ecx
cmp eax, ecx
je 0x49caee
lea ecx, [ebx + 8]
mov esi, dword [esp + 4]
cmp ecx, esi
je 0x49c8fb
mov edx, esi
sub edx, eax
cmp edx, 6
jne 0x49c914
movzx eax, word [ebx]
movzx ecx, word [ebx + 6]
mov word [ebx], cx
mov word [ebx + 6], ax
mov eax, dword [ebx + 2]
mov ecx, dword [ebx + 8]
mov dword [ebx + 2], ecx
mov dword [ebx + 8], eax
jmp 0x49caee
shr ecx, 1
cmp ecx, 4
sete cl
mov dl, byte [esp + 0x38]
movsx eax, al
cmp eax, 1
jne 0x49c78d
movsx eax, byte [esp + 0x3c]
cmp eax, 4
ja case.default.0x49c836
jmp dword [eax*4 + 0x508194]
mov byte [esi], 3
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x49c9b0
cmp eax, 1
je 0x49c9b8
test eax, eax
jne case.default.0x49c836
jmp 0x49c8c1
mov byte [esi], 2
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x49c9d0
cmp eax, 1
je 0x49c9fc
test eax, eax
jne case.default.0x49c836
mov word [esi + 1], 0x400
jmp 0x49cbb2
mov byte [esi], 3
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x49c9b0
cmp eax, 1
je 0x49c9b8
test eax, eax
jne case.default.0x49c836
mov word [esi + 1], 2
jmp 0x49cbb2
mov byte [esi], 2
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x49c9c0
cmp eax, 1
je 0x49c9c8
test eax, eax
jne case.default.0x49c836
mov word [esi + 1], 3
jmp 0x49cbb2
movzx eax, word [ebx + 6]
mov ecx, dword [ebx]
movzx edx, word [ebx + 4]
mov word [esi - 2], dx
mov dword [esi - 6], ecx
mov word [ebx], ax
jmp 0x49caee
sar edx, 1
mov esi, 3
nop dword [eax + eax]
mov eax, esi
mov esi, edx
cdq
idiv esi
test edx, edx
jne 0x49c920
test esi, esi
je 0x49caee
lea ecx, [ebx + esi*2]
lea edx, [esi + esi]
add edx, 0xfffffffe
test dl, 2
jne 0x49ca30
mov dword [esp + 8], edx
lea eax, [ecx - 2]
movzx edx, word [ecx - 2]
mov word [esp + 0xe], dx
add ecx, 4
mov dword [esp], ebx
mov edi, eax
mov ebx, dword [esp + 4]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov esi, ecx
movzx ecx, word [ecx]
mov word [edi], cx
mov ecx, ebx
sub ecx, esi
mov edi, ecx
shr edi, 1
mov edx, 3
sub edx, edi
cmp ecx, 6
lea edi, [esi + 6]
mov ecx, dword [esp]
lea ecx, [ecx + edx*2]
cmovg ecx, edi
mov edi, esi
cmp ecx, eax
jne 0x49c970
movzx ecx, word [esp + 0xe]
mov word [esi], cx
mov ebx, dword [esp]
mov edx, dword [esp + 8]
jmp 0x49ca32
mov word [esi + 1], 0x201
jmp 0x49c9d6
mov word [esi + 1], 2
jmp 0x49ca02
mov word [esi + 1], 0x300
jmp 0x49ca02
mov word [esi + 1], 0x103
jmp 0x49c9d6
mov word [esi + 1], 0x104
test cl, cl
je 0x49cbb2
movzx eax, byte [ebp]
test al, 1
jne 0x49ca18
shr eax, 1
lea ecx, [eax - 1]
add cl, cl
mov byte [ebp], cl
mov word [ebp + eax*2], 0
jmp 0x49cbb2
mov word [esi + 1], 0x400
test cl, cl
jne 0x49cbb2
mov ecx, ebp
push 0x20
call fcn.00470ef0
jmp 0x49cbb2
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
lea edx, [eax - 1]
mov dword [ebp + 4], edx
mov word [ecx + eax*2 - 2], 0
jmp 0x49cbb2
mov eax, ecx
test edx, edx
je 0x49caee
mov dword [esp + 0x10], ebp
nop
lea edx, [eax - 2]
movzx ecx, word [eax - 2]
mov word [esp + 8], cx
lea esi, [eax + 4]
mov dword [esp], edx
mov ecx, dword [esp + 4]
nop word cs:[eax + eax]
mov edi, esi
movzx esi, word [esi]
mov word [edx], si
mov edx, ecx
sub edx, edi
mov esi, edx
shr esi, 1
mov ebp, 3
sub ebp, esi
cmp edx, 6
lea edx, [edi + 6]
lea esi, [ebx + ebp*2]
cmovg esi, edx
mov edx, edi
cmp esi, dword [esp]
jne 0x49ca60
movzx edx, word [esp + 8]
mov word [edi], dx
lea edx, [eax - 4]
movzx esi, word [eax - 4]
mov word [esp], si
add eax, 2
mov edi, edx
nop word cs:[eax + eax]
nop dword [eax]
mov esi, eax
movzx eax, word [eax]
mov word [edi], ax
mov eax, ecx
sub eax, esi
mov edi, eax
shr edi, 1
mov ebp, 3
sub ebp, edi
cmp eax, 6
lea edi, [esi + 6]
lea eax, [ebx + ebp*2]
cmovg eax, edi
mov edi, esi
cmp eax, edx
jne 0x49cab0
movzx eax, word [esp]
mov word [esi], ax
mov eax, edx
cmp edx, ebx
mov ebp, dword [esp + 0x10]
jne 0x49ca40
movsx eax, byte [esp + 0x3c]
cmp eax, 4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x38]
ja case.default.0x49c836
jmp dword [eax*4 + 0x5081a8]
mov dword [esi], 0x2000403
mov byte [esi], 4
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x49cbba
cmp eax, 1
jne 0x49cb86
mov word [esi + 1], 0x200
jmp 0x49cbf1
mov byte [esi], 3
mov byte [esi + 3], 2
movsx eax, dl
cmp eax, 2
je 0x49cbdb
cmp eax, 1
je 0x49cbe3
test eax, eax
jne case.default.0x49c836
mov word [esi + 1], 4
jmp 0x49cbb2
mov byte [esi], 4
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x49cbba
cmp eax, 1
je 0x49cbc2
test eax, eax
jne case.default.0x49c836
jmp 0x49cbd3
mov byte [esi], 4
mov byte [esi + 3], 2
movsx eax, dl
cmp eax, 2
je 0x49cbeb
cmp eax, 1
je 0x49cc04
test eax, eax
jne case.default.0x49c836
mov word [esi + 1], 0x300
jmp 0x49cbb2
mov word [esi + 1], 0x102
jmp 0x49cc0a
test cl, cl
jne 0x49cbd3
mov ecx, ebp
push 0x20
push 1
push 0
call fcn.00470000
mov word [esi + 1], 0x200
jmp 0x49cbb2
mov word [esi + 1], 0x401
jmp 0x49cc0a
mov word [esi + 1], 4
jmp 0x49cbf1
mov word [esi + 1], 3
mov word [esi + 1], 0x301
test cl, cl
je 0x49cbb2
mov ecx, ebp
push 1
push 0
call fcn.004713f0
jmp 0x49cbb2