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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
movdqa xmm0, xmmword [0xa8f860]
xor eax, eax
push ebx
push esi
push edi
push dword [esp + 0x68]
mov ebx, ecx
mov dword [esp + 0x70], eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0x4c], ebx
push ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x78], eax
push ecx
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x84], eax
movdqu xmmword [esp + 0xbc], xmm0
call fcn.0040ebbd
mov dword [esp + 0x14], 0x2bd7b1c2
xor eax, eax
mov dword [esp + 0x3c], 0xc1b16eb2
push 3
mov dword [esp + 0x1c], 0x251f
mov dword [esp + 0x14], eax
pop edi
jmp 0x41a1be
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0xbc], 0xccb4f7bc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x41a1ab
mov dword [esp + 0x14], edi
cmp dword [esp + 0x14], eax
jl 0x41a2b6
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
imul ecx, dword [esp + 0x14]
push 3
cmp ecx, 0x55ee
mov ecx, dword [esp + 0x70]
setg bl
imul ebx, dword [ecx + edx*4]
xor edx, edx
cmp ebx, dword [ecx + esi*4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x70]
setge dl
inc ecx
add ecx, edx
xor edx, edx
imul ecx, dword [esi + edi*4]
mov edi, dword [esp + 0x34]
cmp ecx, dword [esi + edi*4]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
setl dl
sub edx, dword [esi + ecx*4]
xor ecx, ecx
cmp dword [esi + edi*4], edx
mov edi, dword [esp + 0x48]
setle cl
xor edx, edx
cmp ecx, dword [esi + edi*4]
mov edi, dword [esp + 0x10]
setne dl
xor ecx, ecx
cmp dword [esi + edi*4], edx
pop edi
setl cl
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x3c], eax
jmp 0x41a2a2
mov dword [esp + 0x30], 0x40774242
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
cmp dword [ecx + edx*4], eax
jne 0x41a2a8
mov dword [esp + 0x30], 1
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], edi
jle 0x41a281
dec dword [esp + 0x14]
jns 0x41a1d2
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x6c]
call fcn.0040bd00
cmp dword [ebx], 0
je 0x41a7ee
push dword [ebx]
push 0
push dword [ebx + 4]
call fcn.00424f20
mov eax, 0x799a
add esp, 0xc
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, 0xa12b57e8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0xc], 0xfffffff9
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x4c], edi
jg 0x41a423
mov ecx, dword [esp + 0x4c]
cmp dword [esp + ecx*4 + 0x78], eax
je 0x41a348
mov byte [esp + 0x3b], al
cmp byte [esp + 0x3b], 0
je 0x41a3c8
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor eax, eax
jmp 0x41a3c8
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 1
mov byte [esp + 0x1f], al
cmp byte [esp + 0x1f], 0
je 0x41a384
push 0x20b
push 0x118f
push 0x1009
push 0x1744
push 0xa45
call dword [sym.imp.GDI32.dll_Ellipse]
xor eax, eax
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + ecx*4 + 0x78]
mov ecx, dword [esp + 0x4c]
mov dword [esp + ecx*4 + 0x78], esi
mov edx, dword [esp + 0x30]
add edx, 0xffffbcf3
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, edi
setl cl
xor ebx, ebx
cmp ecx, esi
mov ecx, dword [esp + 0x4c]
setge bl
xor edx, edx
cmp ebx, ecx
setl dl
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], edi
cmp dword [esp + 0xc], eax
jl 0x41a411
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x41a405
mov dword [esp + 0x10], 0x2c5b641b
mov dword [esp + 0x10], eax
jmp 0x41a3fa
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x78], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x41a3ee
inc dword [esp + 0x28]
cmp dword [esp + 0x28], edi
jle 0x41a3e0
dec dword [esp + 0xc]
jns 0x41a3d2
inc dword [esp + 0x4c]
cmp dword [esp + 0x4c], edi
jle 0x41a31f
mov ebx, dword [esp + 0x48]
mov byte [esp + 0x3a], al
cmp byte [esp + 0x3a], 0
je 0x41a439
push 0x683
call dword [sym.imp.GDI32.dll_GetStockObject]
push dword [ebx + 4]
call fcn.004b4e1d
pop ecx
xor esi, esi
mov dword [esp + 0x2c], 0xbcd8c45c
inc esi
mov dword [esp + 0x20], 0
push esi
lea ecx, [esp + 0x60]
call fcn.0040bc2e
mov dword [esp + 0x18], 0xa2324015
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], 0xfffffffc
mov dword [esp + 0xc], eax
jmp 0x41a492
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov dword [ecx + edx*4], 5
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x41a47f
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], eax
jg 0x41a73c
push 6
pop ebx
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x94]
mov dword [esp + 0x40], eax
push edi
call fcn.0040bc2e
push 2
lea ecx, [esp + 0x8c]
call fcn.0040bc2e
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x41a4f2
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
mov dword [ecx + edx*4], ebx
inc dword [esp + 0x24]
cmp dword [esp + 0x24], edi
jl 0x41a4e0
mov dword [esp + 0x24], eax
jmp 0x41a514
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
mov dword [ecx + edx*4], 0xfffffff9
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 2
jl 0x41a4fe
mov dword [esp + 0x20], 0x5dae5a6
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], eax
jl 0x41a710
mov dword [esp + 0x34], 0x2ade89b9
mov dword [esp + 0xc], eax
jmp 0x41a552
mov ecx, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0xa0], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x41a53f
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [ecx + edx*4]
mov dword [esi + edi*4], ecx
test ecx, ecx
jne 0x41a644
mov ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
dec dword [esp + 0x44]
test ecx, ecx
jne 0x41a611
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x20]
mov ecx, dword [ecx + edx*4]
xor edx, edx
neg ecx
cmp ecx, 0x70e7
mov ecx, dword [esp + 0x94]
setle dl
xor ebx, ebx
test edx, edx
mov dword [ecx + 8], edx
setne bl
xor edx, edx
sub ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
setle dl
xor ecx, ecx
cmp edx, 1
mov edx, 0xcda6a44f
setg cl
cmp edx, ecx
mov ecx, dword [esp + 0x5c]
sbb edx, edx
dec edx
sub edx, dword [ecx + esi*4]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, 0xdef0
setg cl
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
neg ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add ecx, 0xffffce97
add edx, ecx
mov ecx, dword [esp + 0x30]
cmp edx, ecx
mov ecx, dword [esp + 0x88]
setg bl
mov dword [ecx], ebx
test ebx, ebx
jne 0x41a644
xor esi, esi
mov edx, eax
inc esi
jmp 0x41a649
xor esi, esi
inc esi
mov edx, esi
mov ecx, dword [esp + 0x28]
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [esp + 0x28]
push 6
setle bl
xor edx, edx
cmp ebx, ecx
pop ecx
setle dl
cmp ecx, edx
mov ecx, dword [esp + 0x28]
push 3
sbb edx, edx
xor ebx, ebx
neg edx
cmp edx, ecx
mov ecx, dword [esp + 0xac]
pop edi
setne bl
xor edx, edx
cmp ebx, ecx
mov ecx, dword [esp + 0x2c]
setne dl
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [esp + 0x18]
setne bl
xor edx, edx
cmp ebx, ecx
setg dl
mov dword [esp + 0x10], edx
mov dword [esp + 0x10], 5
cmp dword [esp + 0x10], 0x1d
je 0x41a703
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
cmp dword [ecx + edx*4], eax
jne 0x41a6f4
mov ecx, dword [esp + 0xc]
xor edx, edx
mov ecx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
cmp dword [ecx], eax
setg dl
mov dword [esp + 0xa4], edx
mov ecx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [ecx], esi
inc dword [esp + 0x10]
jmp 0x41a6a6
dec dword [esp + 0x20]
jns 0x41a531
push 6
pop ebx
lea ecx, [esp + 0x88]
call fcn.0040bd00
lea ecx, [esp + 0x94]
call fcn.0040bd00
inc dword [esp + 0x2c]
xor eax, eax
cmp dword [esp + 0x2c], eax
jle 0x41a4b1
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x5c]
call fcn.0040bd00
xor eax, eax
mov dword [ebx + 4], eax
mov dword [esp + 0x18], 0xfd41
mov dword [esp + 0x18], 0xfffffff6
mov dword [esp + 0x18], 0x98070ade
mov dword [esp + 0x18], esi
mov dword [esp + 0x18], 0x4b666a75
mov dword [esp + 0x18], 0xf5ed9a92
mov dword [esp + 0x18], 0x1151c3c3
mov dword [esp + 0x18], 0xa97963ba
mov dword [esp + 0x18], 0xe649f6d4
mov dword [esp + 0x18], 5
mov dword [esp + 0x18], 0xc8f0d071
mov dword [esp + 0x18], esi
mov dword [esp + 0x18], 0xfffffff7
mov dword [esp + 0x18], 0xa065c2dd
mov dword [esp + 0x18], 0x3aaf5bfb
mov dword [esp + 0x68], 0xc41ac3dc
mov byte [esp + 0x1f], al
cmp byte [esp + 0x1f], al
je 0x41a7e2
push eax
push 0x1d4a
push 0x23a
push 0x2253
call dword [sym.imp.USER32.dll_SetDlgItemInt]
lea ecx, [esp + 0x68]
call fcn.0041a05f
and dword [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret