Function at 0x1004954f
Capabilities:
Get graphical window text
Get memory capacity
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006d79f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x50], ecx
mov esi, edx
lea ecx, [esp + 0x10c]
inc edi
mov dword [esp + 0x34], esi
push edi
call fcn.1002cb22
xor ebx, ebx
mov dword [esp + 0x14], 0x2c70bb74
mov dword [esp + 0x14], ebx
jmp 0x100495b3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10c]
mov dword [eax + ecx*4], 0x2062
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1004959d
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x100495ce
push 0x444
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x14], ebx
jmp 0x10049628
mov dword [esp + 0x1c], 9
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
jl 0x10049603
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x100495fd
push ebx
push 0x5a8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
dec dword [esp + 0x1c]
jns 0x100495e6
mov dword [esp + 0x1c], ebx
jmp 0x1004961e
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x1004961a
push ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ebx
jle 0x10049609
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jle 0x100495d4
cmp dword [esp + 0x10c], ebx
je 0x10049659
push dword [esp + 0x10c]
call fcn.10054b67
pop ecx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x10], 0x5c68ec0a
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x28], 6
mov dword [esp + 0x10], 0xffffffef
jmp 0x10049690
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x1004968c
push ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1d
jne 0x1004967b
mov dword [esp + 0x10], 0xffffffe7
jmp 0x100496d5
mov dword [esp + 0x30], 0xb87d0fa5
mov ecx, ebx
cmp dword [esp + 0x30], ebx
je 0x100496b3
mov ecx, edi
mov eax, dword [esp + 0x10]
xor edx, edx
add eax, dword [esp + 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setl dl
xor ecx, ecx
cmp eax, edx
setl cl
mov dword [esp + 0x20], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffff
jne 0x100496a1
mov eax, dword [0x10a22730]
test al, 1
jne 0x1004977e
or eax, edi
mov dword [0x10a22730], eax
push ebx
mov dword [esp + 0x280], ebx
push ebx
mov dword [0x10a226f0], ebx
mov dword [0x10a226f4], ebx
call fcn.10038f75
mov dword [0x10a226f0], eax
mov dword [0x10a226f8], ebx
mov dword [0x10a22700], ebx
mov byte [esp + 0x27c], 2
mov ecx, 0x10a226f8
mov dword [esp + 0x1a8], eax
lea eax, [esp + 0x1a8]
push eax
push 0x10
push ebx
lea eax, [esp + 0x210]
mov dword [0x10a2270c], 0x3f800000
push eax
mov dword [0x10a226fc], ebx
call fcn.10038d19
push 0x1006da0a
mov dword [0x10a22704], 7
mov dword [0x10a22708], 8
call fcn.100549cf
or dword [esp + 0x280], 0xffffffff
pop ecx
mov dword [esp + 0x28], 0xfffffffc
lea ecx, [esp + 0x148]
mov dword [esp + 0x28], 0xa76aabec
mov dword [esp + 0x28], 0x1bd97a88
mov dword [esp + 0x28], 0xc9f3690f
mov dword [esp + 0x28], 0xf2fb5a5e
mov dword [esp + 0x28], 0xfffffffd
push 3
call fcn.1002cb22
push 2
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x280], 3
call fcn.1002cb22
mov dword [esp + 0x10], ebx
jmp 0x100497f1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x148]
mov dword [eax + ecx*4], 0xe4b7834d
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x100497db
mov dword [esp + 0x10], ebx
jmp 0x10049814
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c0]
mov dword [eax + ecx*4], 0x2e65
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100497fe
mov eax, dword [esp + 0x1c0]
push eax
inc dword [eax]
call fcn.10054b67
or dword [esp + 0x280], 0xffffffff
cmp dword [esp + 0x14c], 0
pop ecx
mov dword [esp + 0x1c0], ebx
mov dword [esp + 0x1c4], ebx
mov dword [esp + 0x1c8], ebx
je 0x10049874
push dword [esp + 0x148]
call fcn.10054b67
pop ecx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
imul eax, dword [esp + 0x50], 0x2710
add eax, esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], 0xd1e1e87d
mov dword [esp + 0x14], ebx
jmp 0x100498a6
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x238], 0xfffffffd
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10049893
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x24], 2
push 4
pop esi
jg 0x10049a9b
mov byte [esp + 0x1b], bl
mov dword [esp + 0x20], 0x1863
cmp dword [esp + 0x20], 0x122d
jge 0x10049a14
lea eax, [esp + 0x4c]
push eax
push 0x10007b74
call fcn.1005459b
pop ecx
pop ecx
jmp 0x10049a03
dec eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x54]
push eax
push 0x10007b74
call fcn.1005459b
pop ecx
pop ecx
push dword [esp + 0x54]
lea ecx, [esp + 0x1dc]
call fcn.1002cb22
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], ebx
test edi, edi
jle 0x10049943
mov esi, dword [esp + 0x1d8]
push esi
push 0x10007b74
call fcn.1005459b
mov edi, dword [esp + 0x5c]
inc ebx
pop ecx
add esi, 4
pop ecx
cmp ebx, edi
jl 0x10049928
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, 0x77359400
mov ecx, 0x88ca6c00
mov edx, ebx
test edi, edi
jle 0x100499d5
mov eax, dword [esp + 0x1d8]
add eax, 0xfffffffc
test edx, edx
jle 0x10049979
cmp dword [eax + 4], ebx
jge 0x10049979
cmp dword [eax], 0
jl 0x10049979
cmp esi, dword [eax]
cmovge esi, dword [eax]
cmp ecx, dword [eax]
cmovle ecx, dword [eax]
lea ebx, [edx + 1]
push 0
mov dword [esp + 0x24], ebx
cmp ebx, edi
pop ebx
jge 0x1004999f
cmp dword [eax + 4], ebx
jge 0x1004999f
cmp dword [eax + 8], ebx
jl 0x1004999f
cmp esi, dword [eax + 8]
cmovge esi, dword [eax + 8]
cmp ecx, dword [eax + 8]
cmovle ecx, dword [eax + 8]
test edx, edx
jle 0x100499ca
mov edx, dword [eax + 4]
test edx, edx
js 0x100499ca
cmp dword [eax], 0
jl 0x100499ca
sub edx, dword [eax]
jns 0x100499b5
neg edx
mov ebx, dword [esp + 0x14]
cmp edx, ebx
cmovg ebx, edx
mov edx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], edx
xor ebx, ebx
mov edx, dword [esp + 0x20]
add eax, 4
cmp edx, edi
jl 0x10049961
lea eax, [ecx + esi]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
cmp dword [esp + 0x14], ecx
push eax
cmovg ecx, dword [esp + 0x18]
push ecx
push 0x10007b78
call fcn.100549f9
add esp, 0xc
lea ecx, [esp + 0x1d8]
call fcn.1002d1d0
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x100498ef
dec eax
mov dword [esp + 0x4c], eax
cmp byte [esp + 0x1b], 0
je 0x10049a6a
push 0x1068
push 0x1a54
push 0xcbc
push 0x16d
push 0x1887
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
push 0xbd8
push 0x13bf
push 0x1489
push 0x226b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049a86
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 2
jle 0x100498bf
xor edi, edi
push 4
inc edi
pop esi
lea eax, [esp + 0x88]
push eax
call fcn.1004c042
mov eax, dword [eax]
test eax, eax
je 0x10049c1a
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], 0xb4f5ac3d
mov dword [esp + 0x34], 0xcd90
inc dword [esp + 0x10]
mov dword [esp + 0x180], eax
je 0x10049af3
mov edx, dword [esp + 0x10]
xor ecx, ecx
imul edx, dword [esp + 0x10]
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp edx, eax
mov eax, edi
setle cl
add ecx, dword [esp + 0x10]
jne 0x10049af5
mov eax, ebx
neg eax
cmp eax, dword [esp + 0x10]
jne 0x10049b01
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, 0x2e08
sub ecx, eax
cmp edi, ecx
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0xefcd
setge cl
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x24], ebx
je 0x10049bef
push 2
lea ecx, [esp + 0x1d0]
call fcn.1002cb22
mov dword [esp + 0x14], ebx
jmp 0x10049b53
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1cc]
mov dword [eax + ecx*4], 0x6be856df
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x10049b3d
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], edi
jg 0x10049bd5
push 0xfffffffffffffffb
xor esi, esi
pop edi
inc esi
mov dword [esp + 0x34], 0xfffffffa
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x24], ebx
jl 0x10049bcb
mov dword [esp + 0x1c], 0xf4df7b14
mov dword [esp + 0x1c], ebx
jmp 0x10049bbf
mov dword [esp + 0x14], edi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x14], ebx
jl 0x10049bb7
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1cc]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [esp + 0x14]
jns 0x10049b9c
mov dword [esp + 0x14], esi
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], esi
jle 0x10049b8e
dec dword [esp + 0x24]
jns 0x10049b80
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jle 0x10049b6a
cmp dword [esp + 0x1cc], 0
je 0x1004b331
push dword [esp + 0x1cc]
jmp 0x1004b32b
mov dword [esp + 0x14], ebx
jmp 0x10049c08
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x210], 0xffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10049bf5
dec dword [esp + 0x214]
jmp 0x1004b331
mov eax, dword [0x10a22730]
test al, 2
jne 0x10049cbd
or eax, 2
mov dword [0x10a22730], eax
push ebx
mov dword [esp + 0x280], esi
push ebx
mov dword [0x10a22710], ebx
mov dword [0x10a22714], ebx
call fcn.10038f75
mov dword [0x10a22710], eax
mov dword [0x10a22718], ebx
mov dword [0x10a22720], ebx
mov byte [esp + 0x27c], 6
mov ecx, 0x10a22718
mov dword [esp + 0x170], eax
lea eax, [esp + 0x170]
push eax
push 0x10
push ebx
lea eax, [esp + 0x218]
mov dword [0x10a2272c], 0x3f800000
push eax
mov dword [0x10a2271c], ebx
call fcn.10038d19
push 0x1006da05
mov dword [0x10a22724], 7
mov dword [0x10a22728], 8
call fcn.100549cf
or dword [esp + 0x280], 0xffffffff
pop ecx
mov dword [esp + 0x1c], 7
lea ecx, [esp + 0x18c]
mov dword [esp + 0x24], 0xffff
mov dword [esp + 0x2c], 0x3e5ec352
mov dword [esp + 0x14], 0xdc509ca4
mov dword [esp + 0x30], 0xa3fd
mov dword [esp + 0x10], 0xffffffff
push 2
call fcn.1002cb22
mov dword [esp + 0x14], ebx
jmp 0x10049d13
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18c]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x10049d01
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049d31
push 0xefd
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp eax, 0x1320f2d6
setle cl
imul ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10049d50
mov eax, edi
cmp dword [esp + 0x24], ebx
jne 0x10049d52
mov eax, ebx
xor edx, edx
cmp eax, 0xd6b5
mov eax, dword [esp + 0x1c]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
setle cl
xor edx, edx
cmp ecx, 0xff44
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
setne cl
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp dword [esp + 0x20], eax
setle cl
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x2c]
add eax, 8
cmp eax, 0xfffffff8
setl cl
imul eax, ecx, 0x1718
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
xor edx, edx
inc eax
imul eax, eax, 0x3725
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp ecx, eax
setne dl
imul edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x1c]
jne 0x10049dec
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
xor edx, edx
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp ecx, eax
setge dl
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18c]
push eax
mov dword [eax], edx
call fcn.10054b67
pop ecx
push 0xfffffffffffffff7
pop ecx
mov dword [esp + 0x18c], ebx
xorps xmm0, xmm0
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], ebx
movdqu xmmword [esp + 0x160], xmm0
mov dword [esp + 0x20], ecx
push 5
pop eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], ebx
je 0x10049e5e
mov eax, dword [esp + 0x24]
neg eax
mov eax, edi
jne 0x10049e60
mov eax, ebx
cmp eax, dword [esp + 0x24]
jne 0x10049e9d
mov dword [esp + 0x20], 0xe8588d0d
mov dword [esp + 0x14], ebx
jmp 0x10049e87
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1b0], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10049e74
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1b0], eax
jmp 0x10049f5e
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], 0x9973063d
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ebx
jmp 0x10049eca
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x220], 0xe8b01213
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10049eb7
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x220]
cmp ecx, eax
mov eax, dword [esp + 0x24]
setle dl
imul eax, edx
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0xfffffffa
setne al
xor edx, edx
add eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0x10]
setne dl
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, 0x67f6
setne al
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x50]
push eax
call fcn.1004c0a4
cmp byte [ebp + 0xc], 0
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jne 0x10049f7c
test eax, eax
jne 0x1004a24f
push edi
lea ecx, [esp + 0xa8]
call fcn.1002cb22
mov dword [esp + 0x20], ebx
mov dword [esp + 0x20], 0xfffffff7
mov dword [esp + 0x2c], 0xfff7
mov dword [esp + 0x20], 9
mov dword [esp + 0x10], ebx
jmp 0x10049fc1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa4]
mov dword [eax + ecx*4], 0xe1e2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10049fab
mov dword [esp + 0x10], ebx
jmp 0x10049fe0
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x230], 0xa07c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10049fcd
mov eax, dword [esp + 0xa4]
xor ecx, ecx
cmp dword [eax], edi
setne cl
xor edx, edx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
add eax, 6
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xa4]
cmp ecx, dword [eax]
setge dl
xor eax, eax
test edx, edx
sets al
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x20], eax
push dword [esp + 0xa4]
setg cl
mov dword [esp + 0x24], ecx
call fcn.10054b67
mov dl, byte [ebp + 0xc]
lea eax, [esp + 0x254]
pop ecx
mov ecx, dword [esp + 0x50]
push eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call fcn.1003e556
mov esi, eax
lea edi, [esp + 0x164]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], 0x4039b642
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a0bb
push 0x17c
push 0x1065
push 0x1970
push 0x42b
push 0x120a
push 0x2331
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RoundRect]
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a0cd
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp byte [ebp + 0xc], 0
je 0x1004a24f
cmp dword [esp + 0x168], 0
je 0x1004a24f
xor edi, edi
mov dword [esp + 0x20], 0xad95e17c
inc edi
lea ecx, [esp + 0xb0]
push edi
call fcn.1002cb22
mov dword [esp + 0x27c], 7
lea ecx, [esp + 0x198]
mov dword [esp + 0x20], 0xfffffff7
mov dword [esp + 0x20], 0xfffffffd
mov dword [esp + 0x20], edi
push edi
call fcn.1002cb22
mov dword [esp + 0x20], 0xfffffffa
mov dword [esp + 0x10], ebx
jmp 0x1004a149
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xb0]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1004a137
mov dword [esp + 0x10], ebx
jmp 0x1004a164
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1b8], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1004a155
mov dword [esp + 0x10], ebx
jmp 0x1004a186
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x198]
mov dword [eax + ecx*4], 5
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1004a170
mov dword [esp + 0x20], 0xac204e2d
cmp dword [esp + 0x20], ebx
je 0x1004a1b4
cmp dword [esp + 0x1b8], ebx
je 0x1004a1b4
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx]
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x20], eax
add edx, edx
mov eax, dword [esp + 0x20]
cmp edx, eax
setg cl
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0xb0]
mov eax, dword [esp + 0x198]
push eax
sub ecx, dword [esi]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
mov dword [esp + 0x24], ecx
call fcn.10054b67
or dword [esp + 0x280], 0xffffffff
pop ecx
push esi
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], ebx
call fcn.10054b67
mov eax, dword [esp + 0x170]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x16c]
pop ecx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x188], eax
push 2
lea ecx, [esp + 0x9c]
call fcn.1002cb22
mov dword [esp + 0x27c], 8
mov dword [esp + 0x10], 5
mov dword [esp + 0x1c], 0x10e6b6cd
mov dword [esp + 0x20], 0xfffffffe
mov dword [esp + 0x20], 0xeccdf493
mov dword [esp + 0x14], ebx
jmp 0x1004a2a4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x98]
mov dword [eax + ecx*4], 0x2250db85
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004a28e
mov eax, dword [esp + 0x98]
push 0xfffffffffffffffb
pop edi
mov ecx, dword [eax + 4]
xor eax, eax
test ecx, ecx
setne al
add eax, ecx
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1c], ebx
jmp 0x1004a528
push 2
lea ecx, [esp + 0xcc]
call fcn.1002cb22
push 3
lea ecx, [esp + 0xd8]
mov byte [esp + 0x280], 9
call fcn.1002cb22
mov dword [esp + 0x20], 0xfffffff9
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
jmp 0x1004a321
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc8]
mov dword [eax + ecx*4], 1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1004a30b
mov dword [esp + 0x10], ebx
jmp 0x1004a344
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
mov dword [eax + ecx*4], 0x5a42
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1004a32e
mov dword [esp + 0x10], ebx
jmp 0x1004a383
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a37b
push ebx
push 0x1dc
push 0x942
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x17
je 0x1004a351
mov eax, dword [esp + 0xc8]
cmp dword [eax], ebx
je 0x1004a4c2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ebx
jmp 0x1004a3af
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x7c], edi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004a3a3
mov dword [esp + 0x10], ebx
jmp 0x1004a47b
mov dword [esp + 0x24], 0x7392715e
mov dword [esp + 0x24], 1
cmp dword [esp + 0x24], ebx
jl 0x1004a459
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x20], 0xfffffff6
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x24], 0xffffffff
jb 0x1004a42d
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0xc8]
cmp dword [eax], ebx
setne cl
lea eax, [ecx - 0x830a]
test eax, eax
jne 0x1004a42d
mov eax, ebx
jmp 0x1004a430
xor eax, eax
inc eax
mov edx, dword [esi + 4]
add edx, eax
mov eax, dword [esp + 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
add edx, 2
cmp edx, eax
setle cl
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
dec dword [esp + 0x24]
jns 0x1004a3e0
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a477
push 0xfa6
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jle 0x1004a3bf
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [esp + 0x7c]
cmp ecx, eax
setle dl
mov dword [esp + 0x20], edx
cmp dword [esp + 0x7c], ebx
jne 0x1004a4b9
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x98]
sub ecx, dword [eax]
jne 0x1004a4b9
mov eax, ebx
jmp 0x1004a4bc
xor eax, eax
inc eax
mov dword [esp + 0x20], eax
jmp 0x1004a4ce
mov dword [esp + 0x28], 0x70b
inc dword [esp + 0x20]
cmp dword [esp + 0xd4], 0
je 0x1004a4fa
push dword [esp + 0xd4]
call fcn.10054b67
pop ecx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov byte [esp + 0x27c], 8
push dword [esp + 0xc8]
call fcn.10054b67
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
dec dword [esp + 0x20]
pop ecx
cmp dword [esp + 0x1c], 0xffffffef
je 0x1004a2d5
or dword [esp + 0x27c], 0xffffffff
push dword [esp + 0x98]
call fcn.10054b67
cmp dword [esp + 0x34], 0
pop ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
jne 0x1004abf5
cmp dword [esp + 0x160], 0
jle 0x1004abf5
mov dword [esp + 0x14], 0xb110c93b
xor esi, esi
mov dword [esp + 0x28], ebx
inc esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x28], 6
mov dword [esp + 0x28], 7
mov dword [esp + 0x28], 0xe13a6c9c
mov dword [esp + 0x28], 0xb44cf59
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x20], 0x7000
mov dword [esp + 0x14], ebx
jmp 0x1004a5de
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x208], 0x874da862
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1004a5cb
mov dword [esp + 0x14], 8
jmp 0x1004a686
mov dword [esp + 0x28], 0x17633efc
lea ecx, [esp + 0x130]
mov dword [esp + 0x28], 0xffffffff
push 3
call fcn.1002cb22
mov dword [esp + 0x10], ebx
jmp 0x1004a628
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x244], 0xbb0cb8ce
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1004a615
mov dword [esp + 0x10], ebx
jmp 0x1004a64b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x130]
mov dword [eax + ecx*4], 0x9ec13488
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1004a635
inc dword [esp + 0x20]
cmp dword [esp + 0x130], 0
je 0x1004a682
push dword [esp + 0x130]
call fcn.10054b67
pop ecx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x13
jl 0x1004a5f1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x1c], 0xf
cmp dword [esp + 0x1c], 0xffffffef
jne 0x1004a7cb
mov eax, 0x57e8
lea ecx, [esp + 0x40]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x24], 0xffffffff
push 4
call fcn.1002cb22
mov dword [esp + 0x14], ebx
jmp 0x1004a6f5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xb101aae
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x1004a6e2
push 3
mov dword [esp + 0x28], ebx
pop ecx
jmp 0x1004a799
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
jmp 0x1004a721
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xe0], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004a712
mov eax, dword [esp + 0x24]
cmp dword [esp + eax*4 + 0x1e4], ebx
jne 0x1004a7a3
mov dword [esp + 0xe4], ecx
cmp dword [esp + 0xe4], ebx
jl 0x1004a795
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], 1
mov dword [esp + 0x14], ebx
jmp 0x1004a781
mov dword [esp + 0x28], 0xb5c6f8b8
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a779
push 0x222e
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
push 3
pop ecx
inc dword [esp + 0x20]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jle 0x1004a757
cmp dword [esi + 0xc], ebx
jne 0x1004a795
dec dword [esp + 0xe4]
jns 0x1004a749
inc dword [esp + 0x24]
cmp dword [esp + 0x24], ecx
jle 0x1004a708
mov eax, dword [esp + 0x40]
cmp dword [eax + 0xc], ebx
je 0x1004a7d9
cmp dword [esp + 0x1c], ebx
je 0x1004a7f7
push dword [esp + 0x40]
call fcn.10054b67
pop ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
xor esi, esi
inc esi
mov dword [esp + 0x10], 0x15a13695
mov dword [esp + 0x14], ebx
jmp 0x1004a830
mov dword [esp + 0x20], 0xaa53f0d3
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a7f3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esp + 0x20], ebx
push dword [esp + 0x40]
call fcn.10054b67
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
dec dword [esp + 0x20]
cmp dword [esp + 0x20], 0xffffffef
pop ecx
jne 0x1004a7c8
jmp 0x1004a6a8
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1b4], 0xc0ae9714
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1004a81d
mov dword [esp + 0x10], ebx
jmp 0x1004a84f
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1b4], 0xd386cce5
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1004a83c
mov dword [esp + 0x10], ebx
jmp 0x1004a865
cmp dword [esp + 0x10], ebx
jne 0x1004a86c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 9
jne 0x1004a85b
mov dword [esp + 0x10], 0xfff8
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x8a0f8393
mov dword [esp + 0x20], 0x8e12b6a3
push 2
call fcn.1002cb22
mov dword [esp + 0x27c], 0xa
mov dword [esp + 0x14], ebx
jmp 0x1004a8b9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xbc]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004a8a7
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp ecx, eax
setle dl
sub edx, dword [esp + 0x10]
neg edx
sbb edx, edx
inc edx
add edx, dword [esp + 0x10]
je 0x1004a8e6
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebx
jmp 0x1004aab9
mov dword [esp + 0x2c], 0x9d66de6b
lea ecx, [esp + 0x70]
push 3
call fcn.1002cb22
mov dword [esp + 0x20], 0xcf687292
mov dword [esp + 0x28], 0x653e3f36
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 6
mov dword [esp + 0x1c], ebx
jmp 0x1004a947
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x1ac], 0x7263
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], esi
jl 0x1004a934
mov dword [esp + 0x1c], ebx
jmp 0x1004a963
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 3
jl 0x1004a953
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
jl 0x1004aa98
mov dword [esp + 0x14], 0xfff9
mov dword [esp + 0x20], 0xfffffffd
dec dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x2c], ebx
jl 0x1004aa8b
mov eax, 0xdab0b826
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], eax
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x24], ebx
jg 0x1004aa81
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
push 0
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x200], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x74]
cmp dword [eax + ecx*4], edx
mov eax, dword [esp + 0x14]
pop ecx
setle cl
neg eax
sbb eax, eax
neg eax
sub eax, dword [esp + 0x14]
imul eax, ecx
test eax, eax
jne 0x1004aa1a
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x1ac]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub eax, edi
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0x3bebda3f
mov eax, dword [esp + 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
imul ecx, dword [esi + 8]
mov eax, dword [esp + 0xbc]
mov dword [eax], ecx
inc dword [esp + 0x24]
cmp dword [esp + 0x24], ebx
jle 0x1004a9cd
mov eax, 0xdab0b826
dec dword [esp + 0x2c]
jns 0x1004a99f
dec dword [esp + 0x1c]
jns 0x1004a978
xor esi, esi
inc esi
cmp dword [esp + 0x70], 0
je 0x1004aab5
push dword [esp + 0x70]
call fcn.10054b67
pop ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x24
jl 0x1004a8ff
or dword [esp + 0x27c], 0xffffffff
cmp dword [esp + 0xbc], 0
je 0x1004aaf8
push dword [esp + 0xbc]
call fcn.10054b67
pop ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
cmp dword [esp + 0x164], 0
je 0x1004abf5
mov dword [esp + 0x24], 0xe125d16d
mov dword [esp + 0x14], ebx
jmp 0x1004ab27
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x84], 4
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1004ab14
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x24], ebx
jmp 0x1004abcd
mov dword [esp + 0x2c], 0x7439
lea ecx, [esp + 0x174]
push 2
call fcn.1002cb22
mov dword [esp + 0x14], ebx
jmp 0x1004ab70
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x174]
mov dword [eax + ecx*4], 0xfdb69689
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004ab5a
cmp dword [esp + 0x2c], 3
sbb eax, eax
neg eax
sub eax, 0x250d
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x174]
push ecx
mov dword [ecx + 4], eax
call fcn.10054b67
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
inc dword [esp + 0x28]
pop ecx
cmp dword [esp + 0x24], ebx
jle 0x1004ab3e
mov ecx, dword [esp + 0x164]
call fcn.10049519
mov esi, eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x34], esi
call fcn.1004c0a4
mov dword [eax], esi
push 2
lea ecx, [esp + 0xec]
call fcn.1002cb22
push 4
lea ecx, [esp + 0x104]
mov dword [esp + 0x280], 0xb
call fcn.1002cb22
xor ecx, ecx
mov dword [esp + 0x20], 0xa08b
mov dword [esp + 0x10], ebx
inc ecx
jmp 0x1004ac3c
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x94], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1004ac2d
mov dword [esp + 0x10], ebx
jmp 0x1004ac5e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xe8]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1004ac48
mov dword [esp + 0x10], ebx
jmp 0x1004ac81
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x100]
mov dword [eax + ecx*4], 0xdf11
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1004ac6b
mov esi, dword [esp + 0xe8]
mov edi, dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
mov dword [esi + 4], ebx
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004acbe
push ebx
push 0x194f
push 0xbf1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
dec dword [esi + 4]
jns 0x1004ac98
mov eax, dword [esp + 0x94]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x94]
cmp dword [esp + 0x100], 0
mov esi, dword [esp + 0xe8]
mov dword [esi], 1
je 0x1004ad12
push dword [esp + 0x100]
call fcn.10054b67
pop ecx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
or dword [esp + 0x27c], 0xffffffff
push esi
call fcn.10054b67
pop ecx
lea ecx, [esp + 0x160]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call fcn.100457f2
mov dword [esp + 0x28], 0x1daa
cmp dword [esp + 0x28], 0xd55
jge 0x1004ae66
lea eax, [esp + 0x8c]
mov ecx, 0x1065dcc0
push eax
call fcn.1002c299
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0x27c], 0xc
mov esi, dword [esp + 0x8c]
jmp 0x1004ae42
lea edx, [esp + 0x58]
mov ecx, 0x1065dcc0
dec esi
call fcn.1003233a
cmp dword [esp + 0x6c], 0x10
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0x68]
cmovae ecx, dword [esp + 0x58]
add edx, ecx
mov byte [esp + 0x1bc], bl
cmp dword [esp + 0x6c], 0x10
lea ecx, [esp + 0x58]
push dword [esp + 0x1bc]
cmovae ecx, dword [esp + 0x5c]
mov eax, edx
sub eax, ecx
push eax
call fcn.10032f63
lea edx, [esp + 0x60]
mov ecx, 0x1065dc18
call fcn.100314bd
push eax
call fcn.1003148b
add esp, 0xc
cmp dword [esp + 0x6c], 0x10
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x68]
cmovae ecx, dword [esp + 0x58]
add eax, ecx
cmp dword [esp + 0x6c], 0x10
lea ecx, [esp + 0x58]
cmovae ecx, dword [esp + 0x58]
push eax
push ecx
call fcn.1004c8b5
pop ecx
pop ecx
test al, al
je 0x1004ae37
lea edx, [esp + 0x58]
mov ecx, 0x1065dc18
call fcn.100314bd
push eax
call fcn.1003148b
pop ecx
jmp 0x1004adf1
push 0x1065dc18
call fcn.1003148b
pop ecx
test esi, esi
jne 0x1004ad91
or dword [esp + 0x27c], 0xffffffff
lea ecx, [esp + 0x58]
push ebx
dec esi
push 1
mov dword [esp + 0x94], esi
call fcn.1002d74b
push 2
lea ecx, [esp + 0x140]
call fcn.1002cb22
push 4
lea ecx, [esp + 0x128]
mov dword [esp + 0x280], 0xd
call fcn.1002cb22
xor ecx, ecx
mov dword [esp + 0x20], 0xa08b
mov dword [esp + 0x10], ebx
inc ecx
jmp 0x1004aead
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x90], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1004ae9e
mov dword [esp + 0x10], ebx
jmp 0x1004aecf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x13c]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1004aeb9
mov dword [esp + 0x10], ebx
jmp 0x1004aef2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x124]
mov dword [eax + ecx*4], 0xdf11
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1004aedc
mov esi, dword [esp + 0x13c]
mov dword [esi + 4], ebx
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004af29
push ebx
push 0x194f
push 0xbf1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
dec dword [esi + 4]
jns 0x1004af03
mov eax, dword [esp + 0x90]
xor edi, edi
mov eax, dword [esp + 0x20]
inc edi
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x124], 0
mov esi, dword [esp + 0x13c]
mov dword [esi], edi
je 0x1004af7c
push dword [esp + 0x124]
call fcn.10054b67
pop ecx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
or dword [esp + 0x27c], 0xffffffff
push esi
call fcn.10054b67
mov esi, dword [esp + 0x34]
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
pop ecx
test esi, esi
je 0x1004b20f
mov dword [esp + 0x1c], 0x5a136951
lea ecx, [esp + 0x154]
mov dword [esp + 0x28], 0xd72276b8
push 4
call fcn.1002cb22
mov dword [esp + 0x1c], ebx
jmp 0x1004afe3
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x1a4], 0x8ec0ae97
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
jl 0x1004afd0
mov dword [esp + 0x1c], ebx
jmp 0x1004b005
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x154]
mov dword [eax + ecx*4], 0x42afa017
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jl 0x1004afef
mov dword [esp + 0x1c], ebx
jmp 0x1004b049
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004b045
push 0x6f5
push 0x14b3
push 0x1a79
push 0x580
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_IntersectClipRect]
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ebx
jle 0x1004b012
cmp dword [esp + 0x1a4], ebx
je 0x1004b05e
mov dword [esp + 0x28], edi
jmp 0x1004b0ae
push 0xfffffffffffffff7
pop ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0x4a6f4440
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0xb84c
mov dword [esp + 0x14], ebx
jmp 0x1004b08e
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x260], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x1004b07f
mov dword [esp + 0x1c], ebx
jmp 0x1004b0a3
dec dword [esp + 0x20]
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 8
jge 0x1004b09b
dec dword [esp + 0x30]
cmp dword [esp + 0x154], 0
je 0x1004b0da
push dword [esp + 0x154]
call fcn.10054b67
pop ecx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.10049545
push 0xfffffffffffffffb
pop edi
mov esi, eax
mov dword [esp + 0x1c], 0x6cc9
mov dword [esp + 0x14], 0xffff
lea ecx, [esp + 0xf4]
mov dword [esp + 0x24], edi
push 3
mov dword [esp + 0x184], esi
call fcn.1002cb22
mov dword [esp + 0x20], 0x86ae2ad2
mov dword [esp + 0x14], ebx
jmp 0x1004b137
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xf4]
mov dword [eax + ecx*4], 0x2b4cf22a
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x1004b121
mov eax, dword [esp + 0x1c]
xor edx, edx
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov eax, 0x2972
setne dl
cmp edx, 1
sbb ecx, ecx
inc ecx
sub eax, ecx
cmp eax, edi
jb 0x1004b17e
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xf4]
sub eax, 0xaf14
neg eax
sbb eax, eax
inc eax
imul eax, eax, 0xba1d
add eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x14]
jle 0x1004b1bb
cmp dword [esp + 0x14], ebx
je 0x1004b1bb
xor edi, edi
inc edi
mov eax, edi
jmp 0x1004b1c0
xor edi, edi
mov eax, ebx
inc edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x1c], 0x88216928
push dword [esp + 0xf4]
sbb eax, eax
inc eax
mov dword [ecx + 4], eax
call fcn.10054b67
pop ecx
lea eax, [esp + 0x88]
mov dword [esp + 0xf4], ebx
push eax
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
call fcn.1004c042
mov dword [eax], esi
push 2
lea ecx, [esp + 0x11c]
call fcn.1002cb22
mov dword [esp + 0x20], 0x2a82
push 2
mov dword [esp + 0x38], 3
mov dword [esp + 0x20], ebx
pop edx
jmp 0x1004b248
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x118]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jl 0x1004b236
mov dword [esp + 0x1c], ebx
jmp 0x1004b264
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x38], 0x18d4081c
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jl 0x1004b254
mov dword [esp + 0x38], edi
cmp dword [esp + 0x38], ebx
jl 0x1004b31a
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x118]
cmp dword [eax + ecx*4], ebx
je 0x1004b29a
mov dword [esp + 0x20], 0xfffffffa
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x20], edi
jne 0x1004b29e
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x38]
xor ecx, ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x118]
mov eax, dword [esi + eax*4]
cmp eax, dword [esi + edx*4]
setne cl
xor edx, edx
imul eax, ecx, 0xfffffff6
cmp dword [esi + edi*4], eax
mov eax, dword [esp + 0x38]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x20]
sete cl
add eax, 0xf55bc4d5
cmp eax, ecx
jle 0x1004b2f6
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x118]
cmp dword [eax + ecx*4], ebx
je 0x1004b2f6
xor edi, edi
inc edi
mov ecx, edi
jmp 0x1004b2fb
xor edi, edi
mov ecx, ebx
inc edi
mov eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, 0xbec0351a
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [esp + 0x34], eax
dec dword [esp + 0x38]
jns 0x1004b278
cmp dword [esp + 0x118], 0
je 0x1004b331
push dword [esp + 0x118]
call fcn.10054b67
pop ecx
mov eax, dword [ebp + 8]
lea esi, [esp + 0x180]
mov ecx, dword [esp + 0x274]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret