Function at 0x49d060
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + 0x84]
test eax, eax
jle 0x49d789
mov ecx, dword [ebx]
cmp dword [ecx + 0x2c], 2
je 0x49d79e
lea edx, [ebx + 0xb18]
mov eax, ebx
call fcn.0049c170
lea edx, [ebx + 0xb24]
mov eax, ebx
call fcn.0049c170
movzx edx, word [ebx + 0x96]
lea ecx, [ebx + 0x94]
mov eax, dword [ebx + 0xb1c]
cmp edx, 1
sbb ebp, ebp
add ebp, 4
cmp edx, 1
sbb edi, edi
and edi, 0x83
add edi, 7
test eax, eax
lea esi, [eax*4 + 4]
mov word [ecx + esi + 2], 0xffff
js 0x49d176
lea eax, [ebx + esi + 0x94]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], 0xffffffff
jmp 0x49d123
add word [ebx + edx*4 + 0xa7c], ax
test esi, esi
je 0x49d161
cmp esi, edx
setne al
movzx ebp, al
movzx edi, al
add ebp, 3
add edi, 6
xor eax, eax
add ecx, 4
cmp ecx, dword [esp + 0x14]
je 0x49d176
mov dword [esp + 0x10], edx
mov edx, esi
add eax, 1
movzx esi, word [ecx + 6]
cmp edi, eax
jle 0x49d136
cmp esi, edx
je 0x49d452
cmp ebp, eax
jg 0x49d0f5
test edx, edx
lea esi, [esi]
je 0x49d440
cmp edx, dword [esp + 0x10]
je 0x49d155
add word [ebx + edx*4 + 0xa7c], 1
add word [ebx + 0xabc], 1
test esi, esi
jne 0x49d101
xor eax, eax
add ecx, 4
cmp ecx, dword [esp + 0x14]
mov ebp, 3
mov edi, 0x8a
jne 0x49d11d
movzx edx, word [ebx + 0x98a]
lea ecx, [ebx + 0x988]
mov eax, dword [ebx + 0xb28]
cmp edx, 1
sbb ebp, ebp
add ebp, 4
cmp edx, 1
sbb edi, edi
and edi, 0x83
add edi, 7
test eax, eax
lea esi, [eax*4 + 4]
mov word [ecx + esi + 2], 0xffff
js 0x49d24d
lea eax, [ebx + esi + 0x988]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], 0xffffffff
jmp 0x49d1fe
add word [ebx + edx*4 + 0xa7c], ax
test esi, esi
je 0x49d238
cmp esi, edx
setne al
movzx ebp, al
movzx edi, al
add ebp, 3
add edi, 6
xor eax, eax
add ecx, 4
cmp ecx, dword [esp + 0x14]
je 0x49d24d
mov dword [esp + 0x10], edx
mov edx, esi
add eax, 1
movzx esi, word [ecx + 6]
cmp eax, edi
jge 0x49d211
cmp esi, edx
je 0x49d480
cmp eax, ebp
jl 0x49d1d0
test edx, edx
je 0x49d468
cmp edx, dword [esp + 0x10]
je 0x49d22c
add word [ebx + edx*4 + 0xa7c], 1
add word [ebx + 0xabc], 1
test esi, esi
jne 0x49d1dc
xor eax, eax
add ecx, 4
cmp ecx, dword [esp + 0x14]
mov ebp, 3
mov edi, 0x8a
jne 0x49d1f8
lea edx, [ebx + 0xb30]
mov eax, ebx
call fcn.0049c170
cmp word [ebx + 0xaba], 0
jne 0x49d9a3
cmp word [ebx + 0xa82], 0
jne 0x49d99c
cmp word [ebx + 0xab6], 0
jne 0x49d9b8
cmp word [ebx + 0xa86], 0
jne 0x49d9b1
cmp word [ebx + 0xab2], 0
jne 0x49d9aa
cmp word [ebx + 0xa8a], 0
jne 0x49d995
cmp word [ebx + 0xaae], 0
jne 0x49d9bf
cmp word [ebx + 0xa8e], 0
jne 0x49d9e2
cmp word [ebx + 0xaaa], 0
jne 0x49d985
cmp word [ebx + 0xa92], 0
jne 0x49d9c6
cmp word [ebx + 0xaa6], 0
jne 0x49d9cd
cmp word [ebx + 0xa96], 0
jne 0x49d9d4
cmp word [ebx + 0xaa2], 0
jne 0x49d9db
cmp word [ebx + 0xa9a], 0
jne 0x49d9f0
cmp word [ebx + 0xa9e], 0
jne 0x49d9f7
cmp word [ebx + 0xa7e], 0
jne 0x49d9e9
mov ecx, 9
mov edi, 3
mov eax, 2
mov edx, dword [ebx + 0x16a8]
mov esi, dword [ebx + 0x16ac]
lea ecx, [ecx + edx + 0xe]
mov dword [ebx + 0x16a8], ecx
lea edx, [esi + 0xa]
add ecx, 0xa
shr ecx, 3
shr edx, 3
cmp ecx, edx
cmova ecx, edx
mov esi, dword [esp + 0x48]
add esi, 4
cmp ecx, esi
jb 0x49d496
mov esi, dword [esp + 0x44]
test esi, esi
je 0x49d496
mov eax, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0049ccf0
xor eax, eax
lea esi, [esi]
xor ebp, ebp
mov word [ebx + eax*4 + 0x94], bp
add eax, 1
cmp eax, 0x11e
jne 0x49d3b0
xor ax, ax
xor edi, edi
mov word [ebx + eax*4 + 0x988], di
add eax, 1
cmp eax, 0x1e
jne 0x49d3c7
xor al, al
nop
lea esi, [esi]
xor esi, esi
mov word [ebx + eax*4 + 0xa7c], si
add eax, 1
cmp eax, 0x13
jne 0x49d3e0
mov ecx, dword [esp + 0x4c]
mov edx, 1
mov word [ebx + 0x494], dx
mov dword [ebx + 0x16ac], 0
mov dword [ebx + 0x16a8], 0
test ecx, ecx
mov dword [ebx + 0x16b0], 0
mov dword [ebx + 0x16a0], 0
jne 0x49d703
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0xa
jg 0x49d45b
add word [ebx + 0xac0], 1
jmp 0x49d0fd
mov edx, dword [esp + 0x10]
jmp 0x49d114
add word [ebx + 0xac4], 1
jmp 0x49d0fd
cmp eax, 0xa
jg 0x49d489
add word [ebx + 0xac0], 1
jmp 0x49d1d8
mov edx, dword [esp + 0x10]
jmp 0x49d1ef
add word [ebx + 0xac4], 1
jmp 0x49d1d8
cmp dword [ebx + 0x88], 4
je 0x49d747
cmp edx, ecx
je 0x49d747
mov ecx, dword [ebx + 0x16bc]
cmp ecx, 0xd
jg 0x49d80e
movzx esi, word [esp + 0x4c]
lea edx, [esi + 4]
movzx edx, dx
shl edx, cl
add ecx, 3
or dx, word [ebx + 0x16b8]
mov dword [ebx + 0x16bc], ecx
mov word [ebx + 0x16b8], dx
mov esi, edx
mov edx, dword [ebx + 0xb28]
cmp ecx, 0xb
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0xb1c]
mov dword [esp + 0x1c], edx
jle 0x49d8de
sub edx, 0x100
movzx ebp, dx
mov edx, ebp
shl edx, cl
mov ecx, edx
mov edx, dword [ebx + 0x14]
or ecx, esi
mov word [ebx + 0x16b8], cx
lea esi, [edx + 1]
mov dword [ebx + 0x14], esi
mov esi, dword [ebx + 8]
mov byte [esi + edx], cl
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
lea ecx, [edx + 1]
mov dword [ebx + 0x14], ecx
movzx ecx, byte [ebx + 0x16b9]
mov byte [esi + edx], cl
mov esi, dword [ebx + 0x16bc]
mov ecx, 0x10
mov edx, ebp
sub ecx, esi
sar edx, cl
lea ecx, [esi - 0xb]
mov esi, edx
cmp ecx, 0xb
mov word [ebx + 0x16b8], dx
mov dword [ebx + 0x16bc], ecx
jle 0x49d90a
movzx ebp, word [esp + 0x18]
mov edx, ebp
shl edx, cl
mov ecx, edx
mov edx, dword [ebx + 0x14]
or ecx, esi
mov word [ebx + 0x16b8], cx
lea esi, [edx + 1]
mov dword [ebx + 0x14], esi
mov esi, dword [ebx + 8]
mov byte [esi + edx], cl
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
lea ecx, [edx + 1]
mov dword [ebx + 0x14], ecx
movzx ecx, byte [ebx + 0x16b9]
mov byte [esi + edx], cl
mov esi, dword [ebx + 0x16bc]
mov ecx, 0x10
mov edx, ebp
sub ecx, esi
sar edx, cl
lea ecx, [esi - 0xb]
cmp ecx, 0xc
mov word [ebx + 0x16b8], dx
mov dword [ebx + 0x16bc], ecx
jle 0x49d92c
sub eax, 3
movzx ebp, ax
mov eax, ebp
shl eax, cl
mov ecx, dword [ebx + 8]
or edx, eax
mov eax, dword [ebx + 0x14]
mov word [ebx + 0x16b8], dx
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov esi, ebp
mov byte [ecx + eax], dl
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea edx, [eax + 1]
mov dword [ebx + 0x14], edx
movzx edx, byte [ebx + 0x16b9]
mov byte [ecx + eax], dl
mov eax, dword [ebx + 0x16bc]
mov ecx, 0x10
sub ecx, eax
sar esi, cl
lea ecx, [eax - 0xc]
mov word [ebx + 0x16b8], si
mov dword [ebx + 0x16bc], ecx
xor eax, eax
mov dword [esp + 0x10], edi
jmp 0x49d69c
movzx edi, word [ebx + edx*4 + 0xa7e]
add eax, 1
mov dword [esp + 0x14], edi
shl edi, cl
mov ecx, dword [ebx + 0x14]
or esi, edi
mov edi, dword [ebx + 8]
mov edx, esi
mov word [ebx + 0x16b8], si
lea ebp, [ecx + 1]
mov dword [ebx + 0x14], ebp
mov byte [edi + ecx], dl
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
lea edi, [ecx + 1]
mov dword [ebx + 0x14], edi
movzx edi, byte [ebx + 0x16b9]
mov edx, edi
mov byte [esi + ecx], dl
mov edi, dword [ebx + 0x16bc]
mov ecx, 0x10
mov esi, dword [esp + 0x14]
sub ecx, edi
sar esi, cl
cmp eax, dword [esp + 0x10]
lea ecx, [edi - 0xd]
mov word [ebx + 0x16b8], si
mov dword [ebx + 0x16bc], ecx
jge 0x49d6cd
cmp ecx, 0xd
movzx edx, byte [eax + 0x54d0c0]
jg 0x49d630
movzx edx, word [ebx + edx*4 + 0xa7e]
add eax, 1
shl edx, cl
add ecx, 3
or esi, edx
cmp eax, dword [esp + 0x10]
mov word [ebx + 0x16b8], si
mov dword [ebx + 0x16bc], ecx
jl 0x49d69c
mov ecx, dword [esp + 0x1c]
lea esi, [ebx + 0x94]
mov eax, ebx
mov edx, esi
lea edi, [ebx + 0x988]
call fcn.0049b6c0
mov ecx, dword [esp + 0x18]
mov edx, edi
mov eax, ebx
call fcn.0049b6c0
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0049bcd0
jmp 0x49d3ab
mov eax, dword [ebx + 0x16bc]
cmp eax, 8
jg 0x49d94d
test eax, eax
jle 0x49d72c
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea edx, [eax + 1]
mov dword [ebx + 0x14], edx
movzx edx, word [ebx + 0x16b8]
mov byte [ecx + eax], dl
xor eax, eax
mov word [ebx + 0x16b8], ax
mov dword [ebx + 0x16bc], 0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x16bc]
cmp ecx, 0xd
jg 0x49d877
movzx eax, word [esp + 0x4c]
add eax, 2
movzx eax, ax
shl eax, cl
add ecx, 3
or word [ebx + 0x16b8], ax
mov dword [ebx + 0x16bc], ecx
mov ecx, 0x54cbc0
mov edx, 0x54cc40
mov eax, ebx
call fcn.0049bcd0
jmp 0x49d3ab
mov eax, dword [esp + 0x48]
mov edi, 1
lea ecx, [eax + 5]
xor eax, eax
mov edx, ecx
jmp 0x49d370
xor eax, eax
mov edx, 0xf3ffc07f
test dl, 1
je 0x49d7b9
cmp word [ebx + eax*4 + 0x94], 0
jne 0x49d97e
add eax, 1
shr edx, 1
cmp eax, 0x20
jne 0x49d7a5
cmp word [ebx + 0xb8], 0
mov edx, 1
jne 0x49d806
cmp word [ebx + 0xbc], 0
jne 0x49d806
cmp word [ebx + 0xc8], 0
je 0x49d7f6
jmp 0x49d806
add eax, 1
cmp eax, 0x100
je 0x49d97e
cmp word [ebx + eax*4 + 0x94], 0
je 0x49d7e8
mov edx, 1
mov dword [ecx + 0x2c], edx
jmp 0x49d085
mov esi, dword [esp + 0x4c]
mov edx, dword [ebx + 0x14]
lea ebp, [esi + 4]
movzx ebp, bp
mov esi, ebp
shl esi, cl
mov ecx, esi
lea esi, [edx + 1]
mov dword [ebx + 0x14], esi
mov esi, dword [ebx + 8]
or cx, word [ebx + 0x16b8]
mov word [ebx + 0x16b8], cx
mov byte [esi + edx], cl
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
lea ecx, [edx + 1]
mov dword [ebx + 0x14], ecx
movzx ecx, byte [ebx + 0x16b9]
mov byte [esi + edx], cl
mov edx, dword [ebx + 0x16bc]
mov ecx, 0x10
mov esi, ebp
sub ecx, edx
sar esi, cl
lea ecx, [edx - 0xd]
mov word [ebx + 0x16b8], si
mov dword [ebx + 0x16bc], ecx
jmp 0x49d4e0
mov eax, dword [esp + 0x4c]
mov esi, dword [ebx + 8]
lea edx, [eax + 2]
movzx edx, dx
mov eax, edx
shl eax, cl
mov ecx, eax
mov eax, dword [ebx + 0x14]
or cx, word [ebx + 0x16b8]
lea edi, [eax + 1]
mov dword [ebx + 0x14], edi
mov word [ebx + 0x16b8], cx
mov byte [esi + eax], cl
mov eax, dword [ebx + 0x14]
movzx ecx, byte [ebx + 0x16b9]
mov edi, dword [ebx + 8]
lea esi, [eax + 1]
mov dword [ebx + 0x14], esi
mov byte [edi + eax], cl
mov eax, dword [ebx + 0x16bc]
mov ecx, 0x10
sub ecx, eax
sub eax, 0xd
sar edx, cl
mov word [ebx + 0x16b8], dx
mov dword [ebx + 0x16bc], eax
jmp 0x49d773
movzx edx, word [esp + 0x1c]
sub dx, 0x100
movzx edx, dx
shl edx, cl
add ecx, 5
or edx, esi
cmp ecx, 0xb
mov word [ebx + 0x16b8], dx
mov esi, edx
mov dword [ebx + 0x16bc], ecx
jg 0x49d566
movzx edx, word [esp + 0x18]
shl edx, cl
add ecx, 5
or edx, esi
cmp ecx, 0xc
mov word [ebx + 0x16b8], dx
mov dword [ebx + 0x16bc], ecx
jg 0x49d5c9
lea eax, [edi - 4]
movzx eax, ax
shl eax, cl
add ecx, 4
or eax, edx
mov word [ebx + 0x16b8], ax
mov esi, eax
mov dword [ebx + 0x16bc], ecx
jmp 0x49d622
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea edx, [eax + 1]
mov dword [ebx + 0x14], edx
movzx edx, word [ebx + 0x16b8]
mov byte [ecx + eax], dl
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
mov dword [ebx + 0x14], ecx
movzx ecx, byte [ebx + 0x16b9]
mov byte [edx + eax], cl
jmp 0x49d72c
xor edx, edx
jmp 0x49d806
mov eax, 0xa
lea edi, [eax + 1]
lea ecx, [edi + edi*2]
jmp 0x49d349
mov eax, 0xd
jmp 0x49d98a
mov eax, 0x11
jmp 0x49d98a
mov eax, 0x12
jmp 0x49d98a
mov eax, 0xe
jmp 0x49d98a
mov eax, 0xf
jmp 0x49d98a
mov eax, 0x10
jmp 0x49d98a
mov eax, 0xc
jmp 0x49d98a
mov eax, 9
jmp 0x49d98a
mov eax, 8
jmp 0x49d98a
mov eax, 7
jmp 0x49d98a
mov eax, 6
jmp 0x49d98a
mov eax, 0xb
jmp 0x49d98a
mov eax, 3
jmp 0x49d98a
mov eax, 5
jmp 0x49d98a
mov eax, 4
jmp 0x49d98a