Function at 0x49cda9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov eax, ecx
mov ebx, edx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov edi, dword [eax]
mov ecx, dword [eax + 0x204]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
test byte [edi + 0x18], 1
mov dword [ebp - 0x10], edi
jne 0x49ce91
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp + 8]
shl edx, 6
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov ecx, dword [edx + eax + 0x28]
mov esi, dword [edx + eax + 0x18]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
inc ecx
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x30], ecx
je 0x49ce0d
cmp dword [ebp + 0xc], 0
jne 0x49ce91
cmp word [eax], cx
jg 0x49ce91
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x49ce1a
cmp dword [ebx + 0x48], 0
jne 0x49ce91
cmp dword [esi + 0x4c], 0
jne 0x49ce91
cmp dword [ebx + 0x44], 0
je 0x49ce2a
test ecx, ecx
jne 0x49ce91
mov edi, dword [esi + 0x28]
xor edx, edx
cmp word [edi], dx
je 0x49ce91
test byte [esi + 6], 1
jne 0x49ce91
test ecx, ecx
je 0x49ce4b
xor edi, edi
inc edi
cmp word [eax], di
jg 0x49ce91
cmp dword [ebp + 0xc], edx
jne 0x49ce91
mov ax, word [ebx + 6]
xor edi, edi
inc edi
and ax, di
mov edi, dword [ebp - 0x10]
je 0x49ce5f
cmp dword [ebp + 0x10], edx
jne 0x49ce91
mov edx, dword [ebx + 0x38]
test edx, edx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 8]
je 0x49ce72
cmp dword [esi + 0x38], 0
jne 0x49ce91
cmp dword [ebp + 0xc], 0
je 0x49ce7e
cmp dword [esi + 0x38], 0
jne 0x49ce91
test ecx, ecx
je 0x49ce98
xor ecx, ecx
cmp dword [ebx + 0x2c], ecx
jne 0x49ce91
movzx ecx, ax
test ax, ax
je 0x49ce9b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
movzx ecx, ax
mov eax, dword [ebp - 0xc]
test byte [edx + eax + 0x24], 0x20
jne 0x49ce91
cmp dword [esi + 0x3c], 0
je 0x49cf2f
cmp dword [esi + 0x38], 0
jne 0x49ce91
cmp dword [ebp + 0xc], 0
jne 0x49ce91
test cx, cx
jne 0x49ce91
xor ecx, ecx
inc ecx
cmp word [eax], cx
jne 0x49ce91
mov ecx, esi
test byte [ecx + 6], 5
jne 0x49ce91
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x49cee0
cmp byte [ecx + 4], 0x71
jne 0x49ce91
mov eax, dword [ecx + 0x28]
xor edx, edx
inc edx
cmp word [eax], dx
mov edx, dword [ebp - 8]
jl 0x49ce91
mov eax, dword [esi]
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x49ce91
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x49ceca
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x49cf2c
cmp dword [eax], ecx
jle 0x49cf2c
mov eax, dword [eax + 8]
add eax, 0xe
xor edi, edi
cmp word [eax], di
mov edi, dword [ebp - 0x10]
je 0x49ce91
mov ebx, dword [ebp - 0x28]
inc ecx
add eax, 0x14
cmp ecx, dword [ebx]
mov ebx, dword [ebp - 0x1c]
jl 0x49cf10
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + eax + 0xc]
mov dword [ecx + 0x204], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.0048cef4
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x204], ecx
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x49cfd1
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov edi, dword [ebx + 0x38]
xor eax, eax
mov esi, dword [ebx + 0x48]
mov edx, ebx
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x48], eax
call fcn.004880f0
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x48], esi
xor esi, esi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x28], ecx
mov byte [ebx + 4], 0x71
mov dword [ebx + 0x44], esi
test eax, eax
jne 0x49cfa6
mov eax, dword [ebp - 0x20]
jmp 0x49cfaf
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x44], esi
mov edi, dword [ebp - 0x10]
mov dword [ebx + 0x3c], eax
cmp byte [edi + 0x36], 0
jne 0x49d2c7
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x24], edx
test edx, edx
jne 0x49cf68
jmp 0x49cfd4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + ecx + 0x18]
mov esi, edx
mov dword [ebp - 0x34], edx
mov edx, dword [eax + ecx + 8]
mov ecx, edi
mov dword [ebp - 0x24], esi
call fcn.004660bd
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax + 0xc]
call fcn.004660bd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx + 0x10]
mov ecx, edi
call fcn.004660bd
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + edx + 8], ecx
mov dword [eax + edx + 0xc], ecx
mov dword [eax + edx + 0x10], ecx
mov dword [eax + edx + 0x18], ecx
mov ecx, dword [eax + edx + 0x14]
test ecx, ecx
je 0x49d073
movzx eax, word [ecx + 0x20]
cmp ax, word [ebp - 0x30]
jne 0x49d063
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
mov eax, dword [eax + 0x1b0]
test eax, eax
cmovne ebx, eax
mov eax, ebx
mov eax, dword [eax + 0x224]
mov dword [ecx + 0x48], eax
mov eax, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [eax + 0x224], ecx
jmp 0x49d068
dec eax
mov word [ecx + 0x20], ax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [eax + edx + 0x14], ecx
jmp 0x49d075
xor ecx, ecx
mov byte [ebp - 1], cl
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x30], ecx
movsx edx, word [ecx]
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x49d09d
mov edi, dword [ebp - 0xc]
mov al, byte [eax + edi + 0x24]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 1], al
jmp 0x49d0bf
xor eax, eax
xor edx, edx
push eax
push eax
mov ecx, edi
call fcn.00490148
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebx + 0x28], ecx
test ecx, ecx
je 0x49d2bd
mov edx, dword [ebp - 0x14]
xor eax, eax
inc eax
cmp edx, eax
jle 0x49d0ef
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [edx - 1]
mov edx, ecx
push eax
mov ecx, edi
call fcn.00490058
pop ecx
pop ecx
mov ecx, eax
mov dword [ebx + 0x28], ecx
cmp byte [edi + 0x36], 0
mov dword [ebp - 0x20], ecx
jne 0x49d2bd
mov edx, dword [ebp - 0x14]
test edx, edx
jle 0x49d148
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x30]
add edi, 8
mov ebx, dword [ebp - 0x10]
add esi, 8
add edi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edi
mov edx, dword [edi + 0x28]
mov ecx, ebx
call fcn.0048ffdd
push 0x10
pop ecx
push 0x40
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x28]
push eax
push esi
call fcn.00573610
mov edi, dword [ebp - 0x2c]
add esi, 0x40
add edi, 0x40
mov dword [ebp - 0x28], esi
add esp, 0xc
mov dword [ebp - 0x2c], edi
sub dword [ebp - 0x14], 1
jne 0x49d10a
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 1]
mov byte [eax + ecx + 0x24], dl
xor eax, eax
mov edi, dword [ebx]
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp dword [edi], eax
jle 0x49d1a0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov edx, dword [edi + 8]
cmp dword [edx + eax + 4], 0
jne 0x49d18d
mov edx, dword [edx + eax + 8]
test edx, edx
je 0x49d18d
mov ecx, esi
call fcn.004663ae
mov ecx, dword [edi + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + edx + 4], eax
mov eax, edx
mov ecx, dword [ebp - 0x2c]
inc ecx
add eax, 0x14
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
cmp ecx, dword [edi]
jl 0x49d165
mov edi, dword [ebx]
mov esi, dword [ebp - 0x24]
push dword [esi]
mov edx, edi
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0049ccc6
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x49d1dd
push dword [esi]
mov edx, dword [ebx + 0x30]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0049ccc6
push dword [esi]
mov edx, dword [ebx + 0x34]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0049cc13
add esp, 0x10
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x49d1ee
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [esi + 0x38], eax
jmp 0x49d205
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x49d203
push dword [esi]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0049ccc6
pop ecx
pop ecx
xor eax, eax
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x49d217
push eax
push eax
mov ecx, edi
call fcn.00487c3f
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
mov ecx, edi
mov edx, dword [ebx + 0x2c]
mov dword [ebp - 0x2c], eax
je 0x49d26a
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x2c], eax
push dword [esi]
push dword [ebp - 0x18]
call fcn.0049cc13
mov dword [ebx + 0x34], eax
mov ecx, edi
mov edx, dword [esi + 0x34]
xor eax, eax
push eax
push eax
call fcn.00487c3f
mov edx, dword [ebx + 0x34]
mov ecx, edi
push eax
call fcn.00487860
add esp, 0x14
mov dword [ebx + 0x34], eax
mov edx, dword [esi + 0x30]
xor eax, eax
mov ecx, edi
push eax
call fcn.00487e34
pop ecx
mov dword [ebx + 0x30], eax
jmp 0x49d289
push dword [esi]
push dword [ebp - 0x18]
call fcn.0049cc13
push dword [ebp - 0x2c]
mov edx, eax
mov dword [ebx + 0x2c], eax
mov ecx, edi
call fcn.00487860
add esp, 0xc
mov dword [ebx + 0x2c], eax
mov ax, word [esi + 6]
xor ecx, ecx
inc ecx
and ax, cx
xor ecx, ecx
or word [ebx + 6], ax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x49d2a6
mov dword [ebx + 0x48], eax
mov dword [esi + 0x48], ecx
mov ebx, dword [ebx + 0x3c]
mov esi, dword [esi + 0x3c]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x49d075
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.00499eac
xor eax, eax
inc eax
jmp 0x49ce93