joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404514
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 0x404744
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404597
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404744
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404597
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404760
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404620
xor eax, eax
push ebp
push 0x404619
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040435c
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 0x4045fe
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404780
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4045fe
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 0x404620
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 0x40473a
cmp byte [ebp - 0xd], 0
jne 0x404667
cmp byte [ebp - 0x12], 0
je 0x40473a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404680
dec ebx
cmp byte [ebx], 0x2e
je 0x40468f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40467f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40473a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4046cc
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 0x40473a
cmp byte [ebp - 0xd], 0
je 0x40473a
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 0x40473a
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 0x4065e8
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 0x406621
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c84
jmp 0x40662a
mov eax, ebx
mov edx, esi
call fcn.00403be8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406634
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 0x406655
mov al, byte [esp]
jmp 0x406657
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406cdc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406b54
mov eax, dword [0x4093b4]
cmp byte [eax], 0
je 0x406d49
mov eax, dword [0x40930c]
call fcn.004029b8
call fcn.00402618
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405a10
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x406d90
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406d7f
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092f0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a710]
call fcn.00404320
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 0x407710
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 0x407774
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.00403dd8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004058e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40777b
lea eax, [ebp - 0xc]
call fcn.00403b94
ret
Function at 0x56e6f1
Capabilities:
Encode data using xor

Disassembly:
insd dword es:[edi], dx
ljmp 0xd9c
pushfd
invalid
push cs
push 0xffffffffffffff88
mov dh, 0
jle 0x56e6c3
mov ecx, edx
imul ebp, dword [edx - 0x172165d9], 0x6a
Function at 0x40354c
Capabilities:
Query or enumerate registry value

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

Function at 0x403eb0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403f11
cmp word [0x40a218], 0xd7b2
jne 0x403ed9
cmp dword [0x40a220], 0
jbe 0x403ed9
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409064
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 0x403f38
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409024], 0
jne 0x403f2d
push 0
push 0x40905c
push 0x409064
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404f00
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 0x404f66
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.00404288
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f90
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404f50
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f6d
lea eax, [ebp - 0x10]
call fcn.00404034
ret

Function at 0x406d58
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 0x406d91
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404124
jmp 0x406d9a
mov eax, ebx
mov edx, esi
call fcn.00404088
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406da4
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 0x406dc5
mov al, byte [esp]
jmp 0x406dc7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40745c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4072c4
mov eax, dword [0x4093f4]
cmp byte [eax], 0
je 0x4074d8
mov eax, dword [0x409348]
call fcn.00402d50
call fcn.004029b0
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.0040622c
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 0x407520
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40750e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x409328]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.004048c4
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 0x407efc
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 0x407f60
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.00404288
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004060f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f67
lea eax, [ebp - 0xc]
call fcn.00404034
ret
Function at 0x405c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movups xmm0, xmmword [edx]
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 8]
movups xmmword [ebp - 0x58], xmm0
push esi
movups xmm0, xmmword [edx + 0x10]
push edi
mov edi, dword [ecx + 0xc]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x14], eax
movups xmm0, xmmword [edx + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], ecx
movups xmm0, xmmword [edx + 0x30]
mov dword [ebp - 0xc], 0
movups xmmword [ebp - 0x28], xmm0
mov esi, eax
mov dword [ebp - 8], eax
mov ecx, ebx
not esi
and ecx, eax
and esi, edi
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov edi, ebx
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x442f88]
add ecx, dword [ebp + ebx - 0x58]
add ecx, esi
add ecx, dword [ebp - 4]
rol ecx, 7
add eax, ecx
mov dword [ebp - 4], edx
mov ecx, ebx
mov ebx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0xc], ecx
cmp ecx, 0x40
jb 0x405c53
mov dword [ebp - 0x10], 0x442fc8
mov dword [ebp - 0xc], 0x51
mov esi, edi
mov dword [ebp - 8], eax
not esi
mov ecx, edi
and ecx, eax
and esi, ebx
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov edi, ebx
mov ebx, dword [ebp - 0x10]
and ecx, 0xf
add dword [ebp - 0x10], 4
mov ecx, dword [ebp + ecx*4 - 0x58]
add ecx, dword [ebx]
mov ebx, dword [ebp - 8]
add ecx, esi
add ecx, dword [ebp - 4]
rol ecx, 0xc
add eax, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
add ecx, 5
mov dword [ebp - 0xc], ecx
cmp ecx, 0xa1
jb 0x405ca1
mov ecx, 0x65
mov dword [ebp - 0x10], 0x443008
mov dword [ebp - 0xc], ecx
and ecx, 0xf
mov dword [ebp - 8], eax
mov edx, edi
mov esi, edi
xor edx, ebx
mov edi, ebx
mov ebx, dword [ebp - 0x10]
xor edx, eax
mov ecx, dword [ebp + ecx*4 - 0x58]
add dword [ebp - 0x10], 4
add ecx, dword [ebx]
mov ebx, dword [ebp - 8]
add ecx, edx
add ecx, dword [ebp - 4]
ror ecx, 0xf
add eax, ecx
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0xc]
add ecx, 3
mov dword [ebp - 0xc], ecx
cmp ecx, 0x95
jb 0x405cf7
mov ecx, 0x150
mov dword [ebp - 0x10], 0xc0
mov dword [ebp - 0xc], ecx
add dword [ebp - 0xc], 7
and ecx, 0xf
mov edx, edi
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x10]
not edx
or edx, eax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + ecx*4 - 0x58]
xor edx, ebx
mov ebx, eax
add ecx, dword [edi + 0x442f88]
add ecx, edx
mov edx, dword [ebp - 8]
add ecx, esi
mov esi, edx
ror ecx, 0xa
add eax, ecx
mov ecx, edi
mov edi, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 0x10], ecx
cmp ecx, 0x100
mov ecx, dword [ebp - 0xc]
jb 0x405d44
mov ecx, dword [ebp - 0x14]
add ecx, edx
mov edx, dword [ebp - 0x18]
add dword [edx + 8], ebx
add dword [edx + 4], eax
add dword [edx + 0xc], edi
pop edi
pop esi
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x442e84]
push ebx
mov dword [ebp - 7], eax
xor ebx, ebx
mov ax, word [0x442e88]
push esi
mov word [ebp - 3], ax
mov esi, ecx
mov al, byte [0x442e8a]
push edi
mov edi, edx
mov byte [ebp - 1], al
nop dword [eax]
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x37
xor byte [ebp + ebx - 7], cl
inc ebx
cmp ebx, 7
jl 0x407cb0
lea ecx, [ebp - 7]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xc], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407cf0
sub ecx, edx
lea eax, [ebp - 7]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004040a0
push ecx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0040f940
mov edx, dword [ebp - 0xc]
mov ebx, eax
cmp edx, 0x10
jb 0x407d44
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407d3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407da6
push edx
push ecx
call fcn.00419018
add esp, 8
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp ebx, 0xffffffff
je 0x407d8f
mov eax, dword [edi + 0x10]
lea ecx, [ebx + 6]
cmp eax, ecx
jb 0x407dab
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [edi + 0x14], 0x10
jb 0x407d7a
mov edi, dword [edi]
lea eax, [edi + ecx]
mov ecx, esi
push edx
push eax
call fcn.004040a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x44289b
mov ecx, esi
call fcn.004040a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041eb32
call fcn.004045b0
int3
Function at 0x407dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov ax, word [0x4435f4]
mov word [esp + 2], ax
push ebx
mov ebx, edx
mov dword [esp + 8], ebx
push esi
mov esi, ecx
push edi
test ah, ah
je 0x407e0a
xor ebx, ebx
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x37
xor byte [esp + ebx + 0xe], cl
inc ebx
cmp ebx, 2
jl 0x407de5
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0xe]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
lea edx, [ecx + 1]
mov dword [esp + 0x2c], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407e30
sub ecx, edx
lea eax, [esp + 0xe]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004040a0
push ecx
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0040f940
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
cmp edx, 0x10
jb 0x407e8f
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407e85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407fc3
push edx
push ecx
call fcn.00419018
add esp, 8
mov ax, word [0x44308c]
mov word [esp + 0xe], ax
test ah, ah
je 0x407ec5
xor ebx, ebx
mov eax, 0x4ec4ec4f
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x37
xor byte [esp + ebx + 0xe], cl
inc ebx
cmp ebx, 2
jl 0x407ea0
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0xe]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
lea edx, [ecx + 1]
mov dword [esp + 0x2c], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407ee4
sub ecx, edx
lea eax, [esp + 0xe]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004040a0
push ecx
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0040f940
mov edx, dword [esp + 0x2c]
mov edi, eax
cmp edx, 0x10
jb 0x407f41
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407f37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407fc3
push edx
push ecx
call fcn.00419018
add esp, 8
mov edx, dword [esp + 0x14]
cmp edx, 0xffffffff
je 0x407f98
cmp edi, 0xffffffff
je 0x407f98
cmp edi, edx
jbe 0x407f98
lea ecx, [edx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov eax, dword [ebx + 0x10]
cmp eax, ecx
jb 0x407fc8
sub edi, edx
sub eax, ecx
dec edi
cmp eax, edi
cmovb edi, eax
cmp dword [ebx + 0x14], 0x10
jb 0x407f83
mov ebx, dword [ebx]
lea eax, [ebx + ecx]
mov ecx, esi
push edi
push eax
call fcn.004040a0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x44289b
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.004040a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041eb32
call fcn.004045b0
int3
Function at 0x4081d0
Capabilities:
Create process on windows
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x4081e1
mov esi, dword [esi]
mov eax, dword [str.XHT_]
xor ecx, ecx
mov dword [ebp - 5], eax
mov al, byte [0x442e6c]
mov byte [ebp - 1], al
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 4
movsx eax, dl
mov dl, cl
imul eax, eax, 0x34
sub dl, al
add dl, 0x37
xor byte [ebp + ecx - 5], dl
inc ecx
cmp ecx, 5
jl 0x4081f3
push 1
push 0
push 0
push esi
lea eax, [ebp - 5]
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x44
lea eax, [ebp - 0x54]
mov esi, ecx
push 0
push eax
call fcn.0041b810
add esp, 0xc
or dword [ebp - 0x28], 1
xor eax, eax
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
movups xmmword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4082a4
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408490
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
mov eax, ecx
mov ebx, edx
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4084a8
sub esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 1]
push eax
call fcn.0041929a
mov edi, ebx
mov dword [ebp - 8], eax
add esp, 4
lea eax, [edi + 1]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x4084c8
sub edi, eax
lea eax, [ebp - 0x214]
push edi
push ebx
push eax
call fcn.0041a370
add esp, 0xc
xor ecx, ecx
mov eax, ecx
mov byte [ebp + ecx - 0x114], cl
cdq
idiv edi
mov al, byte [ebp + edx - 0x214]
mov byte [ebp + ecx - 0x314], al
inc ecx
cmp ecx, 0x100
jl 0x4084e4
xor ebx, ebx
xor edi, edi
nop dword [eax + eax]
mov dl, byte [ebp + edi - 0x114]
movzx eax, byte [ebp + edi - 0x314]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x408536
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [ebp + ebx - 0x114]
mov byte [ebp + edi - 0x114], al
inc edi
mov byte [ebp + ebx - 0x114], dl
cmp edi, 0x100
jl 0x408510
xor edi, edi
test esi, esi
jle 0x4085ea
mov ebx, dword [ebp - 8]
sub dword [ebp - 4], ebx
xor ebx, ebx
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 8]
nop dword [eax]
inc edi
and edi, 0x800000ff
jns 0x408581
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [ebp + edi - 0x114]
movzx edx, cl
add ebx, edx
and ebx, 0x800000ff
jns 0x40859d
dec ebx
or ebx, 0xffffff00
inc ebx
movzx eax, byte [ebp + ebx - 0x114]
mov byte [ebp + edi - 0x114], al
mov byte [ebp + ebx - 0x114], cl
movzx eax, byte [ebp + edi - 0x114]
mov ecx, dword [ebp - 4]
add eax, edx
movzx eax, al
movzx eax, byte [ebp + eax - 0x114]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
sub dword [ebp - 0xc], 1
jne 0x408570
mov ebx, dword [ebp - 8]
mov eax, ebx
mov esi, dword [ebp - 0x14]
pop edi
mov byte [ebx + esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov byte [eax + esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4126f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x412721
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x412710
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x42745b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004272cc

Function at 0x4278f7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b340
push 0x43b338
push str.FlsAlloc
push 0x1e
call fcn.00427764
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42792b
push dword [ebp + 8]
mov ecx, esi
call dword [0x4371e0]
call esi
jmp 0x427931
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x427975
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b350
push 0x43b348
push str.FlsGetValue
push 0x20
call fcn.00427764
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4279ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x4371e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]