Function at 0x49552c
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffb10
mov esi, eax
mov dl, 1
mov eax, dword [0x4925a8]
call fcn.00493928
mov dword [esp + 0x18], eax
mov eax, dword [0x4e7644]
push eax
mov eax, dword [0x4e7640]
push eax
mov eax, dword [0x4e763c]
push eax
mov eax, dword [0x4e7638]
push eax
call sub.gdi32.dll_CreateEllipticRgn
mov dword [esp], eax
mov eax, dword [0x4e7644]
sub eax, 0x14
push eax
mov eax, dword [0x4e7640]
sub eax, 0x14
push eax
mov eax, dword [0x4e763c]
add eax, 0x14
push eax
mov eax, dword [0x4e7638]
add eax, 0x14
push eax
call sub.gdi32.dll_CreateEllipticRgn
mov dword [esp + 4], eax
push 2
push 2
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov dword [esp + 8], eax
push 4
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.gdi32.dll_CombineRgn
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x3ff00000
mov dword [esp + 0x78], 0xe147ae14
mov dword [esp + 0x7c], 0x3fde147a
xor ebx, ebx
lea edi, [esp + 0x80]
mov dword [esp + 0x4c8], ebx
fild dword [esp + 0x4c8]
fdiv dword [0x495be4]
fstp qword [esp + 0x68]
wait
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x18]
call fcn.004939e4
mov eax, dword [esp + 0x18]
mov dx, word [eax + 4]
mov word [edi], dx
mov dl, byte [eax + 6]
mov byte [edi + 2], dl
inc ebx
add edi, 3
cmp ebx, 0x168
jne 0x4955e3
mov eax, dword [0x4e7638]
add eax, 0x62
mov dword [esp + 0x10], eax
mov eax, dword [0x4e7638]
add eax, 0x62
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], 0x5c28f5c3
mov dword [esp + 0x74], 0x3fedc28f
mov dword [esp + 0x78], 0xe147ae14
mov dword [esp + 0x7c], 0x3fde147a
cmp dword [esi + 0x40], 0
je 0x495889
mov eax, dword [esi + 0x40]
cmp byte [eax + 0x74], 0
jne 0x495889
mov edx, 0x495bf0
mov eax, dword [esi + 0x40]
call fcn.004872cc
inc eax
je 0x495889
mov edx, 0x495bf0
mov eax, dword [esi + 0x40]
call fcn.004872cc
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0xb4]
mov edx, dword [esp + 0x1c]
call fcn.004141a4
mov ebx, eax
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x8c]
call fcn.004141a4
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [esp + 0x4bc]
push eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x48]
xor edx, edx
xor eax, eax
call fcn.00412d3c
lea eax, [ebx + 0x44]
call fcn.0046ef30
mov dword [esp + 0x20], eax
lea eax, [ebx + 0x44]
call fcn.0046ef4c
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4b8]
call fcn.0046ef30
mov dword [esp + 0x28], eax
lea eax, [esp + 0x4b8]
call fcn.0046ef4c
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
cdq
idiv dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
test eax, eax
jl 0x4958f5
inc eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x3c]
test edi, edi
jl 0x495879
inc edi
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x30]
imul dword [esp + 0x20]
add eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x28]
jle 0x495783
sub eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
jmp 0x495789
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x24]
add eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x2c]
jle 0x4957b1
mov eax, dword [esp + 0x34]
imul dword [esp + 0x24]
add eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
jmp 0x4957b7
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x14]
add eax, dword [ebx + 0x50]
sub eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x4d0]
push eax
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0x4c]
sub ecx, dword [esp + 0x48]
mov edx, dword [ebx + 0x14]
add edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x44]
call fcn.00412d3c
lea eax, [esp + 0x4cc]
push eax
mov eax, dword [esp + 0x38]
imul dword [esp + 0x28]
add eax, dword [esp + 0x4c0]
add eax, dword [esp + 0x28]
sub eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0x4e4]
push eax
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x4c4]
add ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
imul edx, dword [esp + 0x30]
add edx, dword [esp + 0x4c8]
mov eax, dword [esp + 0x3c]
imul eax, dword [esp + 0x2c]
add eax, dword [esp + 0x4c4]
call fcn.00412d3c
lea eax, [esp + 0x4e0]
push eax
mov eax, dword [esp + 0x50]
call fcn.004228c0
push eax
mov eax, dword [esi + 0xb0]
call fcn.004294ac
pop ecx
pop edx
call fcn.0041dc50
inc dword [esp + 0x34]
dec edi
jne 0x495767
inc dword [esp + 0x30]
dec dword [esp + 0x4c]
jne 0x495752
jmp 0x4958f5
mov eax, 0xff00000f
call fcn.0041cd0c
push eax
mov eax, dword [esi + 0xb0]
call fcn.004294ac
mov eax, dword [eax + 0x10]
pop edx
call fcn.0041d700
mov eax, 0xff00000f
call fcn.0041cd0c
push eax
mov eax, dword [esi + 0xb0]
call fcn.004294ac
mov eax, dword [eax + 0x14]
pop edx
call fcn.0041d9e0
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [esi + 0xb0]
call fcn.004294ac
call fcn.0041e2c0
push eax
call sub.gdi32.dll_Rectangle
mov eax, dword [0x4e7644]
dec eax
test eax, eax
jl 0x495a2b
inc eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x168]
call fcn.0042025c
mov edx, dword [0x4e763c]
add edx, dword [esp + 0xc]
call fcn.00422a30
mov ebp, eax
mov edi, dword [0x4e7644]
test edi, edi
jl 0x495a1d
inc edi
xor ebx, ebx
mov eax, dword [0x4e763c]
add eax, dword [esp + 0xc]
push eax
mov eax, dword [0x4e7638]
add eax, ebx
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.gdi32.dll_PtInRegion
test eax, eax
je 0x495a15
fild dword [esp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
fild dword [esp + 0x20]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [esp + 0x2c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov dword [esp + 0x4e8], ebx
fild dword [esp + 0x4e8]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [esp + 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, esi
call fcn.004950a4
call fcn.00402ab0
cmp eax, 0x168
jne 0x4959c1
xor eax, eax
mov edx, 0x167
sub edx, eax
mov eax, edx
mov edx, dword [esi + 0xb4]
add edx, ebx
shl edx, 2
lea ecx, [eax + eax*2]
mov cl, byte [esp + ecx + 0x82]
mov byte [ebp + edx], cl
mov edx, dword [esi + 0xb4]
add edx, ebx
shl edx, 2
lea ecx, [eax + eax*2]
mov cl, byte [esp + ecx + 0x81]
mov byte [ebp + edx + 1], cl
mov edx, dword [esi + 0xb4]
add edx, ebx
shl edx, 2
lea eax, [eax + eax*2]
mov al, byte [esp + eax + 0x80]
mov byte [ebp + edx + 2], al
inc ebx
dec edi
jne 0x495943
inc dword [esp + 0xc]
dec dword [esp + 0x4c]
jne 0x495910
mov edx, dword [esi + 0xc0]
mov eax, dword [esp + 0x18]
call fcn.00493a84
mov eax, dword [esp + 0x18]
push esi
lea esi, [eax + 8]
lea edi, [esp + 0x54]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x4e762c]
mov edx, dword [0x4e7634]
sub edx, eax
jl 0x495b6c
inc edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x168]
call fcn.0042025c
mov edx, dword [esp + 0xc]
call fcn.00422a30
mov ebp, eax
mov eax, dword [esp + 0xc]
sub eax, dword [0x4e762c]
mov dword [esp + 0x4c8], eax
fild dword [esp + 0x4c8]
mov eax, dword [0x4e7634]
sub eax, dword [0x4e762c]
mov dword [esp + 0x4ec], eax
fild dword [esp + 0x4ec]
fdivp st(1)
fstp qword [esp + 0x60]
wait
mov ebx, dword [0x4e7628]
mov edi, dword [0x4e7630]
sub edi, ebx
jl 0x495b5e
inc edi
mov edx, ebx
mov eax, dword [0x4e7628]
sub edx, eax
mov dword [esp + 0x4c8], edx
fild dword [esp + 0x4c8]
mov edx, dword [0x4e7630]
sub edx, eax
mov dword [esp + 0x4ec], edx
fild dword [esp + 0x4ec]
fdivp st(1)
fstp qword [esp + 0x58]
wait
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x18]
call fcn.004939e4
mov eax, dword [esi + 0xb8]
add eax, ebx
shl eax, 2
mov edx, dword [esp + 0x18]
mov dl, byte [edx + 6]
mov byte [ebp + eax], dl
mov eax, dword [esi + 0xb8]
add eax, ebx
shl eax, 2
mov edx, dword [esp + 0x18]
mov dl, byte [edx + 5]
mov byte [ebp + eax + 1], dl
mov eax, dword [esi + 0xb8]
add eax, ebx
shl eax, 2
mov edx, dword [esp + 0x18]
mov dl, byte [edx + 4]
mov byte [ebp + eax + 2], dl
inc ebx
dec edi
jne 0x495ad3
inc dword [esp + 0xc]
dec dword [esp + 0x4c]
jne 0x495a6a
mov eax, dword [esi + 0xb0]
call fcn.004294ac
mov eax, dword [eax + 0x10]
mov edx, 0xffffff
call fcn.0041d700
mov eax, dword [esi + 0xb0]
call fcn.004294ac
mov eax, dword [eax + 0x10]
mov dl, 0xe
call fcn.0041d7c0
mov eax, dword [esi + 0xb0]
call fcn.004294ac
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0041dafc
mov eax, esi
call fcn.00495da8
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x168]
call fcn.0042025c
mov dl, 1
call fcn.0041fb60
mov eax, dword [esp + 0x18]
call fcn.004032f4
add esp, 0x4f0
pop ebp
pop edi
pop esi
pop ebx
ret