joyce8/EMBER2024-capa huggingface dataset:
Function at 0x111442d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
call dword [sym.imp.KeRneL32.DLl_GetModuleHandleA]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KeRneL32.DLl_GetModuleFileNameA]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x108]
mov dword [edi], 0
push eax
mov dword [ebx], 0
call sub.VeRsion.DLl_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x11144365
push esi
call fcn.11163a11
mov ecx, dword [ebp - 0x114]
add esp, 4
push eax
push esi
push ecx
lea edx, [ebp - 0x108]
push edx
mov dword [ebp - 0x10c], eax
call sub.VeRsion.DLl_GetFileVersionInfoA
test eax, eax
mov eax, dword [ebp - 0x10c]
jne 0x1114437a
push eax
call fcn.11163aa5
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x110]
push edx
push 0x1119a5bc
push eax
call sub.VeRsion.DLl_VerQueryValueA
mov esi, eax
cmp esi, 1
jne 0x111443aa
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx], edx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.11163aa5
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x11145240
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x111452ca
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11145250
sub eax, edx
je 0x111452ca
push edi
call dword [sym.imp.KeRneL32.DLl_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x11145275
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
pop edi
mov eax, ecx
pop ebp
ret
push esi
push edi
call fcn.11164bb8
mov esi, eax
push 0x5c
push esi
call fcn.11081e00
add esp, 0xc
test eax, eax
je 0x111452c1
push esi
mov byte [eax], 0
call fcn.11145240
add esp, 4
push esi
test eax, eax
jne 0x111452ac
call fcn.11163aa5
add esp, 4
pop esi
xor eax, eax
pop edi
pop ebp
ret
call fcn.11163aa5
add esp, 4
push 0
push edi
call dword [sym.imp.KeRneL32.DLl_CreateDirectoryA]
test eax, eax
je 0x111452a6
pop esi
mov eax, 1
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret
Function at 0x111457a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x314], esi
cmp esi, 7
jl 0x111457d9
push 0x1e1
push 0x111bd07c
push 0x111bd094
call fcn.11029a70
add esp, 0xc
test esi, esi
jne 0x111457ed
mov dword [ebp - 0x314], 1
mov esi, dword [ebp - 0x314]
cmp dword [esi*4 + 0x111f1f84], 0
jne 0x11145971
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.110963a0
push eax
call dword [sym.imp.KeRneL32.DLl_GetModuleFileNameA]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.11081e00
add esp, 8
mov byte [eax + 1], 0
cmp esi, 1
jle 0x11145959
push edi
mov edi, dword [sym.imp.sHFOlDer.dLl_SHGetFolderPathA]
lea edx, [ebp - 0x310]
push edx
push 0
push 0
push 0x26
push 0
mov byte [ebp - 0x310], 0
call edi
mov eax, dword [ebp - 0x314]
or esi, 0xffffffff
sub eax, 3
je 0x1114588b
dec eax
je 0x11145884
dec eax
je 0x1114587d
push 0x212
push 0x111bd07c
push 0x111bd364
call fcn.11029a70
add esp, 0xc
jmp 0x11145890
mov esi, 0x1c
jmp 0x11145890
mov esi, 0x23
jmp 0x11145890
mov esi, 0x1a
lea eax, [ebp - 0x108]
push eax
push 0
push 0
or esi, 0x8000
push esi
push 0
mov byte [ebp - 0x108], 0
call edi
call fcn.11143a20
xor ecx, ecx
cmp eax, 0x14
setge cl
add ecx, 0xa
push ecx
call fcn.1102ad70
lea edi, [ebp - 0x108]
add esp, 4
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x111458d0
mov dx, word [0x1119a5bc]
mov word [edi], dx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x111458e4
lea edi, [ebp - 0x108]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x111458f6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.11145240
add esp, 4
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x108]
mov byte [ebp + eax - 0x20c], cl
inc eax
test cl, cl
jne 0x11145920
lea edi, [ebp - 0x20c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x11145940
mov cx, word [0x1119a5bc]
mov esi, dword [ebp - 0x314]
mov word [edi], cx
pop edi
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.11142e60
add esp, 8
mov dword [esi*4 + 0x111f1f84], eax
mov ecx, dword [ebp - 4]
mov eax, dword [esi*4 + 0x111f1f84]
xor ecx, ebp
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11145990
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KeRneL32.DLl_ExpandEnvironmentStringsA]
mov al, byte [ebp - 0x108]
test al, al
je 0x111459df
cmp al, 0x5c
je 0x111459d4
cmp byte [ebp - 0x107], 0x3a
jne 0x111459df
push 0
lea edx, [ebp - 0x108]
push edx
jmp 0x11145a53
cmp esi, 1
jne 0x111459fe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.110963a0
push eax
call dword [sym.imp.KeRneL32.DLl_GetModuleFileNameA]
jmp 0x11145a1a
push esi
call fcn.111457a0
lea edx, [ebp - 0x20c]
add esp, 4
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x11145a10
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.11081e00
lea ecx, [ebp - 0x108]
lea edx, [eax + 1]
mov byte [eax + 1], 0
mov eax, ecx
add esp, 8
sub edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x11145a40
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.11142e60
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11145c70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x111f1ef0], 0
push esi
jne 0x11145e6c
push 0x111f1ef0
mov dword [0x111f1ef0], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
cmp dword [0x111f1ef4], 6
jne 0x11145e6c
cmp dword [0x111f1ef8], 2
jne 0x11145e6c
lea eax, [ebp - 0x9c]
push eax
push 1
push 0
push 0x1119bf1c
push reloc.wsOcK32.dll_bind
mov dword [ebp - 0x9c], 0
call dword [sym.imp.aDvapi32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x11145e6c
push 0x7f
push eax
lea ecx, [ebp - 0x97]
push ecx
mov byte [ebp - 0x98], al
call fcn.11162be0
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0x111bd390
push ecx
mov dword [ebp - 0xb4], 0x80
call fcn.11143bd0
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x1119bf0c
push ecx
mov dword [ebp - 0xac], 0x14
call fcn.11143bd0
add esp, 0x3c
test eax, eax
jne 0x11145e5f
lea edx, [ebp - 0x18]
push edi
push edx
call fcn.11163ca7
mov edi, eax
movsx eax, byte [ebp - 0x18]
push eax
lea esi, [ebp - 0x18]
call fcn.111648ed
add esp, 8
test eax, eax
je 0x11145d96
movsx ecx, byte [esi + 1]
inc esi
push ecx
call fcn.111648ed
add esp, 4
test eax, eax
jne 0x11145d84
cmp byte [esi], 0
je 0x11145d9c
inc esi
push esi
call fcn.11163ca7
add esp, 4
mov esi, eax
cmp edi, 6
jl 0x11145e5e
push 0x7f
lea edx, [ebp - 0x98]
push edx
push 0x111f1f04
mov dword [0x111f1ef4], edi
mov dword [0x111f1ef8], esi
call fcn.11164ed0
add esp, 0xc
cmp edi, 6
jne 0x11145e5e
cmp esi, 3
jne 0x11145e5e
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
push 0x1119bef0
mov esi, 4
push edx
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], esi
call fcn.11143bd0
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xa8]
push ecx
push 0
push 0
push 0x1119bed4
push edx
mov dword [ebp - 0xb0], esi
call fcn.11143bd0
mov eax, dword [ebp - 0xa0]
add esp, 0x30
test eax, eax
je 0x11145e5e
mov dword [0x111f1ef4], eax
mov eax, dword [ebp - 0xa8]
mov dword [0x111f1ef8], eax
pop edi
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
cmp dword [0x111f1f00], 2
je 0x11145e86
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [0x111f1ef4]
cmp ecx, eax
jb 0x11145e75
jne 0x11145ed4
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x111f1ef8]
cmp ecx, eax
jb 0x11145e75
jne 0x11145ed4
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x11145ed4
push 0xc
push 0x111bd380
push 0x111f1f04
call fcn.11081f20
add esp, 0xc
test eax, eax
jne 0x11145e75
push 0x111f1f11
call fcn.11163ca7
add esp, 4
cmp eax, esi
jl 0x11145e75
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11146010
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x111eb844]
cmp eax, 0xffffffff
jne 0x1114610d
call fcn.11145f00
mov dword [0x111eb844], eax
cmp eax, 0xffffffff
jne 0x1114610d
push ebx
push esi
push edi
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.11162be0
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
push 0x1119beb0
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x111460ca
push 0x111bd300
push esi
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
test eax, eax
je 0x111460be
call eax
movzx edi, ax
mov ebx, edi
and ebx, 0x3ff
push esi
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
test di, di
jne 0x111460db
call dword [sym.imp.KeRneL32.DLl_GetSystemDefaultLangID]
mov edx, 0x3ff
and ax, dx
movzx ebx, ax
mov eax, dword [ebp - 0x88]
cmp eax, 2
jne 0x1114611b
cmp bx, 1
je 0x111460f2
cmp bx, 0xd
jne 0x111460fb
cmp dword [ebp - 0xa0], 5
jae 0x11146134
mov dword [0x111eb844], 0
mov eax, dword [0x111eb844]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x11146105
cmp bx, ax
je 0x1114612b
cmp bx, 0xd
jne 0x111460fb
cmp dword [ebp - 0x9c], 0
je 0x111460fb
mov dword [0x111eb844], 1
jmp 0x11146105

