Function at 0x59b1e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x59b1e8
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov edi, 0xfd0bb0
xor eax, eax
push ebp
push 0x59b8cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x48], 0x14f
je 0x59b86d
mov eax, dword [0xfd0bac]
call fcn.00486f3c
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [0xfd0ba8]
mov eax, dword [eax + 0x20c]
call fcn.004e0254
test eax, eax
je 0x59b254
mov eax, dword [0xfd0ba8]
mov eax, dword [eax + 0x20c]
call fcn.004e0254
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x80000014
call fcn.00481600
mov ecx, dword [edi + 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004820b8
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00482058
xor ecx, ecx
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
call fcn.00482058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x80000010
call fcn.00481600
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
call fcn.00482058
mov ecx, dword [edi + 0xc]
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00482058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, 0x8000000f
call fcn.00481900
mov eax, dword [edi + 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [edi + 8]
mov edx, 1
mov eax, 1
call fcn.0041f79c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00481fe0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x80000010
call fcn.00481600
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi + 0x28]
shl eax, 5
add ecx, eax
mov edx, dword [edi + 0x1c]
dec edx
dec edx
mov eax, dword [ebp - 4]
call fcn.004820b8
mov ecx, dword [edi + 0x20]
dec ecx
mov edx, dword [edi + 0x1c]
dec edx
dec edx
mov eax, dword [ebp - 4]
call fcn.00482058
mov eax, dword [edi + 0x24]
lea edx, [eax + eax*2]
mov ecx, edx
shl edx, 4
sub edx, ecx
add edx, dword [edi + 0x1c]
add eax, eax
add edx, eax
inc edx
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [ebp - 4]
call fcn.00482058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x80000014
call fcn.00481600
mov ecx, dword [edi + 0x20]
dec ecx
mov edx, dword [edi + 0x28]
shl edx, 5
add ecx, edx
inc ecx
mov eax, dword [edi + 0x24]
lea edx, [eax + eax*2]
mov ebx, edx
shl edx, 4
sub edx, ebx
add edx, dword [edi + 0x1c]
add eax, eax
add edx, eax
inc edx
mov eax, dword [ebp - 4]
call fcn.00482058
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi + 0x28]
shl eax, 5
add ecx, eax
inc ecx
mov edx, dword [edi + 0x1c]
dec edx
sub edx, 2
mov eax, dword [ebp - 4]
call fcn.00482058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x80000010
call fcn.00481600
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi + 0x28]
shl eax, 5
add ecx, eax
mov edx, dword [edi + 0x18]
dec edx
dec edx
mov eax, dword [ebp - 4]
call fcn.004820b8
mov ecx, dword [edi + 0x20]
dec ecx
mov edx, dword [edi + 0x18]
dec edx
dec edx
mov eax, dword [ebp - 4]
call fcn.00482058
mov ecx, dword [edi + 0x20]
dec ecx
mov edx, dword [edi + 0x24]
shl edx, 4
add edx, dword [edi + 0x18]
inc edx
mov eax, dword [ebp - 4]
call fcn.00482058
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x80000014
call fcn.00481600
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi + 0x28]
shl eax, 5
add ecx, eax
inc ecx
mov edx, dword [edi + 0x24]
shl edx, 4
add edx, dword [edi + 0x18]
inc edx
mov eax, dword [ebp - 4]
call fcn.00482058
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi + 0x28]
shl eax, 5
add ecx, eax
inc ecx
mov edx, dword [edi + 0x18]
dec edx
sub edx, 2
mov eax, dword [ebp - 4]
call fcn.00482058
cmp dword [ebp - 0x10], 0
je 0x59b714
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x20], 0
je 0x59b714
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
call fcn.00576424
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [0x5cb240]
call fcn.00481900
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edi + 0x24]
sar eax, 1
jns 0x59b483
adc eax, 0
mov ecx, dword [edi + 0x1c]
sub ecx, eax
mov eax, dword [edi + 0x14]
dec eax
mov edx, dword [edi + 0x20]
call fcn.0041f79c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00481fe0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
add eax, 4
movzx eax, word [eax + 6]
sub eax, 9
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
add eax, 4
movzx eax, word [eax + 6]
sub eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [0x5cb23c]
call fcn.00481114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [0x5cb240]
call fcn.00481900
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x370]
mov eax, dword [eax + 0x20c]
add eax, dword [ebp - 0xc]
shl eax, 4
mov edx, 4
call fcn.0040bf70
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00405278
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [edi + 0x28]
imul ecx, dword [ebp - 0xc]
add ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x14]
mov eax, dword [ebp - 4]
call fcn.0056a7ec
xor esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x370]
mov eax, dword [eax + 0x20c]
add eax, dword [ebp - 0xc]
mov ebx, eax
shl ebx, 4
add ebx, esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
shl eax, 2
cmp ebx, eax
jge 0x59b635
cmp byte [ebp - 0x21], 0
je 0x59b578
mov eax, dword [0x5cb24c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5cb250]
mov dword [ebp - 0x1c], eax
jmp 0x59b58a
mov eax, dword [0x5cb264]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5cb268]
mov dword [ebp - 0x1c], eax
cmp ebx, 0xf
jg 0x59b5dd
push ebp
push 0x5cb244
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
movzx eax, byte [eax + ebx]
mov edx, 2
call fcn.0040bf70
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00405278
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
mov edx, 0x59b8e4
movzx edx, byte [edx + esi]
call fcn.004051e0
mov ecx, dword [ebp - 0x48]
mov eax, ebx
pop edx
call fcn.0059aff8
pop ecx
jmp 0x59b6fd
push ebp
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
movzx eax, byte [eax + ebx]
mov edx, 2
call fcn.0040bf70
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
call fcn.00405278
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x20]
movzx edx, byte [edx + ebx]
mov ecx, dword [0x5cc470]
mov dx, word [ecx + edx*2]
call fcn.004051e0
mov ecx, dword [ebp - 0x54]
mov eax, ebx
pop edx
call fcn.0059aff8
pop ecx
jmp 0x59b6fd
cmp byte [ebp - 0x21], 0
je 0x59b64f
mov eax, dword [0x5cb25c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5cb260]
mov dword [ebp - 0x1c], eax
jmp 0x59b661
mov eax, dword [0x5cb26c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5cb270]
mov dword [ebp - 0x1c], eax
cmp ebx, dword [ebp - 0x18]
jg 0x59b678
mov eax, dword [0x5cb254]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5cb258]
mov dword [ebp - 0x1c], eax
cmp ebx, dword [ebp - 0x14]
jl 0x59b6e6
mov eax, dword [ebp - 0x14]
add eax, 7
cmp ebx, eax
jg 0x59b6e6
push ebp
lea eax, [ebp - 0x20]
push eax
mov eax, ebx
sub eax, dword [ebp - 0x14]
mov edx, dword [0x5cc000]
movzx eax, byte [edx + eax]
lea ecx, [ebp - 0x5c]
mov edx, 2
call fcn.0040bf70
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.00405278
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
mov edx, ebx
sub edx, dword [ebp - 0x14]
mov ecx, dword [0x5cc000]
movzx edx, byte [ecx + edx]
mov ecx, dword [0x5cc470]
mov dx, word [ecx + edx*2]
call fcn.004051e0
mov ecx, dword [ebp - 0x60]
mov eax, ebx
pop edx
call fcn.0059aff8
pop ecx
jmp 0x59b6fd
push ebp
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x59b8fc
mov edx, 0x59b904
mov eax, ebx
call fcn.0059aff8
pop ecx
inc esi
cmp esi, 0x10
jne 0x59b534
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x20
jne 0x59b4b7
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x370]
push 0xcc0020
push 0
push 0
mov eax, dword [0xfd0bac]
call fcn.00486f3c
call fcn.004825a4
push eax
mov eax, dword [0xfd0bac]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x40]
mov esi, dword [edi]
sub eax, esi
dec eax
push eax
mov eax, dword [edi + 4]
push eax
push esi
mov eax, dword [0xfd0ba4]
call fcn.004c65d4
call fcn.004825a4
push eax
call sub.gdi32.dll_BitBlt
push 0xcc0020
push 0
mov eax, dword [ebx + 0x40]
sub eax, dword [edi]
push eax
mov eax, dword [0xfd0bac]
call fcn.00486f3c
call fcn.004825a4
push eax
mov eax, dword [ebx + 0x44]
mov esi, dword [edi + 4]
sub eax, esi
dec eax
push eax
mov eax, dword [ebx + 0x48]
add eax, 2
push eax
push esi
mov eax, dword [ebx + 0x40]
dec eax
push eax
mov eax, dword [0xfd0ba4]
call fcn.004c65d4
call fcn.004825a4
push eax
call sub.gdi32.dll_BitBlt
push 0xcc0020
mov eax, dword [0xfd0bac]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [edi + 4]
add edx, dword [edi + 0xc]
sub edx, dword [ebx + 0x44]
sub edx, dword [ebx + 0x4c]
dec edx
sub eax, edx
push eax
mov eax, dword [ebx + 0x40]
sub eax, dword [edi]
dec eax
push eax
mov eax, dword [0xfd0bac]
call fcn.00486f3c
call fcn.004825a4
push eax
mov eax, dword [edi + 4]
add eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x44]
sub eax, esi
sub eax, dword [ebx + 0x4c]
dec eax
push eax
mov eax, dword [ebx + 0x48]
add eax, 2
push eax
add esi, dword [ebx + 0x4c]
add esi, 2
push esi
mov eax, dword [ebx + 0x40]
dec eax
push eax
mov eax, dword [0xfd0ba4]
call fcn.004c65d4
call fcn.004825a4
push eax
call sub.gdi32.dll_BitBlt
push 0xcc0020
push 0
mov eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x48]
inc eax
sub eax, dword [edi]
push eax
mov eax, dword [0xfd0bac]
call fcn.00486f3c
call fcn.004825a4
push eax
mov eax, dword [0xfd0bac]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov esi, dword [ebx + 0x40]
add esi, dword [ebx + 0x48]
inc esi
mov eax, esi
sub eax, dword [edi]
push eax
mov eax, dword [edi + 4]
push eax
push esi
mov eax, dword [0xfd0ba4]
call fcn.004c65d4
call fcn.004825a4
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b8d4
lea eax, [ebp - 0x60]
call fcn.004050b8
lea eax, [ebp - 0x5c]
call fcn.00404968
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004050d0
lea eax, [ebp - 0x50]
call fcn.00404968
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004050d0
lea eax, [ebp - 0x44]
call fcn.00404968
lea eax, [ebp - 0x40]
call fcn.004050b8
lea eax, [ebp - 0x3c]
call fcn.00404968
lea eax, [ebp - 0x38]
call fcn.004050b8
ret