Function at 0x478020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bd190
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
mov edi, dword [eax + 0x80]
test edi, edi
je 0x478083
mov eax, ebx
call fcn.00477600
test eax, eax
je 0x478083
call fcn.00477680
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x478083
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x4780a4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x1c]
cmp dword [esi + 4], 0
jne 0x4780b0
cmp dword [esi + 0xc], 0
je 0x478083
mov edx, dword [0x6dd118]
mov eax, dword [edx + 0xc]
mov ecx, 0x6dd118
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 1
mov edi, dword [esi + 0xc]
mov ebx, dword [ebp + 8]
call fcn.00477680
lea ecx, [esp + 0x14]
push ecx
call fcn.00477080
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
add esp, 4
or eax, ecx
jge 0x47810e
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.0040d99b
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0057a890
add esp, 8
cmp eax, 0x50
ja case.0x47835b.1
movzx ecx, byte [eax + 0x47847c]
jmp dword [ecx*4 + 0x47846c]
test esi, esi
jl case.0x47835b.22
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg case.0x47835b.22
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov byte [esi + edx], 0
mov eax, dword [esp + 0x14]
push 0x2e
push eax
call fcn.0057ce27
add esp, 8
test eax, eax
je 0x4781b2
sub eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4781b2
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.0042f6b8
mov byte [esp + 0x38], 2
lea edi, [esp + 0x14]
call fcn.0040843b
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4781b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
mov ecx, dword [ebp + 0x10]
add dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
mov esi, dword [eax + 0x10]
test edi, edi
jne 0x4781d5
mov edi, esi
test esi, esi
je 0x47843c
mov ebx, dword [ebp + 8]
call fcn.00477680
mov dword [esp + 0x20], eax
test eax, eax
je 0x47843c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x47843c
mov edi, esi
call fcn.00477680
test eax, eax
je 0x47843c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x47843c
mov esi, dword [esp + 0x20]
cmp dword [esi], eax
je 0x4783f2
mov edx, dword [0x6dd118]
mov eax, dword [edx + 0xc]
mov ecx, 0x6dd118
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x38], 5
mov ebx, dword [esi]
test ebx, ebx
jns 0x47829d
movzx ecx, bx
push ecx
push str.o:_u
lea eax, [esp + 0x20]
call fcn.00417a02
mov edx, dword [ebp + 0xc]
add esp, 8
push edx
lea ecx, [esp + 0x18]
call fcn.00478760
mov esi, eax
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00478ff0
mov ecx, 1
mov edx, esi
mov ebx, eax
call fcn.004790a0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov dword [eax], ebx
jmp 0x4783b5
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x24]
movzx eax, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
movzx ecx, word [ecx + 6]
xor edx, edx
mov dword [esp + 0x28], ecx
test ecx, ecx
jbe 0x4783bd
lea ecx, [ecx]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x4782d4
mov ecx, dword [eax + 8]
add ecx, esi
cmp ebx, ecx
jb 0x4782e1
mov ecx, dword [esp + 0x28]
inc edx
add eax, 0x28
cmp edx, ecx
jb 0x4782c0
jmp 0x4783bd
mov edx, dword [ebp + 8]
mov ecx, esi
sub ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x28]
sub eax, ecx
add ebx, eax
je 0x4783bd
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4783bd
lea ecx, [esp + 0x18]
lea eax, [ebx + 2]
push ecx
call fcn.00477080
mov edi, dword [esp + 0x1c]
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
add esp, 4
or eax, ecx
jge 0x47833e
mov eax, esi
lea ecx, [esp + 0x18]
call fcn.0040d99b
mov edi, dword [esp + 0x18]
lea edx, [esi + 1]
push edx
push edi
call fcn.0057a890
add esp, 8
cmp eax, 0x50
ja case.0x47835b.1
movzx eax, byte [eax + 0x4784e0]
jmp dword [eax*4 + 0x4784d0]
test esi, esi
jl case.0x47835b.22
cmp esi, dword [edi - 8]
jg case.0x47835b.22
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [edi - 0xc], esi
lea ecx, [esp + 0x18]
mov byte [esi + edi], 0
call fcn.00478760
mov ebx, dword [eax + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
push edx
push eax
push ebx
call fcn.00478ff0
mov edx, dword [esp + 0x28]
mov ecx, 1
mov esi, eax
call fcn.004790a0
mov dword [ebx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi - 0xc]
add dword [eax], ecx
mov esi, dword [esp + 0x20]
add esi, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x38], 1
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4783e9
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [esi], 0
jne 0x478226
add dword [esp + 0x1c], 0x14
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4780a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4780a0
push 0x8007000e
call fcn.00402d79
push 0x80070057
call fcn.00402d79
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00408418
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00402d79
xor al, byte [ecx - 0x7bd7ffb9]
inc edi
add byte [edx], dh
test byte [edi], al
bound eax, qword [edi + eax*2 + 0x3030000]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
lea ecx, [ecx]
bound eax, qword [ebx - 0x7bd7ffb9]
inc edi
add byte [edx], dh
test byte [edi], al
bound eax, qword [edi + eax*2 + 0x3030000]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3