joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419210
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1388
call fcn.004180b0
cmp dword [0x8e2404], 0x37
push esi
jne 0x419316
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
lea ecx, [esp + 0xb8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
mov eax, dword [esp + 0xc]
push 0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
push 0
lea ecx, [esp + 0x38c]
push ecx
push 0x40401c
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x78c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x168]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
call esi
push 0x404034
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esp + 0x28], 0
call fcn.0040a590
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov eax, dword [0x8e4b68]
mov dword [esp + 8], eax
mov eax, 0x5d1
add dword [esp + 8], eax
mov ecx, dword [esp + 8]
mov dl, byte [ecx + edi]
mov eax, dword [0x8e0bfc]
mov byte [eax + edi], dl
pop esi
add esp, 0x1388
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
mov ecx, 0x177f7f46
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x35415d96
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2890799c
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, str._bb
nop
mov ebx, 0x4304d8
mov ecx, 0x627f52cb
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x6a883103
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, str.NOR
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x4fef0c4e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40506a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44293c]
jne 0x405074
repz ret
jmp fcn.00408e62

Function at 0x40b8fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406ac4
and dword [ebp - 4], 0
cmp dword [0x4442a0], 0
mov ebx, eax
jne 0x40b9ad
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ba5e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x416618
push edi
call esi
test eax, eax
je 0x40ba5e
push eax
call fcn.00406a52
mov dword [esp], 0x416608
push edi
mov dword [0x4442a0], eax
call esi
push eax
call fcn.00406a52
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4442a4], eax
call esi
push eax
call fcn.00406a52
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4442a8], eax
call esi
push eax
call fcn.00406a52
pop ecx
mov dword [0x4442b0], eax
test eax, eax
je 0x40b9ad
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a52
pop ecx
mov dword [0x4442ac], eax
mov eax, dword [0x4442ac]
cmp eax, ebx
je 0x40ba05
cmp dword [0x4442b0], ebx
je 0x40ba05
push eax
call fcn.00406acd
push dword [0x4442b0]
mov esi, eax
call fcn.00406acd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ba05
test edi, edi
je 0x40ba05
call esi
test eax, eax
je 0x40b9fc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b9fc
test byte [ebp - 0xc], 1
jne 0x40ba05
or dword [ebp + 0x10], 0x200000
jmp 0x40ba3e
mov eax, dword [0x4442a4]
cmp eax, ebx
je 0x40ba3e
push eax
call fcn.00406acd
pop ecx
test eax, eax
je 0x40ba3e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ba3e
mov eax, dword [0x4442a8]
cmp eax, ebx
je 0x40ba3e
push eax
call fcn.00406acd
pop ecx
test eax, eax
je 0x40ba3e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4442a0]
call fcn.00406acd
pop ecx
test eax, eax
je 0x40ba5e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ba60
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
bswap eax
not esi
imul edi
imul eax
add ebx, 0xf8
not esi
inc edi
bswap edx
not edi
dec edx
inc edx
neg ebx
bswap esi
inc esi
rcl esi, 0x4c
bswap edi
sub esi, 0x94
rcl eax, 0x96
bswap esi
or eax, 0x48
not esi
and ebx, 0xf0
rcl eax, 0xd8
neg eax
bswap ebx
rol esi, 0x5f
neg edx
imul edx
bswap edi
rol eax, 0x95
mov edx, 0xed
ror edi, 0xa9
sbb edx, 0x6e
add edx, 0x6a
mov ebx, 0x2a
bswap edx
add esi, 0x30
rol ebx, 0x75
rcr edi, 0x67
sub ebx, 0xc5
sub edi, 0xc5
dec edi
mov edi, 0xf0
rcr edi, 0x2b
rcl esi, 0x73
imul ebx
rcr edx, 0x64
bswap esi
bswap edi
dec edi
xor ecx, ecx
xor edi, edi
not ebx
or edi, 0xaf
not eax
bswap edx
or esi, 0x45
rol esi, 0xce
inc ebx
mov eax, 0x87
neg esi
mov eax, 0xa0
rol ebx, 0
rcr eax, 0x6d
dec ebx
or ebx, 0x56
or esi, 0xfe
bswap edx
rcr eax, 0xa4
rol edx, 0x40
rcl ebx, 0xa5
sbb ebx, 0x44
not edi
ror edi, 0x21
ror esi, 0x2a
ror edx, 0x90
bswap ebx
imul edx
mov edi, 0x2d
bswap eax
neg edx
and esi, 0x45
neg edi
neg eax
mov esi, 0xf6
bswap ebx
rcl esi, 0x5a
dec eax
inc esi
rol edx, 0x3c
neg ebx
dec edi
neg esi
inc ebx
rcl ebx, 0xb5
mov edx, 0x29
imul eax
rcl edi, 0xd1
bswap edx
bswap edx
mov esi, 0x58
not ebx
mov ecx, dword [ebp + 0xc]
ror esi, 0
not edi
rcl ebx, 0x52
dec esi
neg ebx
ror edi, 0xea
imul ebx
sbb ebx, 0xd5
bswap edi
and edx, 0xc1
neg esi
ror edx, 0x49
bswap eax
ror eax, 3
sbb esi, 0x4d
imul ebx
bswap ebx
rol ebx, 0x5c
sub ebx, 0x29
mov edx, 0x2e
rcr ebx, 0x4f
rol edi, 0x70
rcr eax, 0xd0
sbb edi, 0x94
or ebx, 0x59
bswap esi
rcr eax, 0x2d
not edx
sub edi, 0xd3
ror esi, 0x18
bswap ebx
and ebx, 0xc5
not edi
mov edx, 0xc6
or edx, 0x99
ror esi, 0x4d
and edi, 0x1d
rol eax, 0x3f
imul eax
rcr ebx, 0xab
bswap eax
inc eax
add edi, 0x15
imul esi
inc eax
rol ebx, 0x17
bswap ebx
bswap edx
mov edi, 0x91
inc edi
mov edi, dword [ebp + 8]
mov eax, eax
xor eax, eax
xor ebx, eax
not byte [edi]
mov ebx, eax
mov eax, eax
xor esi, ebx
mov esi, eax
mov esi, eax
mov eax, esi
xor esi, esi
xor eax, esi
xor ebx, ebx
add byte [edi], 0x48
mov ebx, eax
xor ebx, esi
mov eax, ebx
mov eax, esi
mov esi, esi
xor esi, eax
mov eax, ebx
mov esi, ebx
xor esi, ebx
sub byte [edi], 0x97
mov ebx, esi
mov ebx, eax
mov eax, eax
xor eax, ebx
xor esi, eax
mov esi, ebx
xor eax, esi
xor eax, esi
xor esi, ebx
imul byte [edi]
inc edi
loop 0x4103ce
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0xd427fc8
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3ec040d6
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x25846d26
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x63b8084d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x2de13434
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x64c859ec
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4038ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403984
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403964
xor eax, eax
push ebp
push 0x40395d
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 0x4039bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403964
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x47b020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404a84
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47e050], 0
je 0x404ae5
cmp word [0x47e32c], 0xd7b2
jne 0x404aad
cmp dword [0x47e334], 0
jbe 0x404aad
mov eax, 0x47e328
call dword [0x47e344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
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 0x404b10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47b02c], 0
jne 0x404b01
push 0
push 0x47b77c
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c64
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x47b030], 0
je 0x404c8a
mov edx, esi
mov eax, ebx
call dword [0x47b030]
jmp 0x404c99
mov eax, 8
call fcn.00402fbc
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x47e051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404c2c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc

Function at 0x405df8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x405e3a
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x405e5a
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00405640
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x407314
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x408c58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x480b2c
push 0xa
push 0x408cec
mov eax, dword [0x480b1c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x408c7c
call fcn.00411128
push ebx
mov eax, dword [0x480b1c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x408c93
call fcn.00411128
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x408ca5
call fcn.00411128
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x480b30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x480b34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x480b38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x480b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x480b40], ecx
add edx, dword [eax + 0x14]
mov dword [0x480b44], edx
pop esi
pop ebx
ret

Function at 0x40a354
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a3fd
test eax, edx
je 0x40a400
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40a37d
push edx
mov edx, eax
mov eax, esp
call fcn.0040565c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40a393
push eax
lea eax, [esp + 8]
call fcn.0040565c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40a3a2
movzx eax, word [eax]
sub eax, ecx
jmp 0x40a3c9
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40a3e3
add ecx, 4
js 0x40a3ba
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40a3e0
push eax
mov eax, ecx
mov edx, 2
call fcn.00404d04
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40a3c7
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40a3c9
xor eax, eax
ret
test eax, eax
je 0x40a410
test edx, edx
jne 0x40a364
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004054fc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40b2ee
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x40b30f
cmp ebx, 3
je 0x40b30f
cmp ebx, 0x7b
je 0x40b30f
mov eax, esi
call fcn.0040b290
test al, al
jne 0x40b313
xor eax, eax
jmp 0x40b315
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004054fc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40b331
test al, 0x10
jne 0x40b335
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x40eb10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40eb49
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004055ac
jmp 0x40eb52
mov eax, ebx
mov edx, esi
call fcn.00405470
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40eb5c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40eb7e
movzx eax, word [esp]
jmp 0x40eb80
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40f2e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0040f11c
mov eax, dword [0x47d13c]
cmp byte [eax], 0
je 0x40f376
mov eax, dword [0x47cea8]
call fcn.00403358
call fcn.00403124
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040b980
push eax
lea eax, [esp + 0x890]
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 0x40f3c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40f3af
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47ce24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x480b1c]
call fcn.00406634
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x40ff8c
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 0x410062
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004054c4
lea eax, [ebp - 4]
call fcn.00405d58
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004054fc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41004c
mov eax, ebx
call fcn.00402fbc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x410045
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.004054fc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41002f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x410074
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41002f
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 0x41004c
mov eax, dword [ebp - 0x10]
call fcn.00402fd8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410069
lea eax, [ebp - 4]
call fcn.00405460
ret

Function at 0x410fd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00404fa0
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x410f7a
mov eax, edi
add eax, eax
call fcn.00402fbc
mov esi, eax
jmp 0x410f7c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x410fb5
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x410f9f
mov eax, esp
cmp esi, eax
je 0x410fc2
mov eax, esi
call fcn.00402fd8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x410ffc
cmp bl, 0
je 0x410ff8
cmp bl, 0x41
jl 0x410ff3
cmp bl, 0x5a
jg 0x410ff3
or bl, 0x20
xor al, bl
inc esi
jmp 0x410fd7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x410f3c

Function at 0x420a18
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.0042071c
dec esi
jne 0x420a3a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret