Function at 0x52a220
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ecx
push edx
push esi
push edi
mov edi, eax
mov ecx, 0
mov edx, 0
mov eax, 1
movzx esi, word [ebx + 4]
cmp esi, 0x81a
je 0x52a255
cmp esi, 0x830
je 0x52a255
cmp esi, 0x817
jne 0x52a25c
mov edx, 2
jmp 0x52a27c
cmp esi, 0x415
je 0x52a27c
cmp esi, 0x416
je 0x52a27c
cmp esi, 0x41b
je 0x52a27c
cmp esi, 0x418
jne 0x52a27f
inc edx
jmp 0x52a29f
cmp esi, 0x220
je 0x52a29f
cmp esi, 0x213
je 0x52a29f
cmp esi, 0x214
je 0x52a29f
cmp esi, 0x41f
jne 0x52a2af
inc edx
push eax
mov eax, edi
call fcn.0052a50c
mov ecx, eax
jmp 0x52a4ff
cmp esi, 0x419
jne 0x52a2be
mov ecx, 2
jmp 0x52a29f
cmp esi, 0x324
je 0x52a2ce
cmp esi, 0x325
jne 0x52a2de
mov ecx, 1
movzx edx, word [ebx + 6]
mov eax, 0
jmp 0x52a2a0
cmp esi, 0x538
jne 0x52a2fb
movzx ecx, word [ebx + 6]
inc ecx
mov edx, dword [ebx]
sub edx, ecx
sub edx, 3
shr edx, 1
mov eax, 0
jmp 0x52a2a0
cmp esi, 0x521
jne 0x52a30d
movzx ecx, word [ebx + 6]
inc ecx
sar ecx, 1
inc ecx
jmp 0x52a29f
cmp esi, 0xa32
jne 0x52a3d3
push 1
mov eax, edi
mov ecx, 0
mov edx, 1
call fcn.0052a50c
mov ecx, eax
mov dword [esp + 0x14], ecx
movzx esi, word [ecx + 0xa]
inc esi
sar esi, 1
add esi, 4
cmp word [ecx + 0xc], 0
je 0x52a3b4
mov ax, word [ecx + 0xe]
movsx eax, ax
mov dword [esp + 0x18], eax
mov ax, word [ecx + 0x10]
movsx eax, ax
mov dword [esp + 0x1c], eax
push 1
lea ebx, [esp + 0x1c]
push ebx
push edi
call sub.GDI32.dll_LPtoDP
mov cx, word [esp + 0x18]
mov eax, dword [esp + 0x14]
mov word [eax + 0xe], cx
mov cx, word [esp + 0x1c]
mov word [eax + 0x10], cx
mov cx, word [eax + 0x12]
movsx ecx, cx
mov dword [esp + 0x18], ecx
mov ax, word [eax + 0x14]
movsx eax, ax
mov dword [esp + 0x1c], eax
push 1
push ebx
push edi
call sub.GDI32.dll_LPtoDP
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x12], ax
mov ax, word [esp + 0x1c]
mov word [ecx + 0x14], ax
add esi, 4
mov edx, dword [ecx]
sub edx, 3
sub edx, esi
cmp edx, 0
jle 0x52a4ff
mov eax, edi
lea ebx, [ecx + esi*2 + 6]
call fcn.0052a690
inc esi
dec edx
jmp 0x52a3bb
cmp esi, 0x2fb
jne 0x52a409
push 0
mov eax, edi
mov ecx, 0
mov edx, 0
call fcn.0052a50c
mov ecx, eax
mov eax, edi
lea ebx, [ecx + 6]
call fcn.0052a6e0
mov eax, edi
lea ebx, [ecx + 8]
call fcn.0052a690
jmp 0x52a4ff
cmp esi, 0x2fa
jne 0x52a43f
push 0
mov eax, edi
mov ecx, 0
mov edx, 0
call fcn.0052a50c
mov ecx, eax
mov eax, edi
lea ebx, [ecx + 8]
call fcn.0052a690
mov eax, edi
lea ebx, [ecx + 0xa]
call fcn.0052a6e0
jmp 0x52a4ff
cmp esi, 0x61c
jne 0x52a475
push 1
mov eax, edi
mov ecx, 2
mov edx, 2
call fcn.0052a50c
mov ecx, eax
mov eax, edi
lea ebx, [ecx + 8]
call fcn.0052a690
mov eax, edi
lea ebx, [ecx + 6]
call fcn.0052a6e0
jmp 0x52a4ff
cmp esi, 0x61d
jne 0x52a4a8
push 1
mov eax, edi
mov ecx, 4
mov edx, 1
call fcn.0052a50c
mov ecx, eax
mov eax, edi
lea ebx, [ecx + 0xc]
call fcn.0052a690
mov eax, edi
lea ebx, [ecx + 0xa]
call fcn.0052a6e0
jmp 0x52a4ff
cmp esi, 0x548
jne 0x52a4bf
mov edx, 1
mov ecx, 3
jmp 0x52a2a0
cmp esi, 0x20a
jne 0x52a4d2
mov esi, 1
jmp 0x52a4df
mov eax, ebx
jmp 0x52a501
cmp esi, 0x108
jne 0x52a4ce
mov esi, 0
push 0
mov eax, edi
mov ecx, 0
mov edx, 0
call fcn.0052a50c
mov ecx, eax
mov eax, edi
lea ebx, [ecx + esi*2 + 6]
call fcn.0052a690
mov eax, ecx
pop edi
pop esi
pop edx
pop ecx
pop ebx
add esp, 0xc
ret