joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402770
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4051d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405209
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040324c
jmp 0x405212
mov eax, ebx
mov edx, esi
call fcn.00403200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40521c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x40523d
mov al, byte [esp]
jmp 0x40523f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40658c
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
pushfd
or eax, dword [0x40be3e]
add dword [0x40b7ac], edi
not ebx
dec esi
or dword [0x40b7ed], edx
or dword [0x40b839], ebx
xchg ebx, esi
xor edx, esp
xor edx, dword [0x40ba26]
call fcn.004032c4
and dword [0x40b6a0], edx
sub edx, dword [0x40ba6d]
sub ebx, dword [0x40be23]
sub ecx, dword [0x40bf03]

Function at 0x4065d8
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
add dword [0x40b420], ebx
call fcn.00404e03
call 0xd47465e4
xchg ebx, esi
or dword [0x40b587], edx
inc esi
not ebx
and dword [0x40b788], ebx
push ebp
inc edx
not ecx
ror ecx, 0x1e
or ecx, dword [0x40bc90]
mov esp, 0xfde80040
invalid
invalid
inc ecx
ret
invalid
invalid
Function at 0x406694
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
cmc
xor edi, 0xd34f2235
xchg esi, edx
xor dword [0x40b846], 0xed7ce6b6
xor eax, 0x40b846
mov dh, 0xe6
jl 0x40668a
xor eax, 0x40b846
mov dh, 0xe6
jl 0x40668a
not eax
xchg edi, edx
mov dword [0x40b71b], ecx
or eax, dword [0x40bb9f]
call fcn.00403250
inc esi
sub eax, 0xc3c642e7
or dword [0x40b402], edi
and dword [0x40b6a1], edi
add eax, 0xc3c642e7
dec esi
call fcn.00401b34
and dword [0x40b968], ebx
xchg edi, edx
not eax
mov dword [0x40b64b], 0x610c4789
xchg esi, edx
xor edi, 0xd34f2235
add esi, ebp
call fcn.00402525
ror edx, 0x15
call fcn.004042d2
push esi
add edi, dword [0x40bc71]
dec edi
call fcn.0040378f
rol ebx, 1
call fcn.004012ae
and dword [0x40b70c], edi
add ebx, 0x1dcc567f
call fcn.004034c2
rol esi, 8
sub ecx, dword [0x40bdd8]
neg ebx
dec edi
xor ebx, dword [0x40bc98]
inc edx
dec edx
inc edi
neg ebx
ror esi, 8
sub ebx, 0x1dcc567f
sub dword [0x40b476], edx
ror ebx, 1
call fcn.00402dcd
inc edi
push edi
add ebx, esi
not ecx
add esi, dword [0x40bf7b]
xor edi, 0xff3724bb
call fcn.00407434
xor edi, esi
call fcn.00401d9d
add dword [0x40b7a2], edx
not ebx
sub esi, dword [0x40bca6]
dec esi
inc esi
not ebx
call fcn.00408bd2
xor edi, esi
call fcn.00402358
xor edi, 0xff3724bb
not ecx
sub ebx, esi
push ecx
neg ebx
ror esi, 0xc
xchg ecx, eax
sub dword [0x40b434], edx
call fcn.00405cb4
xor ebx, 0x8a77e4a
neg edx
xor edx, dword [0x40bec9]
and dword [0x40b626], ecx
add edi, dword [0x40bfad]
xchg ecx, edx
xchg ecx, edx
neg edx
xor ebx, 0x8a77e4a
or dword [0x40b6bc], ebx
xchg ecx, eax
rol esi, 0xc
neg ebx
push eax
or ecx, dword [0x40bd72]
add eax, ebp
xor esi, 0xd466fa17
xor eax, ecx
or ebx, dword [0x40bcd1]
xchg esi, edx
add edi, ebp
add ebx, dword [0x40be6c]
add ecx, ebx
rol ebx, 3
neg ebx
sub esi, ebx
xor edx, edi
sub ecx, dword [0x40bcf4]
dec ebx
inc ebx
xor edx, edi
add esi, ebx
neg ebx
ror ebx, 3
sub ecx, ebx
sub edi, ebp
xchg esi, edx
xor eax, ecx
xor esi, 0xd466fa17
sub eax, ebp
push ebx
call fcn.00401178
add eax, 0x4c263bd4
call fcn.00408f7e
and dword [0x40b707], ecx
mov dword [0x40b4c8], edi
sub edx, 0xa1d0268f
rol edi, 0x11
sub ecx, dword [0x40bddc]
ror eax, 0xc
xchg esi, edx
add edi, 0x2db16695
sub dword [0x40b9d1], edi
ror ebx, 0x18
mov dword [0x40b4e3], esi
rol edi, 0xe
or dword [0x40b87e], eax
call fcn.00408f7e
xchg edx, esi
call fcn.004022c1
not esi
ror eax, 0x11
rol eax, 0x11
not esi
call fcn.00407434
xchg edx, esi
xor dword [0x40b83d], esi
ror edi, 0xe
and dword [0x40b7d2], esi
rol ebx, 0x18
or dword [0x40b83a], eax
sub edi, 0x2db16695
xchg esi, edx
rol eax, 0xc
ror edi, 0x11
add edx, 0xa1d0268f
xor dword [0x40b5d2], edi
mov dword [0x40b43f], eax
sub eax, 0x4c263bd4
push esp
sub edx, dword [0x40bb5b]
xor ecx, esi
sub edi, 0xd8c021f0
xor dword [0x40b873], edi
rol ecx, 0x1a
add edi, dword [0x40bd51]
sub dword [0x40b896], eax
xor ecx, 0x619943a
push es
Function at 0x4068fc
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push es
sub edx, dword [0x40bd69]
or dword [0x40b755], 0x1714036b
xchg eax, edx
sub edx, dword [0x40bfa8]
inc esi
mov dword [0x40b58d], ebx
not edi
add dword [0x40b4d8], eax
sub ebx, dword [0x40bcc2]
xor ecx, ebx
not edx
not edx
xor ecx, ebx
not edi
dec esi
xchg eax, edx
sub dword [0x40b98d], 0xa8011c90
xor ecx, 0x619943a
or dword [0x40b522], ebx
add cl, al
leave
sbb ah, byte [ecx]
adc eax, 0x40b6d9

Function at 0x40694c
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
add cl, al
leave
sbb ah, byte [ecx]
adc eax, 0x40b6d9
add edi, 0xd8c021f0
xor ecx, esi
dec ecx
shl edx, 7
sub dword [0x40b881], eax
shl edi, 0xe
mov dword [0x40b579], edx
call fcn.004098c2
shr ebx, 8
and eax, ebx
mov ecx, ebx
cmp esi, 0x5e1bc841
jb 0x40698b
or eax, 0xb3371826
xchg edi, esi
shl esi, 5
xor esi, dword [0x40b121]
xor eax, edx
and dword [0x40b65d], esi
and ecx, ebp
call fcn.004098c2
add esi, dword [0x40b31a]
call fcn.00408137
mov ecx, 0xeb159e3
sub dword [0x40b697], eax
shl edx, 0xb
call fcn.00407e60
xchg edi, eax
xor dword [0x40b96d], 0x1716cd79
add dword [0x40b479], edx
test eax, 0xbea5f9af
jge 0x4069e0
shr eax, 6
or esi, ebp
ror ebx, 0xa
xor edi, ecx
not eax
loop 0x4069b5
add ecx, dword [0x40b0d7]
rol ebx, 0xc
add edi, edx
or eax, 0xe767fa94
add edi, esi
shr eax, 0xc
and edx, eax
xor eax, ebx
call fcn.00407434
ror edi, 0x1c
mov ecx, 0x995929d

Function at 0x406a1c
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
mov dword [0x40b8c8], 0x2bc1c7cb
shr edx, 0x1d
test dword [0x40b020], ecx
jg 0x406a29
and ebx, edi
shr edx, 5
neg ebx
and eax, esp
shl eax, 0x11
and edx, dword [0x40b12b]
xor edx, 0x78d5a928
test eax, 0x90f245bf
jne 0x406a4a
shl eax, 2
mov edi, esi
loop 0x406a12
call fcn.0040568d
mov ecx, 0xea6416a
add edi, dword [0x40b101]
sub eax, ebp
mov eax, dword [0x40b2a9]
xor ebx, ebp
xchg ebx, esi
inc eax
shr edx, 0x16
and esi, 0x431ac425
neg edx
or eax, dword [0x40b0be]
loop 0x406a58
sub esi, 0x2481f746
or eax, 0xd078dfa1
sub ecx, edi
cmp dword [0x40b3a4], 0x3dd5e7a4
jg 0x406a9a
xchg ebx, esi
rol esi, 0x16
sub ebx, edi
rol ecx, 4
and esi, 0x143182c9
sub ebx, 0x3f7921f6
add esi, 0xfb4299fc
call fcn.0040905d
mov ebx, ecx
mov esi, 0xc54d39b3
add eax, edi
not esi
xchg edi, esi
add dword [0x40b4dc], edi
not ecx
or ecx, dword [0x40bfd7]
dec edx
neg edx
call fcn.00403e4e
xor esi, dword [0x40bca3]
or edx, dword [0x40bc20]
call fcn.00407434
add eax, ecx
call fcn.00401848
xchg ecx, edx
sub esi, dword [0x40bdde]
add ebx, 0xa309a87
not eax
sub dword [0x40b6f7], ebx
xor ecx, eax
add edx, esp
xchg ebx, edx
xchg ebx, edx
sub edx, esp
xor ecx, eax
and dword [0x40b89a], edi
not eax
sub ebx, 0xa309a87
xchg ecx, edx
call fcn.00401e28
sub eax, ecx
call fcn.00403e4e
call fcn.00402565
neg edx
inc edx
not ecx
add dword [0x40b578], eax
xchg edi, esi
not esi
sub eax, edi
add esi, 0xbe04f2ce
neg esi
Function at 0x407864
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x407880
shr eax, 1
xor eax, 0xedb88320
jmp 0x407882
shr eax, 1
dec edx
jne 0x407873
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40786c
pop esi

Function at 0x407898
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4078bb
call fcn.00407864
push 1
push 0x40c558
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4078e6
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4078c1
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x408f90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408f44
test al, al
jne 0x408fb1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408ffd
xor eax, eax
push ebp
push 0x408fed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004033e8
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408ff4
lea eax, [ebp - 0xc]
call fcn.00408f80
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409304
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4093f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406cc8
mov edx, dword [ebp - 8]
mov ecx, 0x40940c
xor eax, eax
call fcn.004091f8
push 0
mov eax, dword [ebp - 4]
call fcn.004033e8
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4093c1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x409324
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x35
call fcn.00408dac
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c58
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407258
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x67
call fcn.00408d7c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x404624
call fcn.00405854
call fcn.00402e88
jmp 0x409324
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00403200
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4093fa
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040318c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040318c
ret
Function at 0x40941c
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
cmp dword [0x40b07c], 2
jne 0x409483
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x40943e
xor eax, eax
jmp 0x409492
lea eax, [esp + 8]
push eax
push 0x409498
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x409483
xor eax, eax
jmp 0x409492
push 0
push 2
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret

Function at 0x4094ac
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x409506
inc esi
xor edi, edi
cmp edi, 1
jne 0x4094d2
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4094e0
cmp edi, 1
jle 0x4094e0
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00408f90
test eax, eax
jne 0x409506
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x409506
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x409506
inc edi
dec esi
jne 0x4094c2
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x409510
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test edi, edi
je 0x40955d
xor ebx, ebx
jmp 0x409552
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, edi
call fcn.00404c04
test eax, eax
jne 0x409551
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x40960d
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call esi
test al, al
jne 0x409533
mov al, byte [ebp - 1]
sub al, 1
jb 0x409568
je 0x409571
jmp 0x40957a
call int.00406ff8
mov edi, eax
jmp 0x40957c
call sub.kernel32.dll_GetUserDefaultLangID
mov edi, eax
jmp 0x40957c
xor edi, edi
test di, di
je 0x40960d
xor ebx, ebx
jmp 0x4095b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, di
cmp eax, edx
jne 0x4095b7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
je 0x4095ac
call sub.kernel32.dll_GetACP
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x2c]
jne 0x4095b7
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40960d
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call esi
test al, al
jne 0x409589
xor ebx, ebx
jmp 0x409602
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, edi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x409601
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
je 0x4095f6
call sub.kernel32.dll_GetACP
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x2c]
jne 0x409601
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40960d
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call esi
test al, al
jne 0x4095c7
mov al, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x409978
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a64
push ebx
push 0x409a70
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403388
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033e8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4099f8
mov al, 0x69
call fcn.0040961c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040994c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a01
call fcn.0040994c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a52
lea eax, [ebp - 4]
call fcn.0040316c
ret
Function at 0x100260ab
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
jne 0x100260d4
call fcn.10026070
mov dword [ebp + 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1002610a
push 0x75
push 0x401cd3f
push 6
call fcn.1002808e
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1002613e
push 0xcd
push 0x401cd3f
push 6
call fcn.1002808e
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1002617c
push 0xfb
push 0x401cd3f
push 6
call fcn.1002808e
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x10026184
mov esp, ebp
pop ebp
ret 8

Function at 0x1002618a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x100261d4
push 0x12
push 0x401cd90
push 6
call fcn.1002808e
add esp, 0xc
jmp 0x100261d9
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100297b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x100297ce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x100297c3
pop esi
ret

Function at 0x1002af30
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f498
push 0x1002d498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002b390
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x1003e8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x100534e4]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
xor ebp, ebp
mov ecx, 0x40
xor eax, eax
mov edi, 0x100632dc
push ebp
push 0x1002b460
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], ebp
mov dword [0x100632d8], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x100632d8]
cmp eax, ebp
jl 0x1002b431
push ebx
mov ebx, dword [esp + 0x24]
mov esi, 0x100632dc
sub esi, ebx
mov dword [esp + 0x24], esi
jmp 0x1002b3f7
mov esi, dword [esp + 0x24]
push 0x14
call fcn.1002c576
mov dword [ebx], eax
mov ecx, dword [esi + ebx]
push ecx
lea edx, [esp + 0x18]
push 0x10053348
push edx
call fcn.100376e1
mov esi, dword [esp + 0x20]
mov edi, dword [ebx]
mov ecx, 5
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x100632d8]
inc ebp
add ebx, 4
cmp ebp, eax
jle 0x1002b3f3
pop ebx
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.10038c9c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x404d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413660
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x41d014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x416eb8
call fcn.0041004e
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0040f9b4
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410a37
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x415084]
test eax, eax
je 0x410a76
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410a76
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410a76
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x410a76
cmp dword [ecx + 0x74], 0xe
jbe 0x410a76
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4131d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4131fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4131fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x41f3d6
Capabilities:
Terminate process

Disassembly:
cmp dword [0x424bb0], 2
je 0x41f3e4
jmp fcn.00428941
push dword [esp + 4]
call fcn.00420769
pop ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x420769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x424190
cmp edx, dword [eax]
je 0x42078b
add eax, 8
inc ecx
cmp eax, 0x424220
jl 0x42077c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x424190]
jne 0x4208b9
mov eax, dword [0x424bb0]
cmp eax, 1
je 0x420893
test eax, eax
jne 0x4207bc
cmp dword [0x4240e4], 1
je 0x420893
cmp edx, 0xfc
je 0x4208b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4207f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00421670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00421490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x420836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00421490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42345c
push edi
call fcn.00421f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00421670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00421680
lea eax, [ebp - 0xa0]
push 0x42343c
push eax
call fcn.00421680
push dword [esi + 0x424194]
lea eax, [ebp - 0xa0]
push eax
jmp 0x429714
lea eax, [ebp + 8]
lea esi, [esi + 0x424194]
push 0
push eax
push dword [esi]
call fcn.00421490
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 0xf85b2c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf85b36
pushal
call 0xf85b3c
pop ebp
sub ebp, 0x10
sub ebp, 0xb85b2c
jmp 0xf85b52
mov eax, 0xb85b2c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bc
mov edx, 0xf65f7307
xor byte [eax], dl
inc eax
dec ecx
jne 0xf85b69
jmp 0xf85b7c
mov edx, cs
mov word [esi + 0x707073b], cs
xchg dh, al
inc dword [edi]
pop es
pop es
add al, 0xca
mov edi, 0x707070e
mov ebp, 0x707072f
invalid