Function at 0x11146270
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push 0
mov dword [0x111eb848], 0
call fcn.11143ce0
add esp, 4
push 0x111bd50c
call dword [sym.imp.KeRneL32.DLl_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x11146298
pop esi
ret
push edi
mov edi, dword [sym.imp.KeRneL32.DLl_GetProcAddress]
push 0x111bd4fc
push esi
call edi
push 0x111bd4ec
push esi
mov dword [0x111f1ea0], eax
call edi
push 0x111bd4d4
push esi
mov dword [0x111f1e9c], eax
call edi
push 0x111bd4bc
push esi
mov dword [0x111f1e98], eax
call edi
push 0x111bd4ac
push esi
mov dword [0x111f1e94], eax
call edi
push 0x111bd49c
push esi
mov dword [0x111f1e90], eax
call edi
push 0x111bd47c
push esi
mov dword [0x111f1e8c], eax
call edi
push 0x111bd468
push esi
mov dword [0x111f1e88], eax
call edi
push 0x111bd454
push esi
mov dword [0x111f1e84], eax
call edi
push 0x111bd43c
push esi
mov dword [0x111f1e80], eax
call edi
pop edi
mov dword [0x111f1e7c], eax
mov eax, 1
pop esi
ret
Function at 0x11146370
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x111eb848], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
je 0x11146399
call fcn.11146270
cmp dword [0x111f1e90], 0
je 0x11146402
mov eax, dword [0x111f1e7c]
test eax, eax
je 0x111463d9
cmp eax, 0xffffffff
je 0x111463e3
push 0x111f1ea8
call eax
mov eax, dword [ebp + 8]
add esp, 4
push edi
push esi
push eax
call dword [0x111f1e90]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov dword [0x111f1e7c], 0xffffffff
mov eax, dword [ebp + 8]
push edi
push esi
push eax
call dword [0x111f1e90]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
cmp dword [0x111f1d74], 0
je 0x111464ae
push 0x111f1ea8
lea ecx, [ebp - 0x50c]
push 0x111bd518
push ecx
call dword [sym.imp.uSEr32.dll_wsprintfA]
lea eax, [ebp - 0x50c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11146432
push edi
sub eax, edx
push esi
lea edx, [ebp + eax - 0x50c]
push edx
call dword [sym.imp.uSEr32.dll_wvsprintfA]
lea eax, [ebp - 0x50c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11146454
sub eax, edx
cmp eax, 0x3fc
jbe 0x1114646a
mov byte [ebp - 0x110], cl
lea eax, [ebp - 0x50c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11146473
sub eax, edx
cmp byte [ebp + eax - 0x50d], 0xa
je 0x111464a1
lea edi, [ebp - 0x50c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x11146490
mov ax, word [0x1119f2e8]
mov word [edi], ax
lea ecx, [ebp - 0x50c]
push ecx
call dword [sym.imp.KeRneL32.DLl_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11146570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [ebp - 0x314], eax
call fcn.111457a0
mov edi, dword [sym.imp.uSEr32.dll_wsprintfA]
push eax
lea ecx, [ebp - 0x108]
push 0x1119e6b8
push ecx
call edi
mov ebx, dword [ebp + 0x10]
add esp, 0x10
test ebx, 0x20000
je 0x1114668f
push 0
push 0
push 6
call fcn.11145c70
add esp, 0xc
test eax, eax
je 0x1114668f
lea edx, [ebp - 0x108]
push 0
push edx
call fcn.11143e00
add esp, 8
test eax, eax
je 0x1114668f
push esi
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x310]
push 0x1119e6b0
push ecx
call edi
push 0x44
lea edx, [ebp - 0x368]
push 0
push edx
call fcn.11162be0
add esp, 0x1c
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x368]
push ecx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea edx, [ebp - 0x310]
push edx
push 0
mov dword [ebp - 0x368], 0x44
call dword [sym.imp.KeRneL32.DLl_CreateProcessA]
test eax, eax
je 0x1114668f
test bl, 1
jne 0x11146666
mov eax, dword [ebp - 0x324]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
mov ecx, dword [ebp - 0x320]
mov esi, dword [sym.imp.KeRneL32.DLl_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x324]
push edx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x314]
push ebx
push eax
push esi
call dword [sym.imp.WinMM.DlL_PlaySoundA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11146e60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
call dword [sym.imp.uSEr32.dll_GetDC]
mov ebx, dword [sym.imp.Gdi32.Dll_CreateCompatibleDC]
mov esi, eax
push esi
mov dword [ebp - 8], esi
call ebx
mov edi, eax
push 8
push edi
call fcn.11146140
add esp, 8
push esi
call ebx
mov esi, eax
call fcn.11146010
test eax, eax
je 0x11146ea7
push 1
push esi
call fcn.11146140
add esp, 8
movzx ecx, word [ebp + 0x10]
push ecx
mov dword [ebp - 0xc], 0xff00ff
call fcn.110963b0
push eax
call dword [sym.imp.uSEr32.dll_LoadBitmapA]
lea edx, [ebp - 0x2c]
push edx
push 0x18
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.Gdi32.Dll_GetObjectA]
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push ecx
push edi
mov ebx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x10], eax
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
add eax, 0xa
push eax
lea ecx, [ebx + 0xa]
push ecx
push edx
call dword [sym.imp.Gdi32.Dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
add eax, 0xa
push eax
lea eax, [ebx + 0xa]
push eax
push 0
push 0
push esi
call fcn.11143070
mov edx, dword [ebp + 0x10]
add esp, 0x18
mov ecx, ebx
imul ecx, dword [ebp + 0x14]
push 0xcc0020
push 0
push ecx
push edi
push edx
push ebx
push 0
push 0
push esi
call dword [sym.imp.Gdi32.Dll_BitBlt]
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.Gdi32.Dll_SelectObject]
push eax
push esi
call ebx
mov ecx, dword [ebp - 0x14]
push ecx
push edi
call ebx
push edi
mov edi, dword [sym.imp.Gdi32.Dll_DeleteDC]
call edi
push esi
call edi
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.uSEr32.dll_ReleaseDC]
call fcn.11143ca0
test eax, eax
je 0x11146fb5
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x18]
push ecx
lea edx, [ebp - 0xc]
push edx
push 1
push edi
call fcn.110f0a20
add esp, 0x18
push edi
mov edi, dword [sym.imp.Gdi32.Dll_DeleteObject]
mov esi, eax
call edi
mov eax, dword [ebp - 4]
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.Gdi32.Dll_DeleteObject]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push edx
push 0xff00ff
push eax
call fcn.11142f40
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11147a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push 0x100
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [sym.imp.uSEr32.dll_GetWindowTextA]
test eax, eax
je 0x11147ab8
push esi
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.11147850
mov ecx, dword [ebp + 8]
add esp, 8
mov esi, eax
push esi
push ecx
call dword [sym.imp.uSEr32.dll_SetWindowTextA]
push esi
call fcn.11162777
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret

