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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f48
xor eax, eax
push ebp
push 0x5a4a50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404a88
mov eax, dword [ebp - 4]
mov word [eax + 0x38], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f58
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4fc9c8]
call fcn.0040631c
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f58
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x5a4a1f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5a4a5c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5a49bc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, 4
call fcn.00402bd0
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.00409f14
lea eax, [ebp - 0x28]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404fb8
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x24]
call fcn.00404fb8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
pop ecx
call fcn.00404da4
jmp 0x5a49c9
lea eax, [ebp - 0x24]
mov edx, 0x5a4a80
call fcn.00404b20
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5a4a94
push dword [ebp - 0x24]
push 0x5a4ab0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404e18
mov eax, dword [ebp - 0x30]
call fcn.00404f58
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5a4a1f
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4fd70c]
call fcn.004fdeb4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00404adc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a4a57
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00404aac
lea eax, [ebp - 0x10]
mov edx, dword [0x4fc9c8]
call fcn.0040643c
lea eax, [ebp - 8]
call fcn.00404a88
ret
Function at 0x5ba9d0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
add esp, 0xffffffe4
mov ebx, ecx
mov esi, edx
push 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x5ba9f7
mov eax, dword [esi]
call fcn.00403b74
test bl, bl
je 0x5baa17
push 1
push 0x400
push 0x400
mov eax, dword [0x64349c]
push eax
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_PeekMessageA
mov al, 1
add esp, 0x1c
pop esi
pop ebx
ret
Function at 0x5dced0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x5dced8
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5dd0b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1c]
mov edx, 0x5dd0cc
mov eax, esi
call fcn.00421224
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0xc]
call fcn.00409844
lea ecx, [ebp - 0x20]
mov edx, 0x5dd0e4
mov eax, esi
call fcn.00421224
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
call fcn.00409844
lea ecx, [ebp - 0x28]
mov edx, 0x5dd0fc
mov eax, esi
call fcn.00421224
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00409844
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
call fcn.00409580
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x234]
call fcn.005b94c8
lea eax, [ebp - 4]
call fcn.00404a88
mov eax, dword [ebp - 0x14]
mov edx, 0x5dd10c
call fcn.00404ea4
je 0x5dcf8c
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 4]
mov ecx, 0x5dd11c
mov eax, ebx
call fcn.0055c0b0
jmp 0x5dcfa1
mov eax, dword [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 4]
mov ecx, 0x5dd11c
mov eax, ebx
call fcn.0055c0b0
mov eax, dword [ebp - 0x10]
push eax
push 0
lea edx, [ebp - 4]
mov ecx, 0x5dd12c
mov eax, ebx
call fcn.0055c0b0
cmp dword [ebp - 4], 0
je 0x5dcfc9
lea eax, [ebp - 4]
mov edx, 0x5dd140
call fcn.00404d60
lea eax, [ebp - 8]
call fcn.00404a88
mov eax, dword [ebp - 0x14]
mov edx, 0x5dd10c
call fcn.00404ea4
je 0x5dd038
cmp dword [ebp - 0xc], 0
jne 0x5dd038
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x5dd11c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea ecx, [ebp - 0x48]
mov dl, 0x27
mov eax, dword [ebp - 0x18]
call fcn.00409968
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, 0x5dd11c
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x44]
mov ecx, 2
mov eax, 0x5dd150
call fcn.0040b030
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.005d90b8
lea edx, [ebp - 8]
mov ecx, 0x5dd198
mov eax, ebx
call fcn.005d90b8
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x5c]
mov ecx, 1
mov eax, 0x5dd1b4
call fcn.0040b030
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x21c]
mov eax, dword [ebx + 0xc]
call fcn.0050f0d8
mov ebx, dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dd0b9
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404aac
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00404aac
ret
Function at 0x5def44
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x5def4c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5df0f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov dl, byte [esi + 0x41]
call fcn.00416434
lea ecx, [ebp - 0x10]
mov edx, 0x416
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x20]
xor edx, edx
mov dl, byte [esi + 0x40]
mov cl, 1
call fcn.00416244
lea ecx, [ebp - 0x20]
mov edx, 0x3f0
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x30]
mov dl, byte [esi + 0x30]
call fcn.00416434
lea ecx, [ebp - 0x30]
mov edx, 0x413
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x40]
xor edx, edx
mov dl, byte [esi + 0x31]
mov cl, 1
call fcn.00416244
lea ecx, [ebp - 0x40]
mov edx, 0x40
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x50]
mov edx, dword [esi + 0x34]
call fcn.00416498
lea ecx, [ebp - 0x50]
mov edx, 0x412
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x60]
mov dl, byte [esi + 0x38]
call fcn.00416434
lea ecx, [ebp - 0x60]
mov edx, 0x3ff
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x70]
mov dl, byte [esi + 0x43]
call fcn.00416434
lea ecx, [ebp - 0x70]
mov edx, 0x409
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x80]
mov edx, dword [esi + 0x44]
mov cl, 0xfc
call fcn.00416244
lea ecx, [ebp - 0x80]
mov edx, 0x40a
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0x90]
mov edx, dword [esi + 0x48]
mov cl, 0xfc
call fcn.00416244
lea ecx, [ebp - 0x90]
mov edx, 5
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0xa0]
xor edx, edx
mov dl, byte [esi + 0x4c]
mov cl, 1
call fcn.00416244
lea ecx, [ebp - 0xa0]
mov edx, 0x415
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0xb0]
mov edx, dword [esi + 0x50]
call fcn.00416498
lea ecx, [ebp - 0xb0]
mov edx, 0x414
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
lea eax, [ebp - 0xc0]
mov edx, dword [esi + 0x54]
call fcn.00416498
lea ecx, [ebp - 0xc0]
mov edx, 0x417
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x58]
mov eax, dword [esi + 0x28]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5df0ff
lea eax, [ebp - 0xc0]
mov edx, dword [0x401144]
mov ecx, 0xc
call fcn.00405840
ret
Function at 0x608614
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404f48
xor eax, eax
push ebp
push 0x608755
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404a88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x608732
mov eax, ebx
call fcn.00402884
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x608764
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00409ec4
push dword [ebp - 0x14]
push 0x608770
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00409ec4
push dword [ebp - 0x18]
push 0x608770
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00409ec4
push dword [ebp - 0x1c]
mov eax, edi
mov edx, 5
call fcn.00404e18
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0xc]
and ebx, 0xffff
test ebx, ebx
jbe 0x60872b
push dword [edi]
push 0x60877c
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409ec4
push dword [ebp - 0x20]
mov eax, edi
mov edx, 3
call fcn.00404e18
mov eax, esi
call fcn.004028a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60875c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404aac
lea eax, [ebp - 4]
call fcn.00404a88
ret
Function at 0x622f94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6230a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x390]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x622fe1
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x300]
call fcn.004725d8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040a6c4
jmp 0x622ffb
lea edx, [ebp - 0x14]
mov eax, dword [0x643f9c]
mov eax, dword [eax]
call fcn.004933dc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xc]
call fcn.0040a6c4
lea eax, [ebp - 4]
mov ecx, 0x6230bc
mov edx, dword [ebp - 0xc]
call fcn.00404da4
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x74]
push 0x6230d4
push dword [ebp - 4]
push 0x6230e4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404e18
push 8
lea edx, [ebp - 0x1c]
mov eax, dword [0x643f9c]
mov eax, dword [eax]
call fcn.004933dc
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040a6c4
mov eax, dword [ebp - 0x18]
call fcn.00404f58
push eax
mov eax, dword [ebp - 8]
call fcn.00404f58
push eax
push 0x6230e8
push 0x6230f0
mov eax, dword [0x643f9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6230ae
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404aac
lea eax, [ebp - 0x10]
call fcn.00404a88
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404aac
ret
Function at 0x62a458
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x62a4c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x6436c8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x62a4b3
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0062a448
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x62a254]
call fcn.0062a4f0
mov dword [0x64372c], eax
mov eax, dword [ebp - 4]
call fcn.0062a3f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a4d0
lea eax, [ebp - 8]
call fcn.00406af4
ret
Function at 0x411539
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x42c668
call fcn.00411d81
push 1
call fcn.00411884
pop ecx
test al, al
jne 0x411558
push 7
call fcn.00411b88
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041184f
mov byte [ebp - 0x24], al
mov eax, dword [0x42ed34]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x411551
test eax, eax
jne 0x4115c2
mov dword [0x42ed34], ecx
push 0x4252c0
push 0x4252a4
call fcn.0041a3ca
pop ecx
pop ecx
test eax, eax
je 0x4115a5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4116a9
push 0x4252a0
push 0x425298
call fcn.0041a36e
pop ecx
pop ecx
mov dword [0x42ed34], 2
jmp 0x4115c7
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004119e1
pop ecx
call fcn.00411b7c
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4115f7
push esi
call fcn.00411954
pop ecx
test al, al
je 0x4115f7
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00411d7b
call esi
call fcn.00411b82
mov esi, eax
cmp dword [esi], edi
je 0x411615
push esi
call fcn.00411954
pop ecx
test al, al
je 0x411615
push dword [esi]
call fcn.0041a68c
pop ecx
push edi
call fcn.00414a0f
pop ecx
call fcn.00411c9d
movzx eax, ax
push eax
call fcn.0041a31b
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call fcn.00414aab
pop ecx
call fcn.0041a59b
test al, al
jne 0x41164e
push esi
call fcn.0041a6c4
test bl, bl
jne 0x411657
call fcn.0041a667
push edi
push 1
call fcn.004119fe
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4116a9
call fcn.00411dc7
ret
call fcn.00556000
jmp 0x411539
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x4378ab
Capabilities:
Encode data using xor

Disassembly:
test eax, 0x9941fb1
cld
invalid
inc edi
jb 0x43787a
sub eax, 0x9aacd8a
inc edi
jb 0x437844
mov edx, 0x8c088073
xchg byte [ebx + ebp*8 - 0x20], al
invalid
push cs
idiv dword [ecx + 0x76]
loop 0x437868
mov dh, 0xe4
dec esp
xor al, 0x30
adc eax, 0x77b34c02
ja 0x43788b
adc dl, byte [esi + 0x42]
in al, 0xfb
mov ebp, dword [esi - 0x7ff3ed8a]
les eax, [edi - 0x3a3fd925]
js 0x437869
mov byte [ebx + 0x39], dl
leave
pop eax
sahf
xor al, 0x68
jns 0x43790e
invalid
invalid

Function at 0x438953
Capabilities:
Encode data using xor

Disassembly:
or edx, dword [esi]
sub al, byte [esi]
dec edx
push eax
or cl, byte [edx - 0x6f64821e]
invalid

Function at 0x46524f
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x8b8965d9
daa
pop ds
imul edi, dword [edx + ecx*4], 0x6d896ba3
fcomp qword [edx + 0x52]
invalid

Function at 0x48ab33
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xf1113e44
and byte [ebx + esi*2 - 0x27397e7e], dh
lds esi, [esp + ebp*2]
mov ah, 0x7e
jno 0x48aad0
jp fcn.0048ab1b
and dword [edi], ebx
out 0x6f, eax
outsd dx, dword [esi]
jl 0x48aaff
invalid
mov dword [eax - 0x30], edx
invalid

Function at 0x4ba50d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c23d0
cmp edx, dword [eax]
je 0x4ba52f
add eax, 8
inc ecx
cmp eax, 0x4c2460
jl 0x4ba520
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c23d0]
jne 0x4ba65d
mov eax, dword [0x4c6d5c]
cmp eax, 1
je 0x4ba637
test eax, eax
jne 0x4ba560
cmp dword [0x4c22fc], 1
je 0x4ba637
cmp edx, 0xfc
je 0x4ba65d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba597
lea eax, [ebp - 0x1a4]
push 0x4bf890
push eax
call fcn.004baef0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb380
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba5da
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb380
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf88c
push edi
call fcn.004bd250
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bf870
push eax
call fcn.004baef0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004baf00
lea eax, [ebp - 0xa0]
push 0x4bf86c
push eax
call fcn.004baf00
push dword [esi + 0x4c23d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004baf00
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf844
push eax
call fcn.004bd1c4
add esp, 0x2c
pop edi
jmp 0x4ba65d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c23d4]
push 0
push eax
push dword [esi]
call fcn.004bb380
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40109d
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
mov edi, eax
lea eax, [ebp - 0x11c]
push eax
xor ebx, ebx
push 0x104
mov byte [ebp - 2], bl
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
call fcn.004013e3
lea eax, [edi + 0x10]
cmp dword [eax], ebx
jne 0x4010e5
push 0xffffffffffffffff
push dword [edi + 0x18]
mov esi, 0x46f290
push 1
call fcn.0040f849
jmp 0x401136
lea ecx, [ebp - 2]
push ecx
push eax
mov al, byte [0x4638bc]
lea esi, [edi + 0x24]
mov ebx, 0x46f290
call fcn.0040fcac
test al, al
jne 0x40110f
mov dword [0x4638d4], 1
jmp 0x40126c
mov al, byte [0x46f290]
mov byte [edi + 0x14], al
mov al, byte [0x46f291]
mov byte [ebp - 1], al
lea eax, [edi + 0xc]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, 0x46f290
call fcn.0040fc7a
push dword [edi + 0x10]
lea eax, [edi + 0x24]
mov esi, 0x46db00
push eax
mov ebx, esi
mov dword [ebp - 8], eax
call fcn.0041fad7
test eax, eax
je 0x401180
mov edi, 0x46f290
call fcn.0040f9ec
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x4638d4], 1
jmp 0x401279
xor ebx, ebx
inc ebx
cmp byte [ebp - 1], bl
jne 0x40123d
cmp byte [0x46d9b5], bl
jne 0x40123d
call fcn.00415f8f
test al, al
jne 0x40123d
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 2], 0
je 0x401214
mov edi, 0x45a4c0
push edi
lea esi, [ebp - 0x14]
call fcn.00416898
push dword [ebp - 8]
or eax, 0xffffffff
mov ecx, esi
call fcn.00416b57
push edi
or eax, 0xffffffff
mov ecx, esi
call fcn.00416b57
push ebx
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x224]
push eax
push str.runas
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [ebp - 0x14]
call fcn.0044896c
pop ecx
jmp 0x401262
push ebx
lea eax, [ebp - 0x11c]
push eax
push dword [0x46f258]
lea eax, [ebp - 0x224]
push eax
push str.runas
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x401262
mov ebx, edi
call fcn.0040127e
call fcn.00401372
cmp byte [edi + 0x14], 0
jne 0x401259
mov ebx, 0x46e2a0
call fcn.0041267b
push 1
mov ecx, esi
call fcn.0041fd22
mov edi, 0x46f290
call fcn.0040f9ec
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d4f
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [esi]
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x401d5f
xor al, al
jmp 0x401deb
push ebx
push edi
push 1
push eax
push esi
call fcn.00403188
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebp
push 0x25
call edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x10], ebp
push eax
jge 0x401dac
push 0x25
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x401dce
push 0x27
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push dword [esi]
push esi
call fcn.00403188
pop edi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x402332
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x402345
xor al, al
jmp 0x4023cc
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0xb0
push eax
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x402368
xor al, al
jmp 0x4023cb
push edi
push 0
push 0
push 0xe
push dword [ebx]
call esi
mov edi, eax
test edi, edi
je 0x4023c8
lea eax, [edi + 0x101]
push eax
call fcn.00448ad8
pop ecx
push eax
mov dword [ebp - 4], eax
lea eax, [edi + 1]
push eax
push 0xd
push dword [ebx]
call esi
test eax, eax
je 0x4023bf
mov eax, dword [ebp - 8]
cmp eax, edi
mov esi, dword [ebp - 4]
je 0x4023a6
mov byte [esi + eax], 0
mov eax, dword [ebp - 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call fcn.00416988
push esi
call fcn.0044896c
pop ecx
mov al, 1
jmp 0x4023ca
push dword [ebp - 4]
call fcn.0044896c
pop ecx
xor al, al
pop edi
pop esi
leave
ret 4