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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x80], 0x1b7a
mov dword [ebp - 0x10], 0x15a29
mov dword [ebp - 0x14], 0xbe3a
mov dword [ebp - 0xc], 0x7422
mov dword [ebp - 8], 0xcf38
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x5c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x20], 0
jmp 0x40bf5a
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x18]
jae 0x40c9a9
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0x1c], 1
cmp byte [ebp - 1], 0
jne 0x40bf87
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov eax, dword [ebp - 0x48]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d22
add esp, 4
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004191a0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040ae40
add esp, 4
cmp dword [ebp + 0xc], eax
jne 0x40c976
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
jmp 0x40c00a
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [0x42fa60]
jb 0x40c922
mov eax, dword [ebp - 0x14]
cdq
mov ecx, 0x2833
idiv ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x10]
shl eax, cl
mov dword [ebp - 0xc], eax
mov edx, dword [0x42fa20]
cmp edx, dword [ebp - 0x14]
jae 0x40c449
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00401f80
add esp, 8
mov eax, 0x1574
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
sar eax, cl
or edx, eax
mov dword [ebp - 0x14], edx
mov ecx, dword [0x42fa60]
mov dword [ebp - 0x2c], ecx
jmp 0x40c082
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xc]
jle 0x40c444
mov ecx, dword [0x42fa6c]
cmp ecx, dword [ebp - 0x10]
jne 0x40c0a8
mov edx, dword [0x42fa1c]
cmp edx, dword [ebp - 0x10]
je 0x40c3dd
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
jmp 0x40c0b9
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [0x42f9f0]
ja 0x40c3db
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov eax, 0x16e75
cdq
idiv dword [ebp - 0xc]
add eax, 0x12992
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 8]
mov eax, edx
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov edx, dword [0x42f924]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x102d1
je 0x40c24c
cmp dword [ebp - 0x34], 0x174c9
je 0x40c122
cmp dword [ebp - 0x34], 0x18031
je 0x40c16c
jmp 0x40c30d
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 8]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cdq
mov esi, 0xd846
idiv esi
cdq
idiv dword [ebp - 0xc]
or ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sar eax, cl
mov dword [0x42fa20], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x10]
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov eax, 0x12a23
cdq
idiv dword [ebp - 0xc]
imul eax, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ole32.dll_OleDuplicateData]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401240
add esp, 0x10
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0x10]
lea edx, [eax + ecx + 0xb0c4]
mov dword [ebp - 0xc], edx
push str.lists_esthetic_IXE_tithe_ZAo
call fcn.004010e0
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
or eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 8]
cdq
idiv dword [ebp - 0xc]
mov dword [0x42f924], edx
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub ecx, eax
add ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0x85c6
mov edx, dword [ebp - 0x10]
and edx, 0x2461
mov dword [ebp - 8], edx
jmp 0x40c38d
push str.interdenominational_ocular_fw4_misalignment_tragical_irked_bigot
call fcn.004010e0
add esp, 4
mov eax, 0xd2e7
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401120
add esp, 0xc
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00401bc0
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0xc]
cdq
mov ecx, 0x11aaf
idiv ecx
mov ecx, dword [ebp - 8]
shl edx, cl
or edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
push 0x28519
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
imul edx, dword [ebp - 0x14]
or edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
sar eax, cl
or edx, eax
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x14]
add edx, dword [ebp - 8]
or ecx, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x14]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x40c38d
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x14]
mov edx, dword [ebp - 8]
sub edx, eax
add edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
push 0
push 0xa4325
push 0x8118b
call dword [sym.imp.USER32.dll_SubtractRect]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub ecx, edx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 8]
or ecx, edx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
sub eax, edx
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
push 0xb297d
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov ecx, dword [0x42f9f0]
cmp ecx, dword [ebp - 0x10]
je 0x40c30d
mov edx, dword [ebp - 0x10]
cmp edx, dword [0x42f924]
jae 0x40c0e5
mov eax, dword [ebp - 0xc]
push eax
push 0x52be4
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [ebp - 0x10], eax
imul ecx, dword [ebp - 0x14], 0xb5cb
imul ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
sub edx, ecx
add edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x40c0b0
jmp 0x40c43f
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00402a30
add esp, 8
mov eax, dword [ebp - 0xc]
add eax, 0xf7a9
mov dword [0x42fa1c], eax
mov dword [ebp - 0x10], 7
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0xc]
imul eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x10]
add edx, dword [ebp - 8]
add edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00401ec0
add esp, 4
push str.pining_kalif_vertebrae_digressed_fuzzes
call fcn.004010e0
add esp, 4
mov edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0x14]
mov dword [0x42f93c], edx
jmp 0x40c079
jmp 0x40c91d
mov eax, dword [0x42f9f4]
cmp eax, dword [ebp - 8]
jg 0x40c91d
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
shl edx, cl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
or eax, 0x16c10
or eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x42f93c]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0xe46d
je 0x40c786
cmp dword [ebp - 0x38], 0x17da0
je 0x40c4a5
cmp dword [ebp - 0x38], 0xfffff739
je 0x40c8df
jmp 0x40c91d
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x14]
and ecx, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0xcaa1
mov edx, dword [ebp - 0x10]
imul edx, dword [ebp - 0xc]
sub ecx, edx
mov eax, dword [ebp - 0x14]
sar eax, cl
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [0x42fad0]
jne 0x40c55f
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
add edx, eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x14]
sar edx, cl
mov ecx, dword [ebp - 0xc]
shl edx, cl
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 8]
sub ecx, 0xe5f
sub ecx, dword [ebp - 8]
and ecx, 0x17902
mov dword [0x42f924], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
jmp 0x40c736
mov ecx, dword [0x42f9a4]
cmp ecx, dword [ebp - 0x14]
je 0x40c736
mov edx, dword [0x42fa6c]
cmp edx, dword [ebp - 8]
jle 0x40c64c
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x10]
imul eax, eax, 0x10560
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
call fcn.004015a0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0x3085
idiv ecx
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 8]
shl eax, cl
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x42fa64]
je 0x40c638
mov eax, dword [ebp - 8]
push eax
call fcn.004018e0
add esp, 4
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], edx
jmp 0x40c5ee
mov eax, dword [ebp - 0x3c]
sub eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [0x42fa20]
jbe 0x40c638
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
sub edx, eax
or edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
and edx, eax
mov dword [ebp - 8], edx
jmp 0x40c5e5
mov ecx, dword [0x42f9f4]
cmp ecx, dword [ebp - 0xc]
jg 0x40c57d
jmp 0x40c736
imul eax, dword [ebp - 8], 0x694d
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov edx, dword [0x42f9f0]
mov dword [ebp - 0x40], edx
jmp 0x40c66e
mov eax, dword [ebp - 0x40]
sub eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 8]
je 0x40c736
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 8]
mov dword [ebp - 8], edx
call dword [sym.imp.USER32.dll_SoundSentry]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, 0x132ce
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0xc]
add ecx, edx
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
or eax, dword [ebp - 8]
or eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0xc], edx
push str.viceroy
call fcn.004010e0
add esp, 4
mov dword [ebp - 0x14], 0x271
mov eax, dword [ebp - 8]
cdq
mov ecx, 0x5197
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x42f924]
jne 0x40c683
mov eax, 0x4fe3
cdq
idiv dword [ebp - 0x10]
cdq
idiv dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x40c665
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x42fa68]
jbe 0x40c4bc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.UxTheme.dll_GetThemeSysSize]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
sar esi, cl
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, edx
sar eax, cl
and esi, eax
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x10]
add edx, dword [ebp - 8]
mov dword [ebp - 8], edx
jmp 0x40c91d
mov eax, 0x167e
cdq
idiv dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00402690
add esp, 4
mov edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
sub eax, edx
add eax, 0x64fb
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], ecx
jmp 0x40c7c6
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [0x42fa64]
jle 0x40c8b8
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401a30
add esp, 8
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 8]
or ecx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
or eax, ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 8]
or eax, edx
mov dword [ebp - 0x14], eax
mov eax, 0x106a3
mov ecx, dword [ebp - 0xc]
sar eax, cl
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
push 0xa8041
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_SetSystemCursor]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0xc]
cdq
idiv dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, eax
shl edx, cl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x42f9a4]
jb 0x40c7d5
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
shl edx, 0xf6
mov dword [ebp - 0x14], edx
jmp 0x40c7bd
mov edx, dword [0x42f9f0]
cmp edx, dword [ebp - 8]
jae 0x40c795
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 8]
add ecx, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
or eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
imul edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
sar edx, cl
mov dword [ebp - 0x14], edx
jmp 0x40c001
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x42fa1c]
jae 0x40bff9
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.00411d1d
add esp, 4
cmp dword [ebp - 0x50], 0
jne 0x40c952
mov dword [ebp - 0x70], 0
jmp 0x40c95f
mov dword [ebp - 0x18], 0x8123
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x74]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x40c9ab
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00411d1d
add esp, 4
cmp dword [ebp - 0x54], 0
jne 0x40c997
mov dword [ebp - 0x7c], 0
jmp 0x40c9a4
mov dword [ebp - 0x18], 0x8123
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], edx
jmp 0x40bf51
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret