Function at 0x4741f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20c
push ebx
push esi
push edi
call fcn.00477370
call fcn.00457890
mov ecx, dword [0x4f03ec]
mov dword [ecx + 0x14], eax
call fcn.00457a80
mov esi, eax
push esi
mov dword [esp + 0x1c], esi
call fcn.00457b20
mov edx, dword [0x4f03ec]
push esi
mov eax, dword [edx + 0x14]
push eax
call fcn.00457970
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x128]
add esp, 0xc
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
xor esi, esi
mov eax, dword [esi + 0x4f04cc]
test eax, eax
je 0x47425f
lea ecx, [eax + eax]
push ecx
call edi
add esp, 4
mov dword [esp + esi + 0x20], eax
add esi, 4
cmp esi, 0xfc
jl 0x474248
mov eax, dword [0x4f05d4]
xor edx, edx
test eax, eax
jle 0x4742bf
mov esi, dword [0x4f05e4]
xor ecx, ecx
xor eax, eax
mov al, byte [ecx + esi + 6]
add ecx, 7
shl eax, 2
mov esi, dword [esp + eax + 0x11c]
mov eax, dword [esp + eax + 0x20]
mov word [eax + esi*2], dx
mov esi, dword [0x4f05e4]
xor eax, eax
mov al, byte [ecx + esi - 1]
mov ebx, dword [esp + eax*4 + 0x11c]
lea eax, [esp + eax*4 + 0x11c]
inc ebx
inc edx
mov dword [eax], ebx
mov eax, dword [0x4f05d4]
cmp edx, eax
jl 0x47427d
mov ecx, dword [0x4f05d8]
push ebp
lea edx, [ecx + ecx]
push edx
call edi
add esp, 4
mov ebx, eax
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebp
mov eax, dword [ebp*4 + 0x4f04cc]
test eax, eax
je 0x4745a9
mov eax, dword [0x4f03ec]
mov ecx, dword [eax + ebp*4 + 0x114]
test ecx, ecx
jne 0x474310
push ebp
call fcn.004745f0
mov ecx, dword [0x4f03ec]
add esp, 4
mov dword [ecx + ebp*4 + 0x114], eax
mov edx, dword [0x4f05d8]
or eax, 0xffffffff
mov edi, ebx
xor esi, esi
lea ecx, [edx + edx]
mov dword [esp + 0x14], esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp*4 + 0x4f04cc]
test eax, eax
jle 0x4743a8
mov eax, dword [esp + ebp*4 + 0x24]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov edi, 3
mov cx, word [edx]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [0x4f05e4]
add eax, ecx
xor ecx, ecx
mov cx, word [eax]
mov dx, word [ebx + ecx*2]
lea ecx, [ebx + ecx*2]
cmp dx, 0xffff
jne 0x474380
mov word [ecx], si
mov word [eax], si
inc esi
jmp 0x474383
mov word [eax], dx
add eax, 2
dec edi
jne 0x474364
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp*4 + 0x4f04cc]
inc eax
add edx, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x474345
mov edx, dword [ebp*4 + 0x4f04cc]
push 0x34
push edx
push esi
call fcn.00457d10
push 0
push eax
mov dword [0x4f8808], eax
call fcn.00457d70
push eax
mov dword [0x4f8928], eax
call fcn.00458c90
mov dword [0x4f880c], eax
mov eax, dword [0x4f8928]
push eax
call fcn.00458c80
mov ecx, dword [0x4f8808]
mov dword [0x4f0400], eax
push ecx
call fcn.00457e10
mov ecx, dword [0x4f05d8]
add esp, 0x20
xor edi, edi
test ecx, ecx
jle 0x47449b
xor esi, esi
mov edx, ebx
mov cx, word [edx]
cmp cx, 0xffff
je 0x474486
mov ebx, dword [0x4f05e8]
mov ebp, dword [0x4f880c]
and ecx, 0xffff
add ebx, esi
lea ecx, [ecx + ecx*2]
lea ecx, [ebp + ecx*4]
mov ebp, dword [ebx]
mov dword [ecx], ebp
mov ebp, dword [ebx + 4]
mov dword [ecx + 4], ebp
mov ebx, dword [ebx + 8]
mov dword [ecx + 8], ebx
mov ecx, dword [0x4f05d0]
mov ebp, dword [0x4f0400]
lea ebx, [esi + ecx]
xor ecx, ecx
mov cx, word [edx]
lea ecx, [ecx + ecx*2]
lea ecx, [ebp + ecx*4]
mov ebp, dword [ebx]
mov dword [ecx], ebp
mov ebp, dword [ebx + 4]
mov dword [ecx + 4], ebp
mov ebx, dword [ebx + 8]
mov dword [ecx + 8], ebx
mov ecx, dword [0x4f04c4]
xor ebx, ebx
mov bx, word [edx]
lea ecx, [ecx + edi*8]
mov ebp, dword [ecx]
mov dword [eax + ebx*8], ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
mov dword [eax + ebx*8 + 4], ecx
mov ecx, dword [0x4f05d8]
inc edi
add esi, 0xc
add edx, 2
cmp edi, ecx
jl 0x474408
mov edx, dword [0x4f8808]
push edx
call fcn.00457e00
mov ecx, dword [ebp*4 + 0x4f04cc]
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x474543
mov ebp, dword [esp + ebp*4 + 0x24]
lea esi, [eax + 4]
xor ecx, ecx
xor edx, edx
mov cx, word [ebp + ebx*2]
lea edi, [esi - 4]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [0x4f05e4]
add eax, ecx
xor ecx, ecx
test ebx, ebx
mov cx, word [eax + 4]
mov dx, word [eax + 2]
mov ax, word [eax]
mov word [esi - 2], dx
mov word [edi], ax
mov word [esi], cx
jne 0x47452a
mov ecx, dword [0x4f03ec]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4 + 0x114]
mov ecx, dword [0x4f8808]
push eax
mov eax, dword [esp + 0x18]
sub edi, eax
sar edi, 3
push edi
push eax
push ecx
call fcn.00457f30
add esp, 0x10
mov edx, dword [esp + 0x10]
mov word [esi + 2], 0
add esi, 8
inc ebx
cmp ebx, dword [edx*4 + 0x4f04cc]
jl 0x4744c6
mov ebp, edx
mov eax, dword [0x4f8928]
push 0x42c80000
push eax
call fcn.00458c70
add esp, 4
push eax
call fcn.00459040
mov ecx, dword [0x4f8808]
push ecx
call fcn.00457fe0
call fcn.004573c0
mov edx, dword [0x4f8808]
mov esi, eax
push edx
push esi
call fcn.00457510
mov eax, dword [0x4f8808]
push eax
call fcn.00457d30
mov ecx, dword [esp + 0x34]
push ecx
push esi
call fcn.004574e0
mov edx, dword [0x4f03ec]
push esi
mov eax, dword [edx + 0x14]
push eax
call fcn.00457850
mov ebx, dword [esp + 0x48]
add esp, 0x28
inc ebp
cmp ebp, 0x3f
mov dword [esp + 0x10], ebp
jl 0x4742db
mov edi, dword [sym.imp.MSVCRT.dll_free]
xor esi, esi
pop ebp
mov eax, dword [esi + 0x4f04cc]
test eax, eax
je 0x4745d4
mov ecx, dword [esp + esi + 0x20]
push ecx
call edi
add esp, 4
add esi, 4
cmp esi, 0xfc
jl 0x4745c0
push ebx
call edi
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x20c
ret