Function at 0x10043250
Capabilities:
Get file size
Get system information on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e5ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x220
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x120], 0xfffffffd
mov dword [ebp - 0x24], 0x9ad59e57
mov dword [ebp - 0x13c], 0xfffffffe
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x88], 0xcef3cf68
mov dword [ebp - 0x11c], 0xadc1094
mov dword [ebp - 0x124], 0x2883e731
mov dword [ebp - 0x188], 0xfffffffe
mov dword [ebp - 0x1b4], 0xfffffff8
mov dword [ebp - 0xd4], 0x1a15
mov dword [ebp - 0x10c], 0x1000b400
cmp dword [ebp - 0xd4], 0x1dee
jle 0x100433d1
and dword [ebp - 0x78], 0
jmp 0x10043303
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x3167
jge 0x100433d1
and dword [ebp - 0x84], 0
jmp 0x10043326
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x70ea
jge 0x100433cc
and dword [ebp - 0x60], 0
jmp 0x10043343
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x4186
jge 0x100433c7
and dword [ebp - 0x38], 0
jmp 0x10043359
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x12f5
jge 0x100433c2
mov eax, dword [ebp - 0x84]
cdq
idiv dword [ebp - 0x60]
imul edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x78]
mov ecx, edx
sar eax, cl
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x20c]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0x20c]
call fcn.1002a597
jmp 0x10043352
jmp 0x1004333c
jmp 0x10043319
jmp 0x100432fc
push 4
lea ecx, [ebp - 0x1d8]
call fcn.1002a6d6
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0xd4], 0x19dd
jge 0x100433fe
push dword [ebp - 0x10c]
call fcn.100480d6
pop ecx
jmp 0x1004341a
and dword [ebp - 4], 0
jmp 0x10043424
mov dword [ebp - 0xac], 3
push 2
lea ecx, [ebp - 0x174]
call fcn.1002a6d6
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
jmp 0x1004344f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1004346b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1d8]
call fcn.1002a774
mov dword [eax], 0xb0b826fb
jmp 0x10043448
mov dword [ebp - 0x18], 0
jmp 0x1004347b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10043497
push dword [ebp - 0x18]
lea ecx, [ebp - 0x174]
call fcn.1002a774
mov dword [eax], 1
jmp 0x10043474
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100434c1
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x100434bc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x10043bfe
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xc0], 0x19d87263
mov dword [ebp - 0xa0], 0x4e0a
mov dword [ebp - 0x108], 0x1000b45c
cmp dword [ebp - 0xa0], 0x506e
jle 0x1004358d
and dword [ebp - 0x2c], 0
jmp 0x10043506
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7e21
jge 0x1004358d
and dword [ebp - 0x40], 0
jmp 0x1004351c
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x48d4
jge 0x10043588
and dword [ebp - 0x68], 0
jmp 0x10043532
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x2878
jge 0x10043586
and dword [ebp - 0x48], 0
jmp 0x10043548
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x5741
jge 0x10043584
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x68]
shl eax, cl
and eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x10043541
jmp 0x1004352b
jmp 0x10043515
jmp 0x100434ff
mov dword [ebp - 0x17c], 1
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa0], 0x4d08
jge 0x100435b7
mov edx, dword [ebp - 0x108]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x100435d3
mov dword [ebp - 4], 3
jmp 0x100435e3
mov dword [ebp - 0x184], 0xfffffffa
mov dword [ebp - 0x18c], 0xbab1f35
mov dword [ebp - 0x194], 0xabed9978
push 3
lea ecx, [ebp - 0x1c8]
call fcn.1002a6d6
mov byte [ebp - 4], 6
mov dword [ebp - 0x19c], 0xd385e397
mov dword [ebp - 0x50], 0
jmp 0x1004362c
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x10043648
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1c8]
call fcn.1002a774
mov dword [eax], 1
jmp 0x10043625
mov dword [ebp - 0xa4], 0x4b30
mov dword [ebp - 0x104], 0x1000b488
cmp dword [ebp - 0xa4], 0x4e2e
jle 0x100436c1
and dword [ebp - 0x70], 0
jmp 0x10043675
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x3123
jge 0x100436c1
and dword [ebp - 0x58], 0
jmp 0x1004368b
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x3240
jge 0x100436bf
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x58]
cdq
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
push dword [ebp - 0x140]
push dword [ebp - 0x144]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x10043684
jmp 0x1004366e
mov dword [ebp - 0x24], 0xe
jmp 0x100436d1
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 8
jne 0x10043b96
push 3
lea ecx, [ebp - 0x94]
call fcn.1002a6d6
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], 0
jmp 0x100436fc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10043718
push dword [ebp - 0x14]
lea ecx, [ebp - 0x94]
call fcn.1002a774
mov dword [eax], 0x8ee41b66
jmp 0x100436f5
mov dword [ebp - 0x14], 0
jmp 0x10043728
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004373e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1a8], 0xb1b0cadf
jmp 0x10043721
mov dword [ebp - 0xfc], 0x52ff
mov dword [ebp - 0x114], 0x1000b4b8
cmp dword [ebp - 0xfc], 0x558e
jle 0x10043838
and dword [ebp - 0x34], 0
jmp 0x1004376f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4a02
jge 0x10043830
and dword [ebp - 0x3c], 0
jmp 0x10043789
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x24a
jge 0x1004382b
and dword [ebp - 0x80], 0
jmp 0x100437a3
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x7a79
jge 0x10043826
and dword [ebp - 0x30], 0
jmp 0x100437b9
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2504
jge 0x10043821
mov eax, dword [ebp - 0x80]
cdq
idiv dword [ebp - 0x30]
mov ecx, edx
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x3c]
add edx, ecx
mov eax, edx
cdq
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], edx
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
lea ecx, [ebp - 0x230]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0x230]
call fcn.1002a597
jmp 0x100437b2
jmp 0x1004379c
jmp 0x10043782
jmp 0x10043768
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov dword [ebp - 0x14], 0
jmp 0x10043848
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004385e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1f4], 3
jmp 0x10043841
mov byte [ebp - 4], 8
cmp dword [ebp - 0xfc], 0x52e7
jge 0x1004387a
push dword [ebp - 0x114]
call fcn.100480d6
pop ecx
jmp 0x10043896
mov dword [ebp - 4], 7
jmp 0x100438a6
mov eax, 0xdfba
test eax, eax
je 0x100439c2
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0xc0]
jl 0x100438cd
mov dword [ebp - 0xd0], 1
jmp 0x100438d4
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp + eax - 0x1a8], ecx
cmp dword [ebp - 0xe8], 0xde6b9338
ja 0x10043917
mov dword [ebp - 0xb0], 1
jmp 0x1004391e
and dword [ebp - 0xb0], 0
push 0
lea ecx, [ebp - 0x94]
call fcn.1002a774
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
je 0x10043941
mov dword [ebp - 0xd8], 1
jmp 0x10043948
and dword [ebp - 0xd8], 0
mov dword [ebp - 0xb8], 0x2b90
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x88]
jne 0x10043978
mov dword [ebp - 0xf8], 1
jmp 0x1004397f
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0xf8], eax
jl 0x10043999
mov dword [ebp - 0x154], 1
jmp 0x100439a0
and dword [ebp - 0x154], 0
push 0
lea ecx, [ebp - 0x94]
call fcn.1002a774
cmp dword [ebp - 0xc0], 0
je 0x100439c2
mov dword [ebp - 0xe0], 1
jmp 0x100439c9
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x124], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.1002a774
mov esi, eax
push 0
lea ecx, [ebp - 0x94]
call fcn.1002a774
mov eax, dword [eax]
sub eax, dword [esi]
cmp eax, 0xa26c
jg 0x10043a1a
push 2
lea ecx, [ebp - 0x94]
call fcn.1002a774
cmp dword [eax], 0
je 0x10043a1a
mov dword [ebp - 0xc8], 1
jmp 0x10043a21
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xc51ac06e
jb 0x10043a39
mov dword [ebp - 0xf0], 1
jmp 0x10043a40
and dword [ebp - 0xf0], 0
mov esi, dword [ebp - 0xf0]
sub esi, 0x3cf435f5
push 0
lea ecx, [ebp - 0x94]
call fcn.1002a774
cmp dword [eax], esi
je 0x10043a69
mov dword [ebp - 0x148], 1
jmp 0x10043a70
and dword [ebp - 0x148], 0
push 1
lea ecx, [ebp - 0x94]
call fcn.1002a774
mov eax, dword [ebp - 0x88]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1f4], eax
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x9c], 0x3436
mov dword [ebp - 0x130], 0x1000b518
cmp dword [ebp - 0x9c], 0x35e4
jle 0x10043b26
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 0x44], 0
jmp 0x10043acb
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x17dd
jge 0x10043b19
and dword [ebp - 0x4c], 0
jmp 0x10043ae1
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x100e
jge 0x10043b17
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
shl eax, cl
cdq
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], edx
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x10043ada
jmp 0x10043ac4
push 0
push 0x7d9
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10043b36
push 0
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x9c], 0x323a
jge 0x10043b56
mov edx, dword [ebp - 0x130]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x10043b72
mov dword [ebp - 4], 7
jmp 0x10043b82
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x94]
call fcn.1002a758
jmp 0x100436ca
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xa4], 0x4974
jge 0x10043bb6
mov edx, dword [ebp - 0x104]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x10043bd2
mov dword [ebp - 4], 6
jmp 0x10043be2
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c8]
call fcn.1002a758
push 1
lea ecx, [ebp - 0x174]
call fcn.1002a774
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.1002a758
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.1002a758
mov eax, dword [ebp - 0x54]
mov dword [eax], 0
jmp 0x10043c56
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
cmp dword [eax], 3
jg 0x10043f21
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x1b0], 4
mov dword [ebp - 0x5c], 0
jmp 0x10043c8a
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x16
jl 0x10043e1a
mov dword [ebp - 0x64], 1
mov dword [ebp - 0xc4], 0x141a9c21
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10043cb9
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x64], 0xf
jmp 0x10043cc9
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 6
jle 0x10043e15
mov dword [ebp - 0x74], 0x82ff
mov dword [ebp - 0xec], 0xfffffff9
mov dword [ebp - 0x1b8], 0x61d594d0
mov dword [ebp - 0x6c], 0
jmp 0x10043cfe
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x10043d14
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x168], 1
jmp 0x10043cf7
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x74]
neg eax
cmp eax, dword [ebp - 0x74]
jg 0x10043d30
mov dword [ebp - 0xbc], 1
jmp 0x10043d37
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x100], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x168]
mov dword [ebp - 0x118], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x168]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x168], eax
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x118]
jg 0x10043d97
mov dword [ebp - 0x98], 1
jmp 0x10043d9e
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x74], 0xffffffff
jg 0x10043db6
cmp dword [ebp - 0xec], 0
jne 0x10043db6
and dword [ebp - 0xcc], 0
jmp 0x10043dc0
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xcc]
jl 0x10043dd7
mov dword [ebp - 0xdc], 1
jmp 0x10043dde
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0xdc]
jle 0x10043df8
mov dword [ebp - 0xe4], 1
jmp 0x10043dff
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
sub eax, 0x2314af1
mov dword [ebp - 0xec], eax
jmp 0x10043cc2
jmp 0x10043c83
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x10043e2a
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffeb
jge 0x10043e4f
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10043e4d
push 0x219c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
jmp 0x10043e23
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10043f1c
mov dword [ebp - 0x180], 0xffffffff
mov dword [ebp - 0x1e8], 0x6432a276
mov dword [ebp - 0x178], 0xfffffff6
mov dword [ebp - 0x1bc], 2
mov dword [ebp - 0x190], 0x95010f7a
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x198], 0xfffffffd
mov dword [ebp - 0x1cc], 0xffffffff
mov dword [ebp - 0x1a0], 0xa23fe5e8
mov dword [ebp - 0x1e0], 0xd94e8fe7
mov dword [ebp - 0x1ac], 0xb0ad8ea5
mov dword [ebp - 0x1dc], 0xc266d8ff
mov dword [ebp - 0xf4], 5
mov dword [ebp - 0x7c], 0
jmp 0x10043ef1
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x10043f07
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x218], 1
jmp 0x10043eea
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10043c4b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret