joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d3379
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x53e0dc
call fcn.004d5897
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4d3489
lea eax, [ebp - 0xa4]
push eax
call fcn.004d2ba4
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0048615f
push eax
mov ecx, ebx
call fcn.0048baa0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d3489
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.00485a89
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00485d19
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x7b6]
push eax
movzx eax, word [ecx + 0x7b4]
mov ecx, ebx
push eax
call fcn.004d389f
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.004d2ea8
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1cc
push eax
call fcn.00482c53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00482bd0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x114]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.004d5841
ret 4

Function at 0x4d7b23
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x52c8e9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052c75f
Function at 0x1000d660
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10067433
call fcn.10066d38
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0xb72
cmp dword [ebp - 0x14], 0xdf5
push edi
mov dword [ebp - 0x10], esp
jle 0x1000d6b1
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x106584b8
xor eax, esi
cdq
push edx
push eax
call fcn.1000da21
inc edi
cmp edi, 0xaa5
jl 0x1000d686
inc esi
cmp esi, 0x3202
jl 0x1000d684
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0xb2d
jge 0x1000d6cd
mov edx, 0x10009efc
mov ecx, 0x106584b8
call fcn.1000f4f1
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010531
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x28], 0x4c3c69ae
mov eax, 0xbc9c3d06
mov dword [ebp - 8], 0x182eac45
mov dword [ebp - 0x1c], 0x263126ff
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0xd8f8f576
mov dword [ebp - 0x24], 0x352f76ec
mov dword [ebp - 0x24], 0x205b2906
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0xb17b722b
mov eax, dword [ebp - 8]
sub eax, 0x151ee88f
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
xor edx, edx
cmp ecx, eax
setne dl
xor ecx, ecx
cmp edx, 7
setne cl
xor edx, edx
imul ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setg dl
sub edx, 0x40c8e82
neg edx
sbb edx, edx
xor ebx, ebx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0x20]
setl bl
inc ebx
neg ebx
sbb ebx, ebx
xor ecx, ecx
inc ebx
cmp ebx, eax
setne cl
sub ecx, 0xed5e
cmp ecx, 0xfff6
jne 0x10010614
cmp dword [ebp - 0x20], eax
jne 0x10010614
xor ecx, ecx
jmp 0x10010617
xor ecx, ecx
inc ecx
dec dword [ebp - 0x18]
mov ebx, 0xd7770b16
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, ebx
setne al
xor edx, edx
imul ecx, eax, 0x5f6
mov eax, dword [ebp - 0x18]
cmp eax, ecx
setle dl
sub edx, 0x399d012c
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x1001069e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x38], ecx
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
je 0x1001069b
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor edx, edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jle 0x1001067b
mov dword [esi], edx
jmp 0x100106b5
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [esi]
cmp dword [esi], 1
jl 0x100106a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026bb4
Capabilities:
Get keyboard layout
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10026c1b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push 0x742c
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.10029705
add esp, 0x28
jmp 0x10026c58
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10026c44
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10026c42
push 0x23b3
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x10026c58
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x10026c58
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x10029396
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100294c8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100294b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x1db4
cmp dword [ebp - 0x2c], 0x6e0
jge 0x1002947b
lea eax, [ebp - 0x10]
push eax
push 0x1000a0c4
call fcn.1004d4be
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
and eax, 0x80000001
jns 0x10029413
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x10029465
mov dword [ebp - 8], 1
jmp 0x10029427
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jg 0x10029463
mov eax, dword [ebp - 8]
and eax, 0x80000001
jns 0x1002943e
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1002944b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10029452
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x1000a0d4
call fcn.1004d076
pop ecx
pop ecx
jmp 0x10029420
jmp 0x10029470
push 0x1000a1b4
call fcn.1004d076
pop ecx
push 0x1000a214
call fcn.1004d076
pop ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10029491
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jge 0x100294ae
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.1000dbd4
mov dword [eax], 0xf680
jmp 0x10029486
jmp 0x100294c6
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100294c6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100294da
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
push 0
push dword [ebp - 0x34]
call fcn.1002e88c
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100294de
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10029506
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0
push 0x655e
call fcn.1003cb9f
add esp, 0xc
jmp 0x1002953d
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10029528
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1002953d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 9
mov esp, ebp
pop ebp
ret
Function at 0x10029a94
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10029bef
mov dword [ebp - 0x30], 0x1984
cmp dword [ebp - 0x30], 0xf71
jge 0x10029bd9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1000a0e8
call fcn.1004d4be
add esp, 0xc
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.10024396
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
jmp 0x10029b01
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jge 0x10029b23
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
call fcn.1000dbd4
push eax
push 0x1000a0c8
call fcn.1004d4be
pop ecx
pop ecx
jmp 0x10029afa
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x14], 1
jmp 0x10029b3a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jge 0x10029bbe
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.1000dbd4
mov esi, eax
mov eax, dword [ebp - 0x14]
dec eax
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000dbd4
mov ecx, dword [esi]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
shl eax, 1
cmp ecx, eax
jne 0x10029b72
mov dword [ebp - 0x2c], 1
jmp 0x10029b76
and dword [ebp - 0x2c], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.1000dbd4
mov esi, eax
mov eax, dword [ebp - 0x14]
dec eax
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000dbd4
mov ecx, dword [esi]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
shl eax, 1
cmp ecx, eax
jle 0x10029ba6
mov dword [ebp - 0x28], 1
jmp 0x10029baa
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax*2]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x10029b33
push dword [ebp - 0x20]
push 0x1000a0cc
call fcn.1004d076
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.100243d2
push 0x6ae9
push 0x37fb
push 1
call fcn.10029c59
add esp, 0xc
jmp 0x10029c4a
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10029c2c
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10029c2a
push 0xdc2
push 0x1f75
push 0
push 0x14de
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x10029c4a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10029c4a
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002ae63
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002aeef
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002aebf
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.1000dbd4
mov dword [eax], esi
jmp 0x1002aeed
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002aeed
push 0x751
push 0
push 0
push 0
push 0
push 0x1d3b
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1002af38
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
push 0x2a03
push 0xd2e
push 0x262d
push 0x22b4
push 0x1fc5
push 0x7147
push 0x5f12
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x30]
push 0x23d7
push 0x542e
call fcn.10030d37
add esp, 0x30
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002b92a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002b988
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002b95f
push 0
push 0x568
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
jmp 0x1002b986
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002b986
push 0x140c
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x1002b9c7
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002b9ac
push 0
push 0x1ade
push 0xa3d
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x1002b9c7
push 0
push 0xdb
push 0x2404
push 0x2300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esp, ebp
pop ebp
ret
Function at 0x1002e92e
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002e964
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
push 1
push dword [ebp - 4]
push 0x11ed
push dword [ebp - 8]
push 0x5caa
call fcn.1002e996
add esp, 0x14
jmp 0x1002e992
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002e986
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1002e992
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov esp, ebp
pop ebp
ret
Function at 0x1002ec4a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002ecd5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002ec8e
push 0x751
push 0
push 0
push 0
push 0
push 0x1d3b
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1002ecd0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0xffffffef
jmp 0x1002ecbc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x17
jge 0x1002ecd0
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x1002ecce
jmp 0x1002ecd0
jmp 0x1002ecb1
jmp 0x1002edf0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1002ed1a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1002ed15
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
jmp 0x1002edf0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0x15ec
cmp dword [ebp - 0x50], 0x554
jge 0x1002edda
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x106585d8
call fcn.10040898
mov ecx, eax
call fcn.10040898
mov ecx, eax
call fcn.10040898
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
jmp 0x1002ed73
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jg 0x1002edb4
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, ecx
cdq
idiv dword [ebp - 0x18]
test edx, edx
jne 0x1002edb2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, ecx
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x1002edb4
jmp 0x1002ed6c
cmp dword [ebp - 0x14], 0
jl 0x1002edcf
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push 0x1000a280
call fcn.1004d076
add esp, 0xc
jmp 0x1002edda
push 0x1000a1e8
call fcn.1004d598
pop ecx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100312aa
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10031335
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10031321
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10031302
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1003131f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000dbd4
mov dword [eax], 0xec4279c4
jmp 0x100312f7
jmp 0x10031333
push 0
push 0x1ade
push 0xa3d
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x10031351
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x24]
call fcn.10025a2d
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x100629f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006c758]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10052f48
mov dword [ebp - 0x14], eax
cmp dword [0x106595d4], esi
jne 0x10062ae8
push 0x800
push esi
push 0x10009cf8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10062a75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10062bc8
push esi
push esi
push 0x10009cf8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10062bc8
push 0x10009d10
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10062bc8
push eax
call ebx
push 0x10009d1c
push edi
mov dword [0x106595d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009d2c
push edi
mov dword [0x106595d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009d40
push edi
mov dword [0x106595dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106595e4], eax
test eax, eax
je 0x10062ae5
push 0x10009d5c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106595e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10062b0d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10062b00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10062b22
push 4
pop eax
jmp 0x10062bca
cmp dword [ebp - 0x14], esi
je 0x10062b22
push dword [0x106595d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10062b07
mov eax, dword [0x106595e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10062b80
cmp dword [0x106595e4], edi
je 0x10062b80
push eax
call ebx
push dword [0x106595e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10062b80
test eax, eax
je 0x10062b80
call ecx
test eax, eax
je 0x10062b75
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10062b75
test byte [ebp - 8], 1
jne 0x10062b80
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10062bb0
mov eax, dword [0x106595d8]
cmp eax, edi
je 0x10062bad
push eax
call ebx
test eax, eax
je 0x10062bad
call eax
mov esi, eax
test esi, esi
je 0x10062bad
mov eax, dword [0x106595dc]
cmp eax, edi
je 0x10062bad
push eax
call ebx
test eax, eax
je 0x10062bad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106595d4]
call ebx
test eax, eax
je 0x10062bc8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10062bca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100503cd
mov esp, ebp
pop ebp
ret