Function at 0x527e80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov dword [esp + 0x24], eax
mov ebp, ecx
mov eax, dword [esp + 0x50]
push esi
push edi
mov dword [esp + 0x18], eax
lea ebx, [ebp + 0x6496f8]
mov edi, dword [eax + 0x28]
mov dword [esp + 0x1c], edi
cmp edi, dword [ebp + 0x64b7e0]
je 0x527eca
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
push edi
push dword [ebp + 0x64b7d0]
mov ecx, ebp
mov dword [ebp + 0x64b7e0], edi
call fcn.00521e40
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
test al, al
jne 0x527f55
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
test al, al
jne 0x527f55
lea ecx, [ecx]
mov esi, dword [esp + 0x1c]
mov ecx, ebp
push esi
call fcn.005208c0
test eax, eax
jne 0x527fcb
push edi
call fcn.00537b6f
add esp, 4
mov ecx, ebp
push esi
push dword [ebp + 0x64b7d0]
call fcn.00521e40
mov edi, eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
test al, al
je 0x527f10
test edi, edi
je 0x527f62
push edi
call fcn.00537b6f
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [ebx]
push 0
push dword [eax + 0x34]
mov esi, dword [esi + 0x10]
mov ecx, esi
push dword [eax + 0x30]
call dword [0x55670c]
mov ecx, ebx
call esi
push 0x56cf04
push ebx
mov ecx, ebp
call fcn.00526710
mov esi, dword [ebx]
test eax, eax
jne 0x527fe5
mov esi, dword [esi + 8]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
push dword [ebp + 0x64b7ac]
mov ecx, 0x5d281c
call fcn.00486f40
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0052f708
add esp, 0x40
ret 8
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0052f708
add esp, 0x40
ret 8
mov esi, dword [esi + 0xc]
lea eax, [esp + 0x30]
push 0x1a
push eax
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
cmp eax, 0x1a
je 0x52802b
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0052f708
add esp, 0x40
ret 8
push 0x68
call fcn.00538da8
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
jne 0x52806a
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0052f708
add esp, 0x40
ret 8
movzx ecx, byte [esp + 0x31]
movzx eax, byte [esp + 0x30]
shl cx, 8
or cx, ax
movzx edx, byte [esp + 0x47]
movzx eax, byte [esp + 0x32]
mov word [esi + 2], cx
movzx ecx, byte [esp + 0x33]
shl cx, 8
or cx, ax
shl dx, 8
movzx eax, byte [esp + 0x34]
mov word [esi + 0x2e], cx
movzx ecx, byte [esp + 0x35]
shl cx, 8
or cx, ax
mov dword [esi + 0x3c], 0
movzx eax, byte [esp + 0x39]
shl ax, 8
mov word [esi + 6], cx
movzx ecx, ax
movzx eax, byte [esp + 0x38]
or ecx, eax
mov dword [esi + 0x4c], 0
movzx eax, byte [esp + 0x37]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movzx eax, byte [esp + 0x36]
or ecx, eax
movzx eax, byte [esp + 0x3d]
shl ax, 8
mov dword [esi + 8], ecx
movzx ecx, ax
movzx eax, byte [esp + 0x3c]
or ecx, eax
movzx eax, byte [esp + 0x3b]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movzx eax, byte [esp + 0x3a]
or ecx, eax
movzx eax, byte [esp + 0x46]
or dx, ax
mov dword [esi + 0xc], ecx
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x48]
shl cx, 8
or cx, ax
mov word [esi + 0x20], dx
movzx eax, cx
mov dword [esp + 0x20], eax
movzx eax, ax
mov dword [esp + 0x10], eax
movzx eax, dx
mov dword [esp + 0x28], eax
inc eax
push eax
movzx edi, cx
mov word [esi + 0x22], cx
mov dword [esp + 0x28], eax
call fcn.00538da8
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esi + 0x48], eax
test eax, eax
je 0x528050
mov eax, dword [esp + 0x10]
movzx eax, ax
mov dword [esp + 0x10], eax
test di, di
je 0x52819a
push eax
call fcn.00538da8
mov edi, eax
add esp, 4
mov dword [esi + 0x3c], edi
test edi, edi
je 0x528050
jmp 0x52819c
xor edi, edi
mov eax, dword [ebx]
push dword [esp + 0x28]
push dword [esp + 0x20]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
cmp eax, dword [esp + 0x28]
jne 0x528011
cmp word [esp + 0x20], 0
je 0x5281eb
mov eax, dword [ebx]
push dword [esp + 0x10]
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebx
call esi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x528011
jmp 0x5281ef
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx eax, word [eax + 0x20]
mov byte [eax + ebx], 0
test edi, edi
je 0x52823e
lea edx, [edi - 4]
add edx, ecx
cmp edi, edx
jae 0x52823e
mov esi, 0x7075
movzx ecx, byte [edi + 1]
movzx eax, byte [edi]
shl cx, 8
or cx, ax
cmp cx, si
je 0x528303
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
add edi, 4
shl ecx, 8
or ecx, eax
add edi, ecx
cmp edi, edx
jb 0x528211
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x48], 0
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
je 0x52826b
movzx eax, cl
push eax
shr ecx, 8
push ecx
call fcn.004ee0f0
test al, al
je 0x52826b
mov eax, dword [esi + 0x48]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [esi + 0x3c]
mov dword [ebp + 0x64b7a4], 0
test eax, eax
je 0x5282be
movzx edi, word [esi + 0x22]
add edi, 0xfffffffc
add edi, eax
cmp eax, edi
jae 0x5282be
lea esp, [esp]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
shl dx, 8
or dx, cx
cmp dx, 1
je 0x5283e8
movzx edx, byte [eax + 3]
movzx ecx, byte [eax + 2]
add eax, 4
shl edx, 8
or edx, ecx
add eax, edx
cmp eax, edi
jb 0x528290
mov eax, dword [ebp + 0x64b7a4]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x64b7a4], eax
pop edi
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], ecx
mov ecx, dword [edx + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax], esi
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x40
ret 8
test edi, edi
je 0x52823e
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl cx, 8
or cx, ax
cmp byte [edi + 4], 1
movzx eax, cx
mov dword [esp + 0x20], eax
ja 0x52823e
movzx esi, byte [edi + 8]
mov ecx, ebx
movzx eax, byte [edi + 7]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 6]
shl esi, 8
lea edx, [ecx + 1]
or esi, eax
movzx eax, byte [edi + 5]
shl esi, 8
or esi, eax
add edi, 9
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528352
sub ecx, edx
push ecx
push ebx
push 0xffffffffffffffff
call fcn.004826b0
not eax
cmp eax, esi
jne 0x52823e
mov eax, dword [esp + 0x20]
add eax, 0xfffffffb
movzx eax, ax
test ax, ax
jne 0x5283b5
push dword [esp + 0x24]
call fcn.00538da8
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x52823e
mov edx, eax
mov cl, byte [ebx]
lea ebx, [ebx + 1]
mov byte [edx], cl
lea edx, [edx + 1]
test cl, cl
jne 0x528397
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x4c], ebx
jmp 0x528242
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.00538da8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x52823e
push esi
push edi
push ebx
call fcn.0053b9c0
mov byte [esi + ebx], 0
add esp, 0xc
mov esi, dword [esp + 0x14]
mov dword [esi + 0x4c], ebx
jmp 0x528242
test eax, eax
je 0x5282be
cmp dword [esi + 0x18], 0xffffffff
lea edi, [eax + 4]
mov dword [ebp + 0x64b7a4], 1
mov dword [esp + 0x10], edi
jne 0x5284af
cmp dword [esi + 0x1c], 0
jne 0x5284af
movzx eax, byte [edi + 7]
cdq
mov ebx, eax
mov ecx, edx
movzx eax, byte [edi + 6]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 5]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 4]
shld ecx, ebx, 8
cdq
xor edi, edi
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 3]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x10]
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x10]
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x10]
shld esi, ecx, 8
or ebx, esi
shl ecx, 8
movzx eax, byte [eax]
or edi, ecx
mov esi, dword [esp + 0x14]
cdq
or edi, eax
or ebx, edx
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x10]
add edi, 8
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], edi
cmp dword [esi + 0x10], 0xffffffff
jne 0x528552
cmp dword [esi + 0x14], 0
jne 0x528552
movzx eax, byte [edi + 7]
cdq
mov ebx, eax
mov ecx, edx
movzx eax, byte [edi + 6]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 5]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 4]
shld ecx, ebx, 8
cdq
xor edi, edi
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 3]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x10]
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x10]
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
or ecx, eax
or esi, edx
mov eax, dword [esp + 0x10]
shld esi, ecx, 8
shl ecx, 8
or ebx, esi
movzx eax, byte [eax]
or edi, ecx
mov esi, dword [esp + 0x14]
cdq
or edi, eax
or ebx, edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov eax, 1
jmp 0x5282c4