Function at 0x185f4925
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x1c
mov eax, 0x186bc0fa
call fcn.18615c81
mov esi, ecx
mov edx, dword [ebp + 0x10]
push dword [esi + 4]
movsx eax, dx
shr edx, 0x10
mov dword [esi + 0x3c], eax
movsx eax, dx
mov dword [esi + 0x40], eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp + 0x10]
xor ebx, ebx
push ecx
push eax
mov dword [ebp + 0x10], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [0x1886cd98]
mov edi, dword [esi + 0x3c]
add ecx, 0x102c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
call fcn.185cab50
test eax, eax
je 0x185f499e
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x185f4d56
movss xmm3, dword [esi + 0x14c]
movd xmm1, dword [esi + 0x40]
movd xmm2, edi
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
comiss xmm2, xmm3
jb 0x185f4a12
movss xmm0, dword [esi + 0x154]
addss xmm0, xmm3
comiss xmm0, xmm2
jbe 0x185f4a12
movss xmm3, dword [esi + 0x150]
comiss xmm1, xmm3
jb 0x185f4a12
movss xmm0, dword [esi + 0x158]
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x185f4a12
lea eax, [esi + 0x134]
lea ecx, [esi + 0x128]
cmp ecx, eax
je 0x185f4a06
push dword [ebp + 0x10]
push dword [eax + 4]
push dword [eax]
call fcn.185f3106
mov ecx, esi
call fcn.185f5029
jmp 0x185f4d56
mov eax, dword [esi + 0x140]
comiss xmm2, dword [eax]
jb 0x185f4aad
movss xmm0, dword [eax + 8]
addss xmm0, dword [eax]
comiss xmm0, xmm2
jbe 0x185f4aad
comiss xmm1, dword [eax + 4]
jb 0x185f4aad
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jbe 0x185f4aad
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
push 0x14
cdq
pop edi
idiv edi
test eax, eax
je 0x185f4d56
mov ecx, ebx
mov dword [ebp + 0x10], ebx
mov eax, dword [esi + 0x134]
add eax, 4
add eax, ecx
lea ecx, [ebp - 0x20]
push eax
mov eax, dword [0x1886cd98]
push dword [eax + 0xb0]
call fcn.185cbd50
mov ecx, dword [ebp + 0x10]
inc ebx
mov eax, dword [esi + 0x134]
mov byte [ecx + eax], 1
add ecx, edi
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
cdq
idiv edi
mov dword [ebp + 0x10], ecx
cmp ebx, eax
jb 0x185f4a63
jmp 0x185f4d56
comiss xmm2, dword [eax + 0x10]
jb 0x185f4b4d
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x10]
comiss xmm0, xmm2
jbe 0x185f4b4d
comiss xmm1, dword [eax + 0x14]
jb 0x185f4b4d
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [eax + 0x14]
comiss xmm0, xmm1
jbe 0x185f4b4d
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
push 0x14
cdq
pop edi
idiv edi
mov dword [ebp + 0x10], ebx
test eax, eax
je 0x185f4d56
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x134]
add eax, 4
add eax, ecx
lea ecx, [ebp - 0x20]
push eax
mov eax, dword [0x1886cd98]
push dword [eax + 0xd4]
call fcn.185cbd50
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x134]
inc dword [ebp + 0x10]
mov byte [ecx + eax], bl
add ecx, edi
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
cdq
idiv edi
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], eax
jb 0x185f4b01
jmp 0x185f4d56
comiss xmm2, dword [eax + 0x20]
jb 0x185f4c9b
movss xmm0, dword [eax + 0x28]
addss xmm0, dword [eax + 0x20]
comiss xmm0, xmm2
jbe 0x185f4c9b
comiss xmm1, dword [eax + 0x24]
jb 0x185f4c9b
movss xmm0, dword [eax + 0x2c]
addss xmm0, dword [eax + 0x24]
comiss xmm0, xmm1
jbe 0x185f4c9b
mov eax, dword [esi + 0x134]
push 0x14
pop edi
mov byte [eax], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0x14], bl
mov eax, dword [esi + 0x134]
mov byte [eax + 0x28], bl
mov eax, dword [esi + 0x134]
mov byte [eax + 0x3c], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0x50], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0x64], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0x78], bl
mov eax, dword [esi + 0x134]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0xa0], bl
mov eax, dword [esi + 0x134]
mov byte [eax + 0xb4], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0xc8], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0xdc], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0xf0], 1
mov eax, dword [esi + 0x134]
mov byte [eax + 0x104], 1
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
cdq
idiv edi
test eax, eax
je 0x185f4d56
mov ecx, ebx
mov dword [ebp + 0x10], ebx
mov eax, dword [esi + 0x134]
cmp byte [ecx + eax], 0
je 0x185f4c61
add eax, 4
add eax, ecx
push eax
mov eax, dword [0x1886cd98]
push dword [eax + 0xb0]
jmp 0x185f4c72
add eax, 4
add eax, ecx
push eax
mov eax, dword [0x1886cd98]
push dword [eax + 0xd4]
lea ecx, [ebp - 0x20]
call fcn.185cbd50
mov eax, dword [esi + 0x138]
inc ebx
sub eax, dword [esi + 0x134]
cdq
idiv edi
mov ecx, dword [ebp + 0x10]
add ecx, edi
mov dword [ebp + 0x10], ecx
cmp ebx, eax
jb 0x185f4c42
jmp 0x185f4d56
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x134]
push 0x14
cdq
pop edi
idiv edi
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x185f4d56
mov ecx, ebx
mov dword [ebp + 0x10], ebx
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x134]
add eax, 4
add eax, ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.185cab50
test eax, eax
je 0x185f4d33
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x134]
push dword [ebp - 0x14]
cmp byte [eax + ecx], 0
lea ecx, [ebp - 0x20]
mov eax, dword [0x1886cd98]
je 0x185f4d19
push dword [eax + 0xd4]
call fcn.185cbd50
mov eax, dword [esi + 0x134]
mov ecx, dword [ebp + 0x10]
mov byte [ecx + eax], bl
jmp 0x185f4d36
push dword [eax + 0xb0]
call fcn.185cbd50
mov eax, dword [esi + 0x134]
mov ecx, dword [ebp + 0x10]
mov byte [ecx + eax], 1
jmp 0x185f4d36
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 0x138]
add ecx, edi
sub eax, dword [esi + 0x134]
cdq
idiv edi
inc dword [ebp - 0x10]
mov dword [ebp + 0x10], ecx
cmp dword [ebp - 0x10], eax
jb 0x185f4cbd
push dword [ebp - 0x20]
call sub.gdiplus.dll_GdipDeleteGraphics
xor eax, eax
call fcn.18615c4a
ret 0x10