Function at 0x11147d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
push 0
push 0x4a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
call dword [sym.imp.KeRneL32.DLl_OpenThread]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x11147d9a
push esi
lea eax, [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x11147cc0
push 0x1000
push 0
call dword [sym.imp.KeRneL32.DLl_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
lea edx, [ebp - 4]
push edx
push esi
call dword [sym.imp.KeRneL32.DLl_GetExitCodeThread]
push esi
mov esi, dword [sym.imp.KeRneL32.DLl_CloseHandle]
call esi
mov eax, dword [ebp - 0x1c]
push eax
call esi
pop esi
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x11147fa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.11164040
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1fff
lea eax, [ebp - 0x2003]
push 0
push eax
mov byte [ebp - 0x2004], 0
call fcn.11162be0
push 6
lea ecx, [ebp - 0x2004]
push 0x2000
push ecx
call fcn.11147f60
add esp, 0x18
lea edx, [ebp - 0x2004]
push edx
call dword [sym.imp.KeRneL32.DLl_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11148170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
push 0x11147ea0
mov dword [ebp - 0x210], esi
mov dword [esi], 0
call fcn.110b7db0
push 0x11144d80
call fcn.110b7da0
add esp, 8
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KeRneL32.DLl_GetModuleFileNameA]
lea ecx, [ebp - 0x208]
push ecx
call fcn.11082050
lea edx, [ebp - 0x208]
push 0x5c
push edx
call fcn.11081e00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x111481e5
inc edi
jmp 0x111481ea
mov edi, 0x111bd850
push 0x2e
push edi
call fcn.11081d30
add esp, 8
test eax, eax
je 0x111481fc
mov byte [eax], 0
push edi
lea eax, [ebp - 0x84]
push 0x111bd844
push eax
call dword [sym.imp.uSEr32.dll_wsprintfA]
mov ebx, dword [sym.imp.KeRneL32.DLl_CreateEventA]
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0
push 0
call ebx
test eax, eax
je 0x11148346
call dword [sym.imp.KeRneL32.DLl_GetLastError]
cmp eax, 0xb7
je 0x11148346
push 0x14
push pe_nt_image_headers32
call dword [sym.imp.KeRneL32.DLl_LocalAlloc]
mov esi, eax
push 1
push esi
mov dword [ebp - 0x20c], esi
call dword [sym.imp.aDvapi32.DLL_InitializeSecurityDescriptor]
push 0
push 0
push 1
push esi
call dword [sym.imp.aDvapi32.DLL_SetSecurityDescriptorDacl]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], 0xc
mov dword [ebp - 0x214], 1
xor esi, esi
inc esi
push esi
push edi
lea edx, [ebp - 0x104]
push 0x111bd838
push edx
call dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
call ebx
mov dword [0x111f1c54], eax
test eax, eax
je 0x111482e8
call dword [sym.imp.KeRneL32.DLl_GetLastError]
cmp eax, 0xb7
jne 0x111482df
mov edx, dword [0x111f1c54]
push edx
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
mov dword [0x111f1c54], 0
jmp 0x111482e8
cmp dword [0x111f1c54], 0
jne 0x111482ed
cmp esi, 0x64
jl 0x11148284
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KeRneL32.DLl_LocalFree]
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
mov dword [0x111f1c58], eax
call ebx
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
push 0x11144dd0
push 0x2000
push 0
mov dword [0x111f1c50], eax
call dword [sym.imp.KeRneL32.DLl_CreateThread]
mov esi, dword [ebp - 0x210]
push 2
push eax
mov dword [esi], eax
call dword [sym.imp.KeRneL32.DLl_SetThreadPriority]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11148360
Capabilities:
Log keystrokes via polling
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1108
call fcn.11164040
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KeRneL32.DLl_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb8]
push ecx
lea edx, [ebp - 0x104]
push 0x111bd85c
push edx
call dword [sym.imp.uSEr32.dll_wsprintfA]
mov ebx, dword [sym.imp.KeRneL32.DLl_OutputDebugStringA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call ebx
push 0
push 0
push esi
call fcn.111449b0
add esp, 0xc
mov dword [ebp - 0x1108], 0
lea ebx, [ebx]
mov ecx, dword [esi + 4]
push ecx
lea edx, [ebp - 0x1104]
push 0x1000
push edx
mov byte [ebp - 0x1104], 0
call fcn.11148010
add esp, 0xc
lea eax, [ebp - 0x1104]
push eax
call ebx
push edi
call dword [sym.imp.KeRneL32.DLl_SetLastError]
push 2
push 0
lea ecx, [ebp - 0x1104]
push 0x1119f114
push ecx
call fcn.110b7f30
add esp, 0x10
push 0x11
call dword [sym.imp.uSEr32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x1114843b
mov eax, dword [ebp - 0x1108]
inc eax
mov dword [ebp - 0x1108], eax
cmp eax, 3
jl 0x111483d0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x111eb850], eax
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 4