joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000663a
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edx, dword [0x10047b00]
push ebx
push esi
mov esi, ecx
mov ebx, 0x10000
cmp esi, 0x7ff80000
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
mov eax, dword [0x10047af4]
test edx, edx
jne 0x10006682
test eax, eax
je 0x10006695
mov edx, eax
mov dword [0x10047b00], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x10006695
cmp ecx, ebx
jb 0x10006695
cmp ecx, edi
jbe 0x10006779
mov edx, eax
test eax, eax
jmp 0x100066b7
test edx, edx
je 0x100066b2
mov eax, dword [edx + 8]
test eax, eax
je 0x100066b2
cmp eax, ebx
jb 0x100066b2
cmp eax, edi
jbe 0x10006779
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x10047b00], edx
jne 0x1000669b
and esi, 0xffff0000
cmp esi, 0x40000000
jbe 0x100066f9
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
lea edx, [esi - 0x40000000]
mov ecx, ebx
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
cmp esi, 0x40000000
jae 0x10006721
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, edi
lea ecx, [esi + 0x40000000]
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, esi
mov ecx, ebx
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, edi
mov ecx, esi
call fcn.1001ec5b
mov edx, eax
test edx, edx
je 0x1000679e
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x10047af4]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x10047b00], edx
mov dword [0x10047af4], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x10006769
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x1000679e
cmp esi, edi
ja 0x1000679e
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.1000aff4
add esp, 0xc
mov eax, esi
jmp 0x100067a0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x10006641
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edx, dword [0x10047b00]
push ebx
push esi
mov esi, ecx
mov ebx, 0x10000
cmp esi, 0x7ff80000
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
mov eax, dword [0x10047af4]
test edx, edx
jne 0x10006682
test eax, eax
je 0x10006695
mov edx, eax
mov dword [0x10047b00], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x10006695
cmp ecx, ebx
jb 0x10006695
cmp ecx, edi
jbe 0x10006779
mov edx, eax
test eax, eax
jmp 0x100066b7
test edx, edx
je 0x100066b2
mov eax, dword [edx + 8]
test eax, eax
je 0x100066b2
cmp eax, ebx
jb 0x100066b2
cmp eax, edi
jbe 0x10006779
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x10047b00], edx
jne 0x1000669b
and esi, 0xffff0000
cmp esi, 0x40000000
jbe 0x100066f9
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
lea edx, [esi - 0x40000000]
mov ecx, ebx
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
cmp esi, 0x40000000
jae 0x10006721
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, edi
lea ecx, [esi + 0x40000000]
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, esi
mov ecx, ebx
call fcn.1001ec5b
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, edi
mov ecx, esi
call fcn.1001ec5b
mov edx, eax
test edx, edx
je 0x1000679e
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x10047af4]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x10047b00], edx
mov dword [0x10047af4], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x10006769
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x1000679e
cmp esi, edi
ja 0x1000679e
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.1000aff4
add esp, 0xc
mov eax, esi
jmp 0x100067a0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x1001ec5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1001ec6a
pop dword [ebp - 0x48]
mov eax, 0xb727f660
add eax, 0x58d9f60a
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x45f5c
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0xffb9ea4b
sub ecx, 0xffb99a04
xor ebx, ebx
add ebx, eax
mov edi, 0xb93f46ea
add edi, 0x56c56f16
add edi, dword [ebp - 0x48]
mov edx, 0x5a207708
sub edx, 0x9d483d92
mov dword [ebp - 0x20], 0x73841b19
mov esi, dword [edi]
add dword [ebp - 0x1c], edi
add esi, edx
sub dword [ebp - 0x44], 0xa5a893a2
mov dword [ebx], esi
xor dword [ebp - 0x28], edx
add ebx, 0x4f89b63c
add ebx, 0xb07649c8
add edi, 0xe191854c
sub edi, 0xe1918548
loop 0x1001ecc6
add eax, 0x3dc4ad2d
sub eax, 0x3dc3793e
mov ebx, eax
add eax, 5
mov ecx, 0xda2b5b57
sub ecx, 0xca2b5b57
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401c66
pop dword [ebp - 0x4c]
mov eax, 0xd46c4f28
sub eax, 0xd42c32c2
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x2a72f05c
sub dword [ebp - 0x5c], 0xdc20ab11
mov dword [ebp - 0x58], 0x7ef3ac56
add dword [ebp - 0x58], 0xb33f9fef
mov dword [ebp - 0x54], 0xdf404da5
sub dword [ebp - 0x54], 0x92f40977
mov dword [ebp - 0x50], 0x1f371375
sub dword [ebp - 0x50], 0x1f371375
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x623c57d8
add dword [ebp - 0x5c], 0x1236117e
mov dword [ebp - 0x58], 0xef6a0427
sub dword [ebp - 0x58], 0xadfda2b2
mov dword [ebp - 0x54], 0x2e15eec6
add dword [ebp - 0x54], 0x35597da6
mov dword [ebp - 0x50], 0x42b3baea
sub dword [ebp - 0x50], 0x42b3baea
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xb3a1779d
sub eax, 0xb3614771
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x345f2
push 0
call eax
mov ecx, 0x3f90
xor esi, esi
add esi, eax
mov edi, 0x407000
add edi, dword [ebp - 0x4c]
mov edx, 0xe3ee0214
add edx, 0xd53cd162
add dword [ebp - 0x28], 0x1e9ba835
mov ebx, dword [edi]
sub dword [ebp - 0x14], 0x9258fc95
xor ebx, edx
add dword [ebp - 0x1c], eax
mov dword [esi], ebx
add dword [ebp - 0x24], esi
add esi, 4
add edi, 0x54222f2a
sub edi, 0x54222f26
loop 0x401d79
add eax, 0x64f9da8a
add eax, 0x9b071689
mov ebx, eax
add eax, 0xd4bfeef
sub eax, 0xd4bfeea
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x402ab8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404290
test esi, esi
jne 0x402aee
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404380
jmp 0x402b0c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029cc
mov edi, eax
test esi, esi
je 0x402b0c
cmp dword [ebx], 0
je 0x402b0c
dec esi
jmp 0x402af5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402dc8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4d3008], 0x8088405
inc edx
mov dword [ebx + 0x4d3008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4032a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4d3024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403340
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403320
xor eax, eax
push ebp
push 0x403319
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40335c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403320
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4d3024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4d3024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404070
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d704c], 0
je 0x4040d1
cmp word [0x4d7220], 0xd7b2
jne 0x404099
cmp dword [0x4d7228], 0
jbe 0x404099
mov eax, 0x4d721c
call dword [0x4d7238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4d3070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4040f8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d3034], 0
jne 0x4040ed
push 0
push 0x4d3068
push 0x4d3070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404244
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402790
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4d704d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40420c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405b7c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405dac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405bff
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405dac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405bff
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405dc8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405c88
xor eax, eax
push ebp
push 0x405c81
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004059c4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c66
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405de8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405c66
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c88
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405da2
cmp byte [ebp - 0xd], 0
jne 0x405ccf
cmp byte [ebp - 0x12], 0
je 0x405da2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405ce8
dec ebx
cmp byte [ebx], 0x2e
je 0x405cf7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405ce7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405da2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d34
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405da2
cmp byte [ebp - 0xd], 0
je 0x405da2
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405da2
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406490
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064f6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404510
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402de4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064e0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064fd
lea eax, [ebp - 0x10]
call fcn.00404290
ret

Function at 0x4097c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404760
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4097e1
test al, 0x10
jne 0x4097e5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40d244
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_1
test eax, eax
jle 0x40d27d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404380
jmp 0x40d286
mov eax, ebx
mov edx, esi
call fcn.004042e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d290
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_1
test eax, eax
jle 0x40d2b1
mov al, byte [esp]
jmp 0x40d2b3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d938
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d7b0
mov eax, dword [0x4d5eb0]
cmp byte [eax], 0
je 0x40d9b4
mov eax, dword [0x4d5978]
call fcn.00402bf8
call fcn.004028f8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409c04
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d9fc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d9ea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4d58c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d7668]
call fcn.00405988
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40e2c8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e39e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404328
lea eax, [ebp - 8]
call fcn.004047b0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404760
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e388
mov eax, ebx
call fcn.00402790
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e381
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404760
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e36b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e3b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e36b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e388
mov eax, dword [ebp - 0x10]
call fcn.004027b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e3a5
lea eax, [ebp - 8]
call fcn.00404290
ret

Function at 0x40e998
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e9fc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404510
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004093f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ea03
lea eax, [ebp - 0xc]
call fcn.00404290
ret

Function at 0x42428c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004240e4
dec esi
jne 0x4242ae
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4253f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d788c
cmp dword [edi], 0
jne 0x42546c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4d7888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d3528
mov ecx, 2
call fcn.0040298c
mov edx, 0x4253c8
lea eax, [esi + 5]
call fcn.004253e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004253e8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425441
mov dword [0x4d7888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4269c8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4269ce
ret

Function at 0x428f54
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x428fa5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428f8c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428f7c
jmp 0x428fa5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x428f8d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435488
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43555a
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43552c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x43551b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.0040298c
mov eax, dword [ebp - 4]
call fcn.004353c4
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435522
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x435594
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x435636
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x435609
mov edx, ebx
mov eax, dword [0x4263ec]
call fcn.0042a750
test al, al
je 0x4355f9
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042a660
call fcn.00403cb8
jmp 0x43563d
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4355c4
mov ecx, dword [0x4d5898]
mov dl, 1
mov eax, dword [0x407c18]
call fcn.0040daec
call fcn.00403c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43563d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x435644
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43569c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4356a3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret