Function at 0x4734b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b6920
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
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 0x473513
mov eax, ebx
call fcn.00472a90
test eax, eax
je 0x473513
call fcn.00472b10
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x473513
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x473534
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 0x473540
cmp dword [esi + 0xc], 0
je 0x473513
mov edx, dword [0x6d50f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x6d50f8
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.00472b10
lea ecx, [esp + 0x14]
push ecx
call fcn.00472510
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 0x47359e
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.0040d8d9
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.005745c0
add esp, 8
cmp eax, 0x50
ja case.0x4737eb.1
movzx ecx, byte [eax + 0x47390c]
jmp dword [ecx*4 + 0x4738fc]
test esi, esi
jl case.0x4737eb.22
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg case.0x4737eb.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.00576b57
add esp, 8
test eax, eax
je 0x473642
sub eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x473642
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.0042f571
mov byte [esp + 0x38], 2
lea edi, [esp + 0x14]
call fcn.00408450
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 0x473642
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 0x473665
mov edi, esi
test esi, esi
je 0x4738cc
mov ebx, dword [ebp + 8]
call fcn.00472b10
mov dword [esp + 0x20], eax
test eax, eax
je 0x4738cc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4738cc
mov edi, esi
call fcn.00472b10
test eax, eax
je 0x4738cc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4738cc
mov esi, dword [esp + 0x20]
cmp dword [esi], eax
je 0x473882
mov edx, dword [0x6d50f8]
mov eax, dword [edx + 0xc]
mov ecx, 0x6d50f8
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x38], 5
mov ebx, dword [esi]
test ebx, ebx
jns 0x47372d
movzx ecx, bx
push ecx
push str.o:_u
lea eax, [esp + 0x20]
call fcn.0041759b
mov edx, dword [ebp + 0xc]
add esp, 8
push edx
lea ecx, [esp + 0x18]
call fcn.00473bf0
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.004743e0
mov ecx, 1
mov edx, esi
mov ebx, eax
call fcn.00474490
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov dword [eax], ebx
jmp 0x473845
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 0x47384d
lea ecx, [ecx]
mov esi, dword [eax + 0xc]
cmp ebx, esi
jb 0x473764
mov ecx, dword [eax + 8]
add ecx, esi
cmp ebx, ecx
jb 0x473771
mov ecx, dword [esp + 0x28]
inc edx
add eax, 0x28
cmp edx, ecx
jb 0x473750
jmp 0x47384d
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 0x47384d
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x47384d
lea ecx, [esp + 0x18]
lea eax, [ebx + 2]
push ecx
call fcn.00472510
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 0x4737ce
mov eax, esi
lea ecx, [esp + 0x18]
call fcn.0040d8d9
mov edi, dword [esp + 0x18]
lea edx, [esi + 1]
push edx
push edi
call fcn.005745c0
add esp, 8
cmp eax, 0x50
ja case.0x4737eb.1
movzx eax, byte [eax + 0x473970]
jmp dword [eax*4 + 0x473960]
test esi, esi
jl case.0x4737eb.22
cmp esi, dword [edi - 8]
jg case.0x4737eb.22
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [edi - 0xc], esi
lea ecx, [esp + 0x18]
mov byte [esi + edi], 0
call fcn.00473bf0
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.004743e0
mov edx, dword [esp + 0x28]
mov ecx, 1
mov esi, eax
call fcn.00474490
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 0x473879
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [esi], 0
jne 0x4736b6
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 0x473530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x473530
push 0x8007000e
call fcn.00402d73
push 0x80070057
call fcn.00402d73
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040842d
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.00402d73
ret 0x4735