joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d230
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
sub esp, 0x100
push ebp
push esi
push edi
xor esi, esi
push str.OnceMutex
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x48d2a6
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x110]
push 0x100
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x15
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
lea edx, [esp + 0x10]
push str.Info
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov ecx, 0x41e5
xor eax, eax
mov edi, 0x5c8938
push 0x59c
rep stosd dword es:[edi], eax
call fcn.004b7e62
add esp, 4
test eax, eax
je 0x48d2cc
mov ecx, eax
call fcn.0048a690
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [0x5c8890]
push 1
call fcn.0048bf40
test eax, eax
jne 0x48d2f0
push 0x1f4
call edi
inc esi
cmp esi, 3
jl 0x48d2d2
mov ecx, dword [0x5c8890]
cmp dword [ecx + 0x578], 1
jne 0x48d359
test ecx, ecx
je 0x48d309
mov eax, dword [ecx]
push 1
call dword [eax]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x5c8890]
push 0x16
stosb byte es:[edi], al
call fcn.0048cd00
push 0
lea edx, [esp + 0x10]
push str.Info
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov eax, dword [esp + 0x118]
push eax
call fcn.0048d1e0
add esp, 4
test eax, eax
jne 0x48d3b3
mov ecx, 0x3f
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x5c8890]
push 0x17
stosb byte es:[edi], al
call fcn.0048cd00
push 0
lea edx, [esp + 0x10]
push str.Info
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
mov ecx, dword [0x5c8890]
call fcn.0048c7e0
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x110]
push 6
push eax
push ecx
mov ecx, dword [0x5c8890]
call fcn.0048b400
test eax, eax
je 0x48d3ec
mov ecx, dword [0x5c8890]
call fcn.0048bb50
jmp 0x48d406
mov eax, dword [0x5c8890]
mov ecx, dword [eax + 0x10]
call fcn.00411390
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x5c8890]
push 0
call fcn.0048bf40
mov ecx, dword [0x5c8890]
test ecx, ecx
je 0x48d432
call fcn.0048b950
mov ecx, dword [0x5c8890]
test ecx, ecx
je 0x48d432
mov edx, dword [ecx]
push 1
call dword [edx]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
push 0
push 0
push str.http:__bbs.o2jam.cc_exit.htm
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret 0x10
Function at 0x40b1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441788
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x451390]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x451390]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov dword [esp + 0x30], 0
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
lea edx, [esp + 8]
push edx
call eax
test al, al
je 0x40b24a
cmp dword [esp + 0x1c], 0
je 0x40b24a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov eax, edx
cmp ecx, 0x10
jae 0x40b219
lea eax, [esp + 0xc]
cmp byte [eax], 0x42
je 0x40b233
mov eax, edx
cmp ecx, 0x10
jae 0x40b229
lea eax, [esp + 0xc]
cmp byte [eax], 0x62
mov esi, 1
jne 0x40b238
mov esi, 2
cmp ecx, 0x10
jb 0x40b246
push edx
call fcn.004260c9
add esp, 4
mov eax, esi
jmp 0x40b260
cmp dword [esp + 0x20], 0x10
jb 0x40b25e
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004260c9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004260d4
add esp, 0x2c
ret

Function at 0x40b9e0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4432ed
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
mov eax, dword [0x451390]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x452fe0], bl
je 0x40ba60
call fcn.00416ae0
cmp eax, 3
jg 0x40ba60
cmp dword [esi + 0x14], ebx
jne 0x40ba60
push 3
push 0x95
push str...commonlm_chromium.cpp
lea ecx, [esp + 0x28]
call fcn.00418f40
mov dword [esp + 0xb0], ebx
add eax, 4
push str.Check_failed:__log_file_path.empty__.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00401ce0
add esp, 8
mov dword [esp + 0xb0], 0xffffffff
test bl, 1
je 0x40ba79
lea ecx, [esp + 0x1c]
call fcn.00418ca0
cmp dword [esi + 0x18], 8
jb 0x40ba84
mov eax, dword [esi + 4]
jmp 0x40ba87
lea eax, [esi + 4]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40bae0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.0040b2f0
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40bafa
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0040b2f0
xor al, al
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret
cmp dword [esp + 0x18], 0
jl 0x40bb11
jg 0x40bb0d
cmp dword [esp + 0x14], 0x1400000
jbe 0x40bb11
mov bl, 1
jmp 0x40bb13
xor bl, bl
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0040b2f0
mov al, bl
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret
Function at 0x40ca00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443291
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x451390]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x451390]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
call fcn.0041a4f0
lea eax, [esp + 0x10]
push eax
push 9
mov dword [esp + 0x40], 1
call fcn.0041cd00
add esp, 8
test al, al
je 0x40ca7e
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea edx, [esp + 0x18]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.00403430
jmp 0x40caba
push 0xa
push 9
push 0x40c660
call fcn.0041cf60
lea eax, [esp + 0x1c]
push eax
push 9
call fcn.0041cd00
add esp, 0x14
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea edx, [esp + 0x18]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.00403430
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], bl
call fcn.0041a510
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004260d4
add esp, 0x34
ret

Function at 0x4136e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x442332
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push edi
mov eax, dword [0x451390]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x18], eax
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], 0x413670
call edi
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push esi
push ebx
mov dword [esp + 0xd8], 0xffffffff
call edi
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
push ebx
push 0xfffffffffffffffd
push 0x64
push 0xc8
push ebx
push 0x80000000
push 0xcf0000
push str.WMI_Window
mov ecx, esi
call eax
push eax
push 0x8000080
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp byte [0x452fe0], bl
je 0x4137fb
call fcn.00416ae0
cmp eax, 3
jg 0x4137fb
cmp dword [esi + 4], ebx
jne 0x4137fb
push 3
push 0xa4
push str..WMIwmi_window.cpp
lea ecx, [esp + 0x48]
call fcn.00418f40
add eax, 4
push str.Check_failed:_wnd____NULL.
mov dword [esp + 0xd4], 1
mov ebx, 2
push eax
mov dword [esp + 0x18], ebx
call fcn.00401ce0
add esp, 8
mov dword [esp + 0xd0], 0xffffffff
test bl, 2
je 0x413814
lea ecx, [esp + 0x3c]
call fcn.00418ca0
xor eax, eax
cmp dword [esi + 4], eax
setne al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xc8
ret
Function at 0x417a30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x284
mov eax, dword [0x451390]
xor eax, esp
mov dword [esp + 0x280], eax
push esi
mov esi, dword [esp + 0x28c]
cmp dword [esi + 0x14], 0
je 0x417b80
cmp byte [0x452ff4], 0
je 0x417b80
push 0x104
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x7c]
push 0x5c
push ecx
call fcn.00427492
add esp, 8
test eax, eax
je 0x417a91
xor edx, edx
mov word [eax + 2], dx
push str.debug_message.exe
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.0042805a
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x417aba
mov ecx, dword [esi + 4]
mov dword [esp + 4], ecx
jmp 0x417ac1
lea edx, [esi + 4]
mov dword [esp + 4], edx
mov eax, dword [esi + 0x14]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x10], eax
call fcn.0041f340
add esp, 8
cmp dword [esp + 0x74], 0
je 0x417b77
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00427fe0
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x78], 8
mov dword [esp + 0x1c], 0x44
jae 0x417b0d
lea eax, [esp + 0x64]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x417b59
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
jmp 0x417b77
push 0x40010
push 0x4453cc
push 0
lea ecx, [esp + 0x6c]
call fcn.00417470
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x60]
call fcn.004031c0
mov ecx, dword [esp + 0x284]
pop esi
xor ecx, esp
call fcn.004260d4
add esp, 0x284
ret
Function at 0x41fa40
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x41fa59
mov dword [esp + 0x14], edi
jmp 0x41fa6d
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fa60
sub eax, edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0041f340
mov ebp, 8
add esp, 8
cmp dword [eax + 0x18], ebp
jb 0x41fa8e
mov eax, dword [eax + 4]
jmp 0x41fa91
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0
push 0
push eax
call ebx
mov esi, eax
cmp dword [esp + 0x4c], ebp
jb 0x41fab3
mov edx, dword [esp + 0x38]
push edx
call fcn.004260c9
add esp, 4
test esi, esi
jne 0x41fac3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x40
ret 8
cmp dword [esp + 0x58], 0
je 0x41fbb8
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00425b92
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], edi
test edi, edi
jne 0x41faf9
mov dword [esp + 0x14], edi
jmp 0x41fb0d
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fb00
sub eax, edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0041f340
mov edi, 8
add esp, 8
cmp dword [eax + 0x18], edi
jb 0x41fb2e
mov eax, dword [eax + 4]
jmp 0x41fb31
add eax, 4
push esi
push ebp
push eax
call ebx
cmp dword [esp + 0x4c], edi
jb 0x41fb49
mov edx, dword [esp + 0x38]
push edx
call fcn.004260c9
add esp, 4
push ebp
lea ecx, [esp + 0x38]
call fcn.00403180
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041f2f0
mov ecx, dword [esp + 0x60]
add esp, 8
push 0xffffffffffffffff
push 0
push eax
call fcn.00401970
cmp dword [esp + 0x30], 0x10
jb 0x41fb87
mov edx, dword [esp + 0x1c]
push edx
call fcn.004260c9
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
cmp dword [esp + 0x4c], edi
jb 0x41fbaf
mov eax, dword [esp + 0x38]
push eax
call fcn.004260c9
add esp, 4
push ebp
call fcn.0042658a
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x40
ret 8
Function at 0x422c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x422c2f
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x422c50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x264
mov eax, dword [0x451390]
xor eax, esp
mov dword [esp + 0x260], eax
push esi
mov esi, dword [esp + 0x26c]
lea eax, [esp + 0x58]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x422cf2
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 8]
call fcn.00403180
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x44]
call fcn.0041a8b0
mov ecx, eax
call fcn.0041b0a0
push eax
mov ecx, esi
call fcn.0041ab00
lea ecx, [esp + 0x20]
call fcn.0041a510
lea ecx, [esp + 0x3c]
call fcn.0041a510
cmp dword [esp + 0x1c], 8
jb 0x422cda
mov ecx, dword [esp + 8]
push ecx
call fcn.004260c9
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004260d4
add esp, 0x264
ret
mov ecx, dword [esp + 0x264]
pop esi
xor ecx, esp
xor al, al
call fcn.004260d4
add esp, 0x264
ret

Function at 0x422d10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x451390]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
mov esi, dword [esp + 0x268]
lea ecx, [esp + 0x58]
push ecx
xor eax, eax
push 0x104
mov word [esp + 0x60], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x422dbc
cmp eax, 0x104
ja 0x422dbc
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
call fcn.00403180
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.0041a8b0
mov ecx, eax
call fcn.0041b0a0
push eax
mov ecx, esi
call fcn.0041ab00
lea ecx, [esp + 4]
call fcn.0041a510
lea ecx, [esp + 0x20]
call fcn.0041a510
cmp dword [esp + 0x54], 8
jb 0x422da4
mov edx, dword [esp + 0x40]
push edx
call fcn.004260c9
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.004260d4
add esp, 0x260
ret
mov ecx, dword [esp + 0x260]
pop esi
xor ecx, esp
xor al, al
call fcn.004260d4
add esp, 0x260
ret
Function at 0x4260d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451390]
jne 0x4260de
repz ret
jmp fcn.0042dab2

Function at 0x43b8cd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042e12f
and dword [ebp - 4], 0
cmp dword [0x454908], 0
mov ebx, eax
jne 0x43b97e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ba2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43ba2f
push eax
call fcn.0042e0bd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x454908], eax
call esi
push eax
call fcn.0042e0bd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45490c], eax
call esi
push eax
call fcn.0042e0bd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x454910], eax
call esi
push eax
call fcn.0042e0bd
pop ecx
mov dword [0x454918], eax
test eax, eax
je 0x43b97e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042e0bd
pop ecx
mov dword [0x454914], eax
mov eax, dword [0x454914]
cmp eax, ebx
je 0x43b9d6
cmp dword [0x454918], ebx
je 0x43b9d6
push eax
call fcn.0042e138
push dword [0x454918]
mov esi, eax
call fcn.0042e138
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43b9d6
test edi, edi
je 0x43b9d6
call esi
test eax, eax
je 0x43b9cd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b9cd
test byte [ebp - 0xc], 1
jne 0x43b9d6
or dword [ebp + 0x10], 0x200000
jmp 0x43ba0f
mov eax, dword [0x45490c]
cmp eax, ebx
je 0x43ba0f
push eax
call fcn.0042e138
pop ecx
test eax, eax
je 0x43ba0f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43ba0f
mov eax, dword [0x454910]
cmp eax, ebx
je 0x43ba0f
push eax
call fcn.0042e138
pop ecx
test eax, eax
je 0x43ba0f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x454908]
call fcn.0042e138
pop ecx
test eax, eax
je 0x43ba2f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ba31
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x4be34cf5
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x4aa43fa7
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10003120
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x10003153
cmp byte [0x10056b60], 0
mov eax, dword [0x10056b84]
sete cl
mov byte [0x10056b60], cl
mov byte [eax + 0x44], cl
test cl, cl
je 0x10003153
push 0
call dword [sym.imp.USER32.dll_SetCursor]
push 0x24
call esi
test al, 1
je 0x10003186
mov ecx, dword [0x10056c20]
mov dl, byte [ecx + 0xa]
test dl, dl
sete al
mov byte [ecx + 0xa], al
xor eax, eax
test dl, dl
mov ecx, 5
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x23
call esi
test ax, ax
je 0x10003196
mov byte [0x100562b4], 0
mov eax, dword [0x1005635c]
xor esi, esi
mov ecx, dword [0x10056358]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100031cd
nop dword [eax]
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x1005635c]
inc esi
mov ecx, dword [0x10056358]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100031b0
pop esi
ret

Function at 0x100033e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [ebp + 0xc], 1
jne 0x1000340b
push 0x10056be4
push 0
push dword [ebp + 8]
push 0x100031d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10009720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100490a7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10056040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], 0
lea ecx, [edi + 0x68]
mov dword [edi], 0x1004b16c
mov dword [edi + 0x10], 0x1004b174
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
push esi
mov ecx, edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov dword [ebp + 8], eax
cmp ecx, 0xf
jbe 0x100097d2
mov edx, dword [edi]
inc ecx
jmp 0x100097ec
push 0x11
call fcn.1004713b
movups xmm0, xmmword [edi]
mov edx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, 0x11
movups xmmword [edx], xmm0
mov dword [edi + 0x10], 0
add eax, edx
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x38]
sub ecx, edx
mov dword [eax], edx
mov eax, dword [esi + 0x1c]
mov dword [eax], edx
mov eax, dword [esi + 0x2c]
mov dword [eax], ecx
mov dword [esi + 0x3c], 0x21
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc