joyce8/EMBER2024-capa huggingface dataset:
Function at 0x565ab0
Capabilities:
Hash data using sha1

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov edi, dword [esi + 8]
and edi, 0x3f
mov byte [edi + esi + 0x40], 0x80
inc edi
cmp edi, 0x38
jbe 0x565afd
cmp edi, 0x40
je 0x565ae9
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edi
add ecx, edi
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi]
lea ebp, [esi + 0x40]
lea ebx, [esi + 0x20]
mov edx, ebp
push 1
mov ecx, ebx
call eax
xor edi, edi
jmp 0x565b03
lea ebp, [esi + 0x40]
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edi
push eax
lea eax, [esi + 0x40]
add eax, edi
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, ebp
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebx
push 1
call eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
bswap eax
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 0x24]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x2c]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x30]
bswap eax
mov dword [ecx + 0x10], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
pop esi
pop ebp
mov dword [ebx], 0x67452301
pop ebx
pop ecx
ret

Function at 0x565c10
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [0x5b3108]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x565c50
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret
Function at 0x566340
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x56638a
cmp edx, 0x40
je 0x566376
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi]
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov edx, ebx
push 1
mov ecx, ebp
call eax
xor edx, edx
jmp 0x566390
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, ebx
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebp
push 1
call eax
mov edx, ebp
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x5663d0
pop edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
mov dword [ebp], 0x6a09e667
pop ebp
pop ebx
ret

Function at 0x566430
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x5b310c]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x566480
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x567240
Capabilities:
Enumerate pe sections

Disassembly:
test byte [0x5b3120], 0x20
jne 0x56725a
vmovd xmm0, ecx
vpinsrd xmm0, xmm0, edx, 1
vcvtqq2pd xmm0, xmm0
ret
movd xmm0, ecx
orps xmm0, xmmword [0x58ebf0]
subsd xmm0, qword [0x58ebf0]
test edx, edx
je 0x567281
cvtsi2sd xmm1, edx
mulsd xmm1, qword [0x58ec10]
addsd xmm0, xmm1
ret

Function at 0x567f50
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x567f8f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x567f8f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x567f8f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x567f8f
cmp dword [ecx + 0x74], 0xe
jbe 0x567f8f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x568480
Capabilities:
Get process heap force flags

Disassembly:
call fcn.005683b0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x5684aa
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x5684b6
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x5684c0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.005683b0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x5684ea
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x568980
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00447740
mov esi, dword [ebp + 8]
test al, al
je 0x56899e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.005689b0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x568ae0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x568b3c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x568b3c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x568b3c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x568b3c
cmp dword [ecx + 0x74], 0xe
jbe 0x568b3c
cmp dword [ecx + 0xe8], 0
je 0x568b3c
push dword [ebp + 8]
call fcn.005689b0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x5c14b8
call fcn.00568790
add esp, 8
cmp dword [ebp - 8], 0
jne 0x568b71
push dword [ebp + 8]
call fcn.00568980
mov esp, ebp
pop ebp
ret

Function at 0x568bb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x568c0c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x568c0c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x568c0c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x568c0c
cmp dword [ecx + 0x74], 0xe
jbe 0x568c0c
cmp dword [ecx + 0xe8], 0
je 0x568c0c
push dword [ebp + 8]
call fcn.005689b0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x5c14b8
call fcn.00568790
add esp, 8
cmp dword [ebp - 8], 0
jne 0x568c41
push dword [ebp + 8]
call fcn.00568980
mov esp, ebp
pop ebp
ret
Function at 0x569320
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x56934a
mov eax, 2
pop ebp
ret
push esi
call fcn.005683b0
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x56936a
jmp dword [eax*4 + 0x5693a0]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.00569710
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x569740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x5b3140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x569767
mov ecx, 5
int 0x29
push 2
call fcn.00567ff4
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x569872
test esi, esi
jne 0x569872
push 2
call fcn.00567ff4
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00567c7c
mov esp, ebp
pop ebp
ret

Function at 0x569a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x569a4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x569a4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x569ff0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x56a190
test edx, 3
je 0x56a022
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x56a007
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x56a030
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x56a189
xor eax, dword [edi + edx]
jmp 0x56a157
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x56a1a7
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x56a194
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x403f9c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405ab4
test esi, esi
jne 0x403fd2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405bf0
jmp 0x403ff0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403e80
mov edi, eax
test esi, esi
je 0x403ff0
cmp dword [ebx], 0
je 0x403ff0
dec esi
jmp 0x403fd9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405834
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43f04c], 0
je 0x40589b
cmp word [0x43f338], 0xd7b2
jne 0x40585d
cmp dword [0x43f340], 0
jbe 0x40585d
mov eax, 0x43f334
call dword [0x43f350]
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
mov eax, 0x4058c8
call fcn.00405f54
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x43a022], 0
jne 0x4058b7
push 0
push 0x43a99a
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406ff4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x407159
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405ab4
cmp si, word [0x43a9d8]
jb 0x40708c
cmp si, word [0x43abd8]
ja 0x40708c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40708c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x43a9d8]
jae 0x407066
mov edi, ebx
dec edi
jmp 0x407087
cmp si, word [ebx*8 + 0x43a9d8]
jbe 0x407076
inc ebx
mov dword [ebp - 8], ebx
jmp 0x407087
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x43a9dc]
call fcn.00406f14
jmp 0x40708c
cmp edi, dword [ebp - 8]
jae 0x407050
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40713b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40713b
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406090
push dword [ebp - 0x160]
push 0x407174
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00406090
push dword [ebp - 0x164]
push 0x407184
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406090
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00406248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407160
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405b14
ret
Function at 0x40730c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40740f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x441b7c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x441b94]
jne 0x407358
mov eax, esi
mov edx, 0x441b96
mov ecx, 0x55
call fcn.00406090
push 0x441b7c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4073f9
push 0x441b7c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405ab4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4073c7
cmp byte [0x441b78], 0
je 0x40738c
mov edx, esi
mov eax, ebx
call fcn.004071f0
jmp 0x4073c7
mov edx, esi
mov eax, ebx
call fcn.00406ff4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4073c7
cmp dword [esi], 0
je 0x4073b0
mov eax, esi
mov edx, 0x407428
call fcn.00406168
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00406ff4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406168
push 0x441b7c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x441b94], bx
push 0xaa
mov eax, dword [esi]
call fcn.00405ffc
push eax
push 0x441b96
call sub.kernel32.dll_lstrcpynW
push 0x441b7c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407416
lea eax, [ebp - 4]
call fcn.00405ab4
ret
Function at 0x417830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x417955
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00417638
mov esi, eax
mov eax, dword [0x43e410]
cmp byte [eax], 0
je 0x4178fd
mov eax, dword [0x43e338]
call fcn.004044b8
call fcn.00403d30
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417800]
call fcn.00406a90
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x417970
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x417939
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x43e314]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x441c44]
call fcn.00406b48
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41795c
lea eax, [ebp - 4]
mov edx, dword [0x417800]
call fcn.00406a9c
ret

Function at 0x418a14
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.00405e68
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408170
mov edi, eax
cmp edi, 0x104
jbe 0x4189bb
mov eax, edi
add eax, eax
call fcn.00403bdc
mov esi, eax
jmp 0x4189bd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408170
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4189f8
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 0x4189e2
mov eax, esp
cmp esi, eax
je 0x418a05
mov eax, esi
call fcn.00403bf8
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 0x418a40
cmp bl, 0
je 0x418a3c
cmp bl, 0x41
jl 0x418a37
cmp bl, 0x5a
jg 0x418a37
or bl, 0x20
xor al, bl
inc esi
jmp 0x418a1b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41897c

Function at 0x418c60
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00406090
add esp, 0x800
pop ebx
ret
Function at 0x418f4c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00405ab4
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00405ffc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x418f91
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00405bf0
jmp 0x418faa
mov edx, ebx
dec edx
mov eax, esi
call fcn.004060e8
push ebx
mov eax, dword [esi]
call fcn.00405ffc
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41c1fc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x43c20c
test edx, edx
jne 0x41c21b
xor eax, eax
jmp 0x41c339
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x41c238
push esi
push edx
push eax
call fcn.0041c340
add esp, 0xc
jmp 0x41c339
push esi
push edx
push eax
call fcn.0041c600
add esp, 0xc
jmp 0x41c339
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x435898
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x14], edi
push edi
push esi
call sub.kernel32.dll_LoadResource
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
push eax
push esi
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004358ec
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x435bd5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x435bf0
push ebx
push 0x435c00
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00406248
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00404528
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405ffc
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x435bbf
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435bdc
lea eax, [ebp - 4]
call fcn.00405ab4
ret