Function at 0x528990
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40
mov eax, dword [0x58cb30]
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 0x5289da
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
mov ecx, ebx
call esi
push edi
push dword [ebp + 0x64b7d0]
mov ecx, ebp
mov dword [ebp + 0x64b7e0], edi
call fcn.00522960
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x55770c]
mov ecx, ebx
call esi
test al, al
jne 0x528a65
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55770c]
mov ecx, ebx
call esi
test al, al
jne 0x528a65
lea ecx, [ecx]
mov esi, dword [esp + 0x1c]
mov ecx, ebp
push esi
call fcn.00521410
test eax, eax
jne 0x528adb
push edi
call fcn.0053867f
add esp, 4
mov ecx, ebp
push esi
push dword [ebp + 0x64b7d0]
call fcn.00522960
mov edi, eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55770c]
mov ecx, ebx
call esi
test al, al
je 0x528a20
test edi, edi
je 0x528a72
push edi
call fcn.0053867f
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 [0x55770c]
mov ecx, ebx
call esi
push 0x56e10c
push ebx
mov ecx, ebp
call fcn.00527220
mov esi, dword [ebx]
test eax, eax
jne 0x528af5
mov esi, dword [esi + 8]
mov ecx, esi
call dword [0x55770c]
mov ecx, ebx
call esi
push dword [ebp + 0x64b7ac]
mov ecx, 0x5d381c
call fcn.00487740
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00530218
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.00530218
add esp, 0x40
ret 8
mov esi, dword [esi + 0xc]
lea eax, [esp + 0x30]
push 0x1a
push eax
mov ecx, esi
call dword [0x55770c]
mov ecx, ebx
call esi
cmp eax, 0x1a
je 0x528b3b
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
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.00530218
add esp, 0x40
ret 8
push 0x68
call fcn.005398b8
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
jne 0x528b7a
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
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.00530218
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.005398b8
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esi + 0x48], eax
test eax, eax
je 0x528b60
mov eax, dword [esp + 0x10]
movzx eax, ax
mov dword [esp + 0x10], eax
test di, di
je 0x528caa
push eax
call fcn.005398b8
mov edi, eax
add esp, 4
mov dword [esi + 0x3c], edi
test edi, edi
je 0x528b60
jmp 0x528cac
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 [0x55770c]
mov ecx, ebx
call esi
cmp eax, dword [esp + 0x28]
jne 0x528b21
cmp word [esp + 0x20], 0
je 0x528cfb
mov eax, dword [ebx]
push dword [esp + 0x10]
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55770c]
mov ecx, ebx
call esi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x528b21
jmp 0x528cff
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 0x528d4e
lea edx, [edi - 4]
add edx, ecx
cmp edi, edx
jae 0x528d4e
mov esi, 0x7075
movzx ecx, byte [edi + 1]
movzx eax, byte [edi]
shl cx, 8
or cx, ax
cmp cx, si
je 0x528e13
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 0x528d21
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x48], 0
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
je 0x528d7b
movzx eax, cl
push eax
shr ecx, 8
push ecx
call fcn.004eec90
test al, al
je 0x528d7b
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 0x528dce
movzx edi, word [esi + 0x22]
add edi, 0xfffffffc
add edi, eax
cmp eax, edi
jae 0x528dce
lea esp, [esp]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
shl dx, 8
or dx, cx
cmp dx, 1
je 0x528ef8
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 0x528da0
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.00530218
add esp, 0x40
ret 8
test edi, edi
je 0x528d4e
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 0x528d4e
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 0x528e62
sub ecx, edx
push ecx
push ebx
push 0xffffffffffffffff
call fcn.00482e80
not eax
cmp eax, esi
jne 0x528d4e
mov eax, dword [esp + 0x20]
add eax, 0xfffffffb
movzx eax, ax
test ax, ax
jne 0x528ec5
push dword [esp + 0x24]
call fcn.005398b8
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x528d4e
mov edx, eax
mov cl, byte [ebx]
lea ebx, [ebx + 1]
mov byte [edx], cl
lea edx, [edx + 1]
test cl, cl
jne 0x528ea7
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x4c], ebx
jmp 0x528d52
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.005398b8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x528d4e
push esi
push edi
push ebx
call fcn.0053c4d0
mov byte [esi + ebx], 0
add esp, 0xc
mov esi, dword [esp + 0x14]
mov dword [esi + 0x4c], ebx
jmp 0x528d52
test eax, eax
je 0x528dce
cmp dword [esi + 0x18], 0xffffffff
lea edi, [eax + 4]
mov dword [ebp + 0x64b7a4], 1
mov dword [esp + 0x10], edi
jne 0x528fbf
cmp dword [esi + 0x1c], 0
jne 0x528fbf
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 0x529062
cmp dword [esi + 0x14], 0
jne 0x529062
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 0x528dd4