Function at 0x49c690
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x5c
mov eax, dword [0x5fe940]
push ebx
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0xa034]
push esi
push edi
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 4]
mov bl, byte [ecx + 6]
xor edi, edi
cmp word [0x63a092], 3
je 0x49c6c1
mov dword [0x6213f0], edi
mov esi, 0x6588b4
push esi
call fcn.0049c5e0
add esi, 0x110
add esp, 4
cmp esi, 0x658f14
jl 0x49c6c6
cmp bl, 6
jbe 0x49c6e4
mov bl, 6
movzx eax, bl
cmp eax, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], eax
jle 0x49cb4a
push ebp
jmp 0x49c700
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
imul ebp, ebp, 0x190
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [edx + 0xa034]
mov ecx, dword [eax + 4]
lea esi, [ebp + 0x38]
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
xor ebx, ebx
add eax, ecx
and esi, 0x80000007
mov dword [esp + 0x14], ecx
mov edi, 0x100
jns 0x49c74d
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 7
sub ecx, esi
mov dl, 1
shl dl, cl
mov ecx, 3
lea ecx, [ecx]
test byte [eax], dl
je 0x49c766
add ebx, edi
cmp dl, 1
je 0x49c76f
shr dl, 1
jmp 0x49c772
inc eax
mov dl, 0x80
shr edi, 1
test byte [eax], dl
je 0x49c77a
add ebx, edi
cmp dl, 1
je 0x49c783
shr dl, 1
jmp 0x49c786
inc eax
mov dl, 0x80
shr edi, 1
test byte [eax], dl
je 0x49c78e
add ebx, edi
cmp dl, 1
je 0x49c797
shr dl, 1
jmp 0x49c79a
inc eax
mov dl, 0x80
shr edi, 1
dec ecx
jne 0x49c760
mov edi, dword [esp + 0x14]
lea esi, [ebp + 0x41]
mov eax, esi
cdq
and edx, 7
add eax, edx
movzx ecx, bl
sar eax, 3
xor ebx, ebx
add eax, edi
and esi, 0x80000007
mov dword [esp + 0x24], ecx
jns 0x49c7c9
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 7
sub ecx, esi
mov dl, 1
shl dl, cl
test byte [eax], dl
je 0x49c7dd
mov ebx, 4
cmp dl, 1
je 0x49c7e6
shr dl, 1
jmp 0x49c7e9
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c7f0
add ebx, 2
cmp dl, 1
je 0x49c7f9
shr dl, 1
jmp 0x49c7fc
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c801
inc ebx
movzx edx, bl
lea esi, [ebp + 0x44]
mov eax, esi
mov dword [esp + 0x28], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
xor ebx, ebx
add eax, edi
and esi, 0x80000007
jns 0x49c827
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 7
sub ecx, esi
mov dl, 1
shl dl, cl
test byte [eax], dl
je 0x49c83b
mov ebx, 4
cmp dl, 1
je 0x49c844
shr dl, 1
jmp 0x49c847
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c84e
add ebx, 2
cmp dl, 1
je 0x49c857
shr dl, 1
jmp 0x49c85a
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c85f
inc ebx
movzx eax, bl
mov dword [esp + 0x20], eax
lea esi, [ebp + 0x47]
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
xor ebx, ebx
add eax, edi
and esi, 0x80000007
jns 0x49c885
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 7
sub ecx, esi
mov dl, 1
shl dl, cl
test byte [eax], dl
je 0x49c899
mov ebx, 0x10
cmp dl, 1
je 0x49c8a2
shr dl, 1
jmp 0x49c8a5
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c8ac
add ebx, 8
cmp dl, 1
je 0x49c8b5
shr dl, 1
jmp 0x49c8b8
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c8bf
add ebx, 4
cmp dl, 1
je 0x49c8c8
shr dl, 1
jmp 0x49c8cb
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c8d2
add ebx, 2
cmp dl, 1
je 0x49c8db
shr dl, 1
jmp 0x49c8de
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c8e3
inc ebx
lea esi, [ebp + 0x4c]
mov eax, esi
cdq
and edx, 7
add eax, edx
movzx ecx, bl
sar eax, 3
xor ebx, ebx
add eax, edi
and esi, 0x80000007
mov dword [esp + 0x2c], ecx
jns 0x49c909
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 7
sub ecx, esi
mov dl, 1
shl dl, cl
test byte [eax], dl
je 0x49c91d
mov ebx, 0x10
cmp dl, 1
je 0x49c926
shr dl, 1
jmp 0x49c929
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c930
add ebx, 8
cmp dl, 1
je 0x49c939
shr dl, 1
jmp 0x49c93c
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c943
add ebx, 4
cmp dl, 1
je 0x49c94c
shr dl, 1
jmp 0x49c94f
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c956
add ebx, 2
cmp dl, 1
je 0x49c95f
shr dl, 1
jmp 0x49c962
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c967
inc ebx
movzx edx, bl
lea esi, [ebp + 0x51]
mov eax, esi
mov dword [esp + 0x34], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
xor ebx, ebx
add eax, edi
and esi, 0x80000007
jns 0x49c98d
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 7
sub ecx, esi
mov dl, 1
shl dl, cl
test byte [eax], dl
je 0x49c9a1
mov ebx, 4
cmp dl, 1
je 0x49c9aa
shr dl, 1
jmp 0x49c9ad
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c9b4
add ebx, 2
cmp dl, 1
je 0x49c9bd
shr dl, 1
jmp 0x49c9c0
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49c9c5
inc ebx
movzx eax, bl
mov dword [esp + 0x1c], eax
lea esi, [ebp + 0x54]
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
xor ebx, ebx
add eax, edi
and esi, 0x80000007
jns 0x49c9eb
dec esi
or esi, 0xfffffff8
inc esi
mov ecx, 7
sub ecx, esi
mov dl, 1
shl dl, cl
test byte [eax], dl
je 0x49c9ff
mov ebx, 0x10
cmp dl, 1
je 0x49ca08
shr dl, 1
jmp 0x49ca0b
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49ca12
add ebx, 8
cmp dl, 1
je 0x49ca1b
shr dl, 1
jmp 0x49ca1e
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49ca25
add ebx, 4
cmp dl, 1
je 0x49ca2e
shr dl, 1
jmp 0x49ca31
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49ca38
add ebx, 2
cmp dl, 1
je 0x49ca41
shr dl, 1
jmp 0x49ca44
inc eax
mov dl, 0x80
test byte [eax], dl
je 0x49ca49
inc ebx
add ebp, 0x59
and ebp, 0x80000007
movzx ebx, bl
jns 0x49ca5c
dec ebp
or ebp, 0xfffffff8
inc ebp
mov ecx, 7
sub ecx, ebp
mov al, 1
shl al, cl
mov ecx, 7
lea esp, [esp]
cmp al, 1
je 0x49ca78
shr al, 1
jmp 0x49ca7a
mov al, 0x80
dec ecx
jne 0x49ca70
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, ebp
imul eax, eax, 0x32
lea esi, [edx + eax + 0xc]
mov ecx, 0xa
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xa034]
mov ecx, dword [edx + 4]
add eax, ecx
movzx ecx, word [eax + 0x37]
test ecx, ecx
movsw word es:[edi], word [esi]
movzx esi, byte [eax + 0x36]
jge 0x49cabd
cmp ecx, 0x63
jle 0x49cabd
xor ecx, ecx
mov edx, dword [esp + 0x34]
cmp edx, 0x12
jle 0x49cacb
mov edx, 0x12
mov edi, dword [esp + 0x24]
mov eax, ebp
imul eax, eax, 0x110
add eax, 0x6588b4
mov dword [eax + 0x14], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + 0x8c], 0
mov dword [eax + 4], 1
mov dword [eax + 0x5c], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 0x68], ebx
mov dword [eax + 0x74], edi
mov edi, dword [esp + 0x20]
mov dword [eax + 0x50], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x98], edi
mov dword [eax + 0x80], edx
mov byte [eax + 0xc], 1
mov dword [eax + 0xa4], esi
mov dword [eax + 0xb0], ecx
lea edi, [eax + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, 0xa
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
inc ebp
cmp ebp, eax
movsw word es:[edi], word [esi]
mov dword [esp + 0x10], ebp
jl 0x49c700
pop ebp
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov byte [0x6371a8], 1
xor eax, eax
pop ebx
call fcn.005900c7
add esp, 0x5c
ret