Function at 0x52eee0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebp]
mov edx, dword [edx + 4]
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x18]
cmp dword [eax + 8], 0
je 0x52efec
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004bdf80
test al, al
je 0x52ef3b
push ecx
mov eax, esp
mov edx, 0x2f
mov word [eax], dx
jmp 0x52efe3
push 1
lea ecx, [esp + 0x60]
mov eax, 0x2f
push ecx
lea ecx, [esp + 0x20]
mov word [esp + 0x64], ax
call fcn.004be0d0
test al, al
jne 0x52ef6d
push ecx
mov eax, esp
mov edx, 0x2f
lea ecx, [esp + 0x1c]
mov word [eax], dx
call fcn.004c0ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x18]
cmp ecx, dword [edx + 8]
jl 0x52efce
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004bf6f0
test al, al
je 0x52efce
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
push 0xffffffffffffffff
dec eax
push eax
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x20]
call fcn.004bf660
push eax
lea ecx, [esp + 0x18]
call fcn.004bb760
mov eax, dword [esp + 0x5c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52efce
mov edx, dword [esp + 0x5c]
push edx
call fcn.004bdf50
add esp, 4
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], 0
jne 0x52efec
push ecx
mov eax, esp
mov ecx, 0x2f
mov word [eax], cx
lea ecx, [esp + 0x18]
call fcn.004bf190
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x52f006
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bdf50
add esp, 4
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0x693338
call fcn.004bdfb0
test al, al
je 0x52f046
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52f03a
mov edx, dword [esp + 0x14]
push edx
call fcn.004bdf50
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
mov eax, dword [ebp + 4]
movzx ecx, byte [eax + 6]
movzx edx, byte [eax + 7]
movzx ebx, byte [eax + 0xa]
shl ecx, 8
add ecx, edx
movzx edx, byte [eax + 8]
shl ecx, 8
add ecx, edx
movzx edx, byte [eax + 9]
shl ecx, 8
add ecx, edx
movzx edx, byte [eax + 0xb]
shl ebx, 8
add ebx, edx
movzx edx, byte [eax + 0xc]
movzx eax, byte [eax + 0xd]
shl ebx, 8
add ebx, edx
shl ebx, 8
add ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x44], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [esp + 0x4c], dx
mov dword [esp + 0x48], esi
mov edi, dword [eax + 8]
xor eax, eax
mov edx, 0x2f
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
mov word [esp + 0x4c], dx
test ecx, ecx
je 0x52f0f3
lea esp, [esp]
cmp eax, edi
jge 0x52f0f3
cmp word [esi + eax*2], dx
jne 0x52f135
inc eax
cmp eax, edi
mov dword [esp + 0x54], eax
jl 0x52f0e4
mov eax, dword [esp + 0x44]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52f10d
mov edx, dword [esp + 0x44]
push edx
call fcn.004bdf50
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52f127
mov edx, dword [esp + 0x14]
push edx
call fcn.004bdf50
add esp, 4
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
cmp eax, edi
jge 0x52f0f3
mov ecx, eax
jmp 0x52f140
cmp word [esi + eax*2], dx
je 0x52f14f
inc eax
cmp eax, edi
mov dword [esp + 0x54], eax
jl 0x52f140
sub eax, ecx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
lea edx, [esp + 0x44]
push eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
call fcn.004e76b0
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], eax
dec edi
lea eax, [edi + 1]
cdq
sub eax, edx
mov esi, eax
add esp, 4
sar esi, 1
mov dword [esp + 0x5c], 0
test edi, edi
je 0x52f21b
lea ecx, [esi + ebx]
test ecx, ecx
jne 0x52f19c
xor eax, eax
jmp 0x52f1f1
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 4]
add eax, eax
movzx edx, byte [eax + ecx]
add eax, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
add edx, ecx
mov ecx, dword [ebp + 8]
shl edx, 8
lea eax, [edx + eax + 2]
movzx edx, byte [ecx + eax + 1]
add ecx, eax
movzx eax, byte [ecx]
shl eax, 8
add eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x52f21b
jge 0x52f200
lea edi, [esi - 1]
jmp 0x52f204
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x5c]
lea eax, [edi + ecx + 1]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp edi, ecx
jne 0x52f191
add esi, ebx
push esi
mov ecx, ebp
mov byte [esp + 0x60], 0
call fcn.0052ec00
cmp eax, dword [esp + 0x1c]
jne 0x52f0f3
cmp esi, ebx
jle 0x52f2a7
lea edx, [esi*8]
sub edx, esi
lea edx, [edx + edx - 0xe]
cmp esi, 1
jne 0x52f24e
xor eax, eax
jmp 0x52f299
mov eax, dword [ebp + 4]
movzx ecx, byte [eax + edx]
movzx edi, byte [eax + edx + 1]
add eax, edx
shl ecx, 8
add ecx, edi
movzx edi, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add ecx, edi
shl ecx, 8
lea eax, [ecx + eax + 2]
mov ecx, dword [ebp + 8]
movzx edi, byte [ecx + eax]
add ecx, eax
movzx eax, byte [ecx + 1]
shl edi, 8
add eax, edi
movzx edi, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
add eax, edi
shl eax, 8
add eax, ecx
cmp eax, dword [esp + 0x1c]
jne 0x52f2a7
dec esi
sub edx, 0xe
cmp esi, ebx
jg 0x52f245
mov edx, dword [esp + 0x20]
lea eax, [ebx + edx]
cmp esi, eax
mov dword [esp + 0x34], eax
jge 0x52f0f3
lea edi, [esi*8]
sub edi, esi
lea edi, [edi + edi + 4]
mov dword [esp + 0x2c], edi
jmp 0x52f2d0
push esi
mov ecx, ebp
call fcn.0052ec00
cmp eax, dword [esp + 0x1c]
jne 0x52f426
lea eax, [esp + 0x38]
push eax
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call fcn.0052edb0
push eax
call fcn.004be730
mov edx, dword [esp + 0x30]
mov byte [esp + 0x1b], al
add esp, 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x52f31b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004bdf50
add esp, 4
cmp byte [esp + 0x13], 0
je 0x52f410
mov edx, dword [ebp + 4]
movzx cx, byte [edi + edx + 1]
lea eax, [edi + edx]
movzx dx, byte [eax]
mov eax, 0x100
imul dx, ax
mov eax, dword [esp + 0x54]
add cx, dx
movzx ecx, cx
mov dword [esp + 0x30], ecx
lea ecx, [edi + 2]
mov edi, dword [esp + 0x50]
cmp eax, edi
mov byte [esp + 0x5c], 1
jge 0x52f37f
mov dx, word [esp + 0x4c]
mov ebx, dword [esp + 0x48]
cmp word [ebx + eax*2], dx
jne 0x52f377
inc eax
cmp eax, edi
mov dword [esp + 0x54], eax
jl 0x52f366
jmp 0x52f37f
cmp eax, edi
jl 0x52f452
test byte [esp + 0x30], 2
jne 0x52f4b1
mov eax, dword [ebp + 4]
movzx edx, byte [eax + ecx]
mov edi, 0x100
imul dx, di
movzx di, byte [eax + ecx + 1]
add dx, di
add ecx, 2
movzx edi, dx
movzx edx, byte [eax + ecx]
movzx ax, byte [eax + ecx + 1]
mov ecx, dword [esp + 0x60]
mov ebx, 0x100
imul dx, bx
add dx, ax
movzx ebx, dx
call fcn.004f3960
movsx ecx, di
cmp ecx, eax
jne 0x52f3e6
mov ecx, dword [esp + 0x60]
call fcn.004f3930
movsx edx, bx
cmp edx, eax
je 0x52f4b1
test di, di
jne 0x52f40c
mov ecx, dword [esp + 0x60]
call fcn.004f3930
movsx ecx, bx
cmp ecx, eax
je 0x52f408
cmp bx, 1
jne 0x52f40c
cmp dword [esp + 0x24], 0xffffffff
jne 0x52f40c
mov dword [esp + 0x24], esi
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
inc esi
add edi, 0xe
cmp esi, dword [esp + 0x34]
mov dword [esp + 0x2c], edi
jl 0x52f2d0
cmp byte [esp + 0x5c], 0
je 0x52f0f3
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x20], 0
mov esi, dword [esp + 0x48]
mov dx, word [esp + 0x4c]
jne 0x52f0e0
jmp 0x52f0f3
test byte [esp + 0x30], 2
je 0x52f4f1
mov edx, dword [ebp + 4]
movzx ebx, byte [edx + ecx]
movzx esi, byte [edx + ecx + 1]
shl ebx, 8
add esi, ebx
movzx ebx, byte [edx + ecx + 2]
shl esi, 8
add esi, ebx
movzx ebx, byte [edx + ecx + 3]
shl esi, 8
add esi, ebx
movzx ebx, byte [edx + ecx + 5]
add ecx, 4
mov dword [esp + 0x20], esi
movzx esi, byte [edx + ecx]
shl esi, 8
add ebx, esi
movzx esi, byte [edx + ecx + 2]
movzx edx, byte [edx + ecx + 3]
shl ebx, 8
add ebx, esi
shl ebx, 8
add ebx, edx
mov dword [esp + 0x18], ebx
jmp 0x52f439
mov eax, dword [esp + 0x44]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52f4cb
mov edx, dword [esp + 0x44]
push edx
call fcn.004bdf50
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52f4e5
mov edx, dword [esp + 0x14]
push edx
call fcn.004bdf50
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
mov eax, dword [esp + 0x44]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52f50b
mov edx, dword [esp + 0x44]
push edx
call fcn.004bdf50
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x52f525
mov edx, dword [esp + 0x14]
push edx
call fcn.004bdf50
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x48
ret 8