Function at 0x49ca70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov ebx, dword [eax]
mov ecx, dword [eax + 0x204]
push edi
mov dword [esp + 0x20], ecx
test byte [ebx + 0x3c], 1
je 0x49ca97
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edx, dword [esi + 0x28]
lea ebp, [eax + eax*8]
shl ebp, 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov eax, dword [edx + ebp + 0x34]
mov edi, dword [edx + ebp + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [edx + ebp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [esp + 0x48]
je 0x49cade
test eax, eax
je 0x49caf1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test eax, eax
je 0x49caf1
cmp byte [edx], 1
jbe 0x49caf1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x28]
test ecx, ecx
je 0x49cb0b
cmp dword [esi + 0x48], 0
je 0x49cb0b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp dword [edi + 0x4c], 0
je 0x49cb1b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp dword [esi + 0x44], 0
je 0x49cb2f
test ecx, ecx
je 0x49cb2f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
cmp byte [eax], 0
jne 0x49cb3e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test byte [edi + 6], 1
je 0x49cb4e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x49cb69
cmp byte [edx], 1
ja 0x49cb5f
mov eax, dword [esp + 0x44]
test eax, eax
je 0x49cb69
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov ax, word [esi + 6]
and ax, 1
mov word [esp + 0x3c], ax
je 0x49cb8a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49cb8a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esi + 0x38]
test eax, eax
je 0x49cba2
mov eax, dword [edi + 0x38]
test eax, eax
je 0x49cba2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x49cbbb
mov eax, dword [edi + 0x38]
test eax, eax
je 0x49cbbb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x49cbe6
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x49cbd0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x49cbe6
cmp word [esp + 0x3c], 0
je 0x49cbe6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov cl, byte [edx + ebp + 0x28]
lea eax, [edx + ebp + 0x28]
test cl, 0x20
mov dword [esp + 0x28], eax
je 0x49cc01
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x49cc82
mov eax, dword [edi + 0x38]
test eax, eax
je 0x49cc19
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x49cc0f
cmp word [esp + 0x3c], 0
jne 0x49cc0f
cmp byte [edx], 1
jne 0x49cc0f
test edi, edi
mov eax, edi
je 0x49cc5f
test byte [eax + 6], 5
jne 0x49cc0f
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x49cc47
cmp byte [eax + 4], 0x71
jne 0x49cc0f
mov edx, dword [eax + 0x28]
cmp byte [edx], 1
jb 0x49cc0f
mov edx, dword [edi]
mov eax, dword [eax]
mov edx, dword [edx]
cmp edx, dword [eax]
jne 0x49cc0f
mov eax, ecx
test eax, eax
jne 0x49cc34
mov eax, dword [esi + 0x38]
test eax, eax
je 0x49cc82
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x49cc82
mov eax, dword [eax + 8]
add eax, 0x14
cmp word [eax], 0
je 0x49cc0f
inc ecx
add eax, 0x18
cmp ecx, edx
jl 0x49cc74
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov ecx, dword [eax + ebp + 0x10]
lea ebp, [eax + ebp + 0x10]
mov eax, dword [esp + 0x44]
push 0x15
push eax
mov dword [esp + 0x38], ebp
mov dword [eax + 0x204], ecx
call fcn.0048cd30
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
add esp, 0x14
mov dword [eax + 0x204], edx
mov eax, dword [edi + 0x3c]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x49cd56
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
mov ebp, dword [esi + 0x48]
xor eax, eax
mov dword [esp + 0x20], ecx
push eax
push esi
push ebx
mov dword [esp + 0x28], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
call fcn.0048c4a0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x4c], ecx
test eax, eax
mov dword [esi + 0x48], ebp
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edx
mov byte [esi + 4], 0x71
mov dword [esi + 0x44], 0
jne 0x49cd23
mov eax, dword [esp + 0x1c]
jmp 0x49cd31
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x44], 0
mov dword [eax + 0x3c], ecx
mov dword [esi + 0x3c], eax
mov al, byte [ebx + 0x40]
test al, al
jne 0x49d0a1
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x3c]
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x49ccca
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [eax]
lea eax, [ecx + edx + 0xc]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], edi
mov eax, dword [eax]
push eax
push ebx
call fcn.004591b0
mov ecx, dword [ebp]
push ecx
push ebx
call fcn.004591b0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax + 0x14]
lea eax, [edx + eax + 0x14]
push ecx
push ebx
mov dword [esp + 0x38], eax
call fcn.004591b0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [edx], 0
mov edx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x10]
mov dword [ecx], 0
mov dword [ebp], 0
lea ecx, [edx + eax + 0x18]
mov eax, dword [edx + eax + 0x18]
test eax, eax
je 0x49ce14
mov dx, word [eax + 0x28]
cmp dx, 1
jne 0x49ce09
mov ebp, dword [esp + 0x38]
mov edx, dword [ebp + 0x1b4]
test edx, edx
jne 0x49cdf8
mov edx, ebp
mov ebp, dword [edx + 0x224]
mov dword [eax + 0x44], ebp
mov dword [edx + 0x224], eax
jmp 0x49ce0e
dec edx
mov word [eax + 0x28], dx
mov dword [ecx], 0
test esi, esi
mov ebp, esi
je 0x49d093
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x38], 0
mov cl, byte [eax]
mov eax, dword [ebp + 0x28]
test eax, eax
mov esi, ecx
mov dword [esp + 0x10], eax
je 0x49ce47
mov edx, dword [esp + 0x28]
mov cl, byte [edx]
mov byte [esp + 0x38], cl
jmp 0x49ce65
push 0
push 0
push 0
push ebx
call fcn.004900b0
add esp, 0x10
mov dword [ebp + 0x28], eax
test eax, eax
mov dword [esp + 0x10], eax
je 0x49d093
cmp esi, 1
jle 0x49ce90
mov edx, dword [esp + 0x40]
lea ecx, [esi - 1]
inc edx
push edx
push ecx
push eax
push ebx
call fcn.00490150
mov dword [ebp + 0x28], eax
mov cl, byte [ebx + 0x40]
add esp, 0x10
mov dword [esp + 0x10], eax
test cl, cl
jne 0x49d093
test esi, esi
jle 0x49ceff
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
add edx, 8
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
lea edx, [ecx + eax + 8]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x34]
push eax
push ebx
call fcn.004815e0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov ecx, 0x12
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov ecx, 0x12
mov edi, edx
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
add esi, 0x48
add edx, 0x48
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jne 0x49ceaf
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x38]
mov byte [ecx + eax + 0x28], dl
mov esi, dword [ebp]
xor eax, eax
mov ecx, dword [esi]
mov dword [esp + 0x3c], eax
cmp ecx, eax
jle 0x49cf6a
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 8]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x49cf50
mov edx, dword [eax + 8]
push edx
push ebx
call fcn.0046b810
push eax
mov dword [esp + 0x30], eax
call fcn.0047c4b0
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [edx + eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esi]
inc ecx
add eax, 0x18
cmp ecx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
jl 0x49cf1e
mov eax, dword [edi]
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebp]
push eax
push esi
push ecx
push ebx
call fcn.0049d180
mov eax, dword [esp + 0x54]
add esp, 0x10
test eax, eax
je 0x49cfa9
mov edx, dword [edi]
mov eax, dword [ebp + 0x30]
push edx
push esi
push eax
push ebx
call fcn.0049d180
mov ecx, dword [edi]
mov edx, dword [ebp + 0x34]
push ecx
push esi
push edx
push ebx
call fcn.0049d0b0
add esp, 0x20
mov dword [ebp + 0x34], eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x49cfbc
mov dword [ebp + 0x38], eax
mov dword [edi + 0x38], 0
jmp 0x49cfd1
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x49cfd1
mov ecx, dword [edi]
push ecx
push esi
push eax
push ebx
call fcn.0049d180
add esp, 0x10
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x49cfea
push 0
push eax
push ebx
call fcn.0048c000
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x49cff2
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49d043
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x2c], eax
mov ecx, dword [edi]
push ecx
push esi
push edx
push ebx
call fcn.0049d0b0
mov dword [ebp + 0x34], eax
mov eax, dword [edi + 0x34]
push 0
push eax
push ebx
call fcn.0048c000
mov ecx, dword [ebp + 0x34]
push eax
push ecx
push ebx
call fcn.00485e80
mov dword [ebp + 0x34], eax
mov edx, dword [edi + 0x30]
push 0
push edx
push ebx
call fcn.0048c3a0
add esp, 0x34
mov dword [ebp + 0x30], eax
jmp 0x49d066
mov eax, dword [edi]
mov ecx, dword [ebp + 0x2c]
push eax
push esi
push ecx
push ebx
call fcn.0049d0b0
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x2c], eax
push edx
push eax
push ebx
call fcn.00485e80
add esp, 0x1c
mov dword [ebp + 0x2c], eax
mov al, byte [edi + 6]
and eax, 1
or word [ebp + 6], ax
mov eax, dword [edi + 0x48]
test eax, eax
je 0x49d081
mov dword [ebp + 0x48], eax
mov dword [edi + 0x48], 0
mov ebp, dword [ebp + 0x3c]
mov edi, dword [edi + 0x3c]
test ebp, ebp
mov dword [esp + 0x3c], edi
jne 0x49ce1e
mov ecx, dword [esp + 0x30]
push ecx
push ebx
call fcn.004814b0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret