Function at 0x1005ab69
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dc63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1005aeee
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x1005ad96
mov dword [ebp - 0x78], 0x612f
mov dword [ebp - 0xfc], 0x1000d9f8
cmp dword [ebp - 0x78], 0x6270
jle 0x1005ac99
and dword [ebp - 0x38], 0
jmp 0x1005ac14
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5f9b
jge 0x1005ac99
and dword [ebp - 0x20], 0
jmp 0x1005ac2a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x45c0
jge 0x1005ac94
and dword [ebp - 0x48], 0
jmp 0x1005ac40
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x2613
jge 0x1005ac92
and dword [ebp - 0x28], 0
jmp 0x1005ac56
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3807
jge 0x1005ac90
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1005ac4f
jmp 0x1005ac39
jmp 0x1005ac23
jmp 0x1005ac0d
mov dword [ebp - 0x54], 0x3fde
mov dword [ebp - 0x88], 0x1000da4c
cmp dword [ebp - 0x54], 0x4264
jle 0x1005ad3b
and dword [ebp - 0x34], 0
jmp 0x1005acc4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x50fa
jge 0x1005ad2d
and dword [ebp - 0x50], 0
jmp 0x1005acda
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x5c3e
jge 0x1005ad2b
and dword [ebp - 0x4c], 0
jmp 0x1005acf0
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xad7
jge 0x1005ad29
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
shl eax, cl
xor eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], edx
push dword [ebp - 0x100]
push dword [ebp - 0x104]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1005ace9
jmp 0x1005acd3
jmp 0x1005acbd
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x54], 0x3c3b
jge 0x1005ad58
mov edx, dword [ebp - 0x88]
mov ecx, 0x10092b78
call fcn.10025597
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1005ad78
push 0x1a9f
push 0x13c
push 1
push 1
push 1
call fcn.1005697a
add esp, 0x14
cmp dword [ebp - 0x78], 0x5d8b
jge 0x1005ad91
mov edx, dword [ebp - 0xfc]
mov ecx, 0x10092b78
call fcn.10025597
jmp 0x1005aee9
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x1005ae45
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x1005aee9
mov eax, dword [ebp - 0x114]
push dword [eax]
mov ecx, dword [ebp - 0xd0]
call fcn.10022bff
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
jne 0x1005ae80
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0xcced
jl 0x1005ae9f
mov dword [ebp - 0x58], 1
jmp 0x1005aea3
and dword [ebp - 0x58], 0
imul eax, dword [ebp - 0x58], 0x303f
test eax, eax
je 0x1005aebf
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1005aebf
mov dword [ebp - 0x5c], 1
jmp 0x1005aec3
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x69161d59
jl 0x1005aed5
mov dword [ebp - 0x64], 1
jmp 0x1005aed9
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
jmp 0x1005ae3a
jmp 0x1005b297
mov dword [ebp - 0x6c], 0x1ea9
mov dword [ebp - 0x108], 0x1000da80
cmp dword [ebp - 0x6c], 0x1f80
jle 0x1005af9c
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
and dword [ebp - 0x44], 0
jmp 0x1005af27
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x5cdd
jge 0x1005af9c
and dword [ebp - 0x3c], 0
jmp 0x1005af3d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x2b9b
jge 0x1005af9a
mov eax, dword [ebp - 0x44]
cdq
idiv dword [ebp - 0x3c]
mov eax, edx
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
lea ecx, [ebp - 0x168]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x168]
call fcn.1002281d
jmp 0x1005af36
jmp 0x1005af20
lea eax, [ebp + 0x10]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0x6c], 0x1ace
jge 0x1005afba
push dword [ebp - 0x108]
call fcn.10077843
pop ecx
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x1005b08c
mov dword [ebp - 0x74], 0x1dec
mov dword [ebp - 0x8c], 0x1000dac4
cmp dword [ebp - 0x74], 0x20b1
jle 0x1005b06a
and dword [ebp - 0x2c], 0
jmp 0x1005aff6
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1c2c
jge 0x1005b06a
and dword [ebp - 0x30], 0
jmp 0x1005b00c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x7996
jge 0x1005b068
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
shl eax, cl
cdq
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], edx
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x180]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x180]
call fcn.1002281d
jmp 0x1005b005
jmp 0x1005afef
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x74], 0x1d9f
jge 0x1005b087
push dword [ebp - 0x8c]
call fcn.10077843
pop ecx
jmp 0x1005b297
mov dword [ebp - 0x9c], 0xfffffff7
mov dword [ebp - 0xa4], 0x7a61eefb
mov dword [ebp - 0xac], 6
mov dword [ebp - 0x134], 4
mov dword [ebp - 0x14c], 0x4e797535
mov dword [ebp - 0x13c], 8
mov dword [ebp - 0x150], 0x191b4956
mov dword [ebp - 0x130], 0xa08ecb30
push 2
lea ecx, [ebp - 0x148]
call fcn.10022b61
and dword [ebp - 4], 0
mov dword [ebp - 0x138], 0xe469209a
push 4
lea ecx, [ebp - 0x128]
call fcn.10022b61
mov byte [ebp - 4], 1
lea eax, [ebp - 0x148]
push eax
push 1
push 1
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.1004e032
add esp, 0x14
push 1
lea eax, [ebp - 0x128]
push eax
push 0x2e43
push 0x3ef2
push 0x7b49
push 0x6cde
push 0x4262
push 0
push 0x2f01
lea eax, [ebp - 0x94]
push eax
call fcn.100661f7
add esp, 0x28
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
lea eax, [ebp - 0xac]
push eax
call fcn.10062efa
add esp, 0x10
mov dword [ebp - 0x7c], 0x50fe
mov dword [ebp - 0xb4], 0x1000daf8
cmp dword [ebp - 0x7c], 0x51f1
jle 0x1005b234
and dword [ebp - 0x18], 0
jmp 0x1005b1a6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x653
jge 0x1005b234
and dword [ebp - 0x40], 0
jmp 0x1005b1c0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7dc6
jge 0x1005b22f
and dword [ebp - 0x1c], 0
jmp 0x1005b1d6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1748
jge 0x1005b22d
and dword [ebp - 0x24], 0
jmp 0x1005b1ec
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7f1e
jge 0x1005b22b
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1005b1e5
jmp 0x1005b1cf
jmp 0x1005b1b9
jmp 0x1005b19f
cmp dword [ebp - 0x7c], 0x5014
jge 0x1005b24d
mov edx, dword [ebp - 0xb4]
mov ecx, 0x10092b78
call fcn.10025597
push 0
push 0x28fc
push 0x955
lea eax, [ebp - 0x128]
push eax
push 0x3f1c
push 0x2d6c
push 0
push 0x5d1f
call fcn.10055061
add esp, 0x20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.10022be3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.10022be3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret