joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e5e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000e5f2
pop dword [ebp - 0x1c]
mov eax, 0x4bdea803
sub eax, 0x3bddc211
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x6b4aba60
sub dword [ebp - 0x2c], 0x1cf87515
mov dword [ebp - 0x28], 0x7d0670a0
add dword [ebp - 0x28], 0xb52cdba5
mov dword [ebp - 0x24], 0x6adc23c5
sub dword [ebp - 0x24], 0x1e8fdf97
mov dword [ebp - 0x20], 0x7c9e6558
add dword [ebp - 0x20], 0x83619aa8
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x20688880
add eax, 0xef98a760
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xddba3f4d
add dword [ebp - 0x2c], 0x96b82a09
mov dword [ebp - 0x28], 0x88bcfe88
add dword [ebp - 0x28], 0xb8af62ed
mov dword [ebp - 0x24], 0xf32d58ec
add dword [ebp - 0x24], 0x70421380
mov dword [ebp - 0x20], 0x9a7272cc
add dword [ebp - 0x20], 0x658d8d34
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x8f7df20a
add eax, 0x80833dde
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x382cc
push 0
call eax
mov ecx, 0xa08ec674
sub ecx, 0xa08e7802
mov edx, eax
mov esi, 0x10018a00
add esi, dword [ebp - 0x1c]
mov ebx, 0xc88d87d6
sub ebx, 0x5e3cf7eb
add dword [ebp - 4], 0x6de84c86
mov edi, dword [esi]
xor dword [ebp - 0x14], ecx
sub edi, ebx
add dword [ebp - 0x10], edx
mov dword [edx], edi
sub dword [ebp - 0x18], 0x7fa85031
add edx, 0x4960c0b8
sub edx, 0x4960c0b4
add esi, 0xc339c96b
add esi, 0x3cc63699
loop 0x1000e70e
add eax, 0x9b1894c3
add eax, 0x64e897d8
mov ebx, eax
add eax, 5
mov ecx, 0x4ca5b4ec
add ecx, 0xc35a4b14
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4116ef
pop dword [ebp - 0x2c]
mov eax, 0xd0672e49
sub eax, 0xd026175a
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3fc46
push 0
mov eax, 0x86fef36
sub eax, 0x82d9d1e
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x4fd5
xor esi, esi
add esi, eax
mov edx, 0x5e2d8512
sub edx, 0x5dea3112
add edx, dword [ebp - 0x2c]
mov edi, 0x7af91b9a
sub edi, 0x153dfa32
sub dword [ebp - 0x20], ecx
mov ebx, dword [edx]
add dword [ebp - 0x28], 0x6c25dcdd
xor ebx, edi
xor dword [ebp - 0x14], edx
mov dword [esi], ebx
add esi, 0x22190ab5
add esi, 0xdde6f54f
add edx, 0x3101f7c7
add edx, 0xcefe083d
loop 0x41174a
add eax, 0xdb3fdcea
sub eax, 0xdb3eaac3
xor ebx, ebx
add ebx, eax
add eax, 0x79359901
add eax, 0x86ca6704
mov ecx, 0xff48e5b1
add ecx, 0xf71a4f
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x349012a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x349012b3
pop dword [ebp - 0x44]
mov eax, 0x349012b3
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xf0ad9328
add dword [ebp - 0x54], 0x5da4b223
mov dword [ebp - 0x50], 0x5cc144b
add dword [ebp - 0x50], 0x2c6737fa
mov dword [ebp - 0x4c], 0x67c094e3
add dword [ebp - 0x4c], 0xe48baf4b
mov dword [ebp - 0x48], 0xb25c06ef
add dword [ebp - 0x48], 0x4da3f911
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x5279fe47
sub dword [ebp - 0x54], 0xde0794f1
mov dword [ebp - 0x50], 0x49fb0390
sub dword [ebp - 0x50], 0x88ea21b
mov dword [ebp - 0x4c], 0xb1cfd48a
add dword [ebp - 0x4c], 0xb19f97e2
mov dword [ebp - 0x48], 0x1ea74ed5
add dword [ebp - 0x48], 0xe158b12b
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x4db52c06
sub eax, 0x192c19da
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x5e53a
push 0
call eax
mov ecx, 0x4be5
xor ebx, ebx
add ebx, eax
mov esi, 0x7724e4fb
add esi, 0xbd6deb05
add esi, dword [ebp - 0x44]
mov edx, 0x9901eeed
add edx, 0xc59a122b
mov dword [ebp - 0x1c], 0x21068e
mov edi, dword [esi]
sub dword [ebp - 0x1c], 0xb7f0f66a
xor edi, edx
xor dword [ebp - 8], 0xbf5befa
mov dword [ebx], edi
add dword [ebp - 0x30], edi
add ebx, 0x9c7cd9cb
add ebx, 0x63832639
add esi, 0x90374eb8
add esi, 0x6fc8b14c
loop 0x349013c7
add eax, 0x12267
mov ebx, eax
add eax, 0x41d72090
add eax, 0xbe28df75
mov ecx, 0x34890000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x3490c660
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x34899a58]
jne 0x3490d352
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3491f998], eax
mov dword [0x3491f994], ecx
mov dword [0x3491f990], edx
mov dword [0x3491f98c], ebx
mov dword [0x3491f988], esi
mov dword [0x3491f984], edi
mov word [0x3491f9b0], ss
mov word [0x3491f9a4], cs
mov word [0x3491f980], ds
mov word [0x3491f97c], es
mov word [0x3491f978], fs
mov word [0x3491f974], gs
pushfd
pop dword [0x3491f9a8]
mov eax, dword [ebp]
mov dword [0x3491f99c], eax
mov eax, dword [ebp + 4]
mov dword [0x3491f9a0], eax
lea eax, [ebp + 8]
mov dword [0x3491f9ac], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3491f8e8], 0x10001
mov eax, dword [0x3491f9a0]
mov dword [0x3491f89c], eax
mov dword [0x3491f890], 0xc0000409
mov dword [0x3491f894], 1
mov eax, dword [0x34899a58]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3491b924]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x3491f8e0], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34899dd4
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x3491f8e0], 0
jne 0x3490d442
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405b10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.00406fd0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [edi], 0
mov ebx, eax
jne 0x405bbf
push ebx
call fcn.00411aa1
mov edx, eax
lea ecx, [ebp - 0x18]
lea eax, [edi + 8]
add esp, 4
cmp eax, ecx
je 0x405bb1
mov ecx, dword [eax]
mov dword [eax], edx
test ecx, ecx
je 0x405bba
push ecx
call fcn.00411a9c
add esp, 4
mov dword [edi + 4], ebx
jmp 0x405c07
push edx
call fcn.00411a9c
add esp, 4
mov dword [edi + 4], ebx
jmp 0x405c07
cmp ebx, dword [edi + 4]
jbe 0x405c07
push ebx
call fcn.00411aa1
mov dword [ebp + 8], eax
lea edx, [edi + 8]
mov ecx, eax
add esp, 4
lea eax, [ebp - 0x1c]
cmp edx, eax
je 0x405bf7
mov eax, dword [edx]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov dword [edx], esi
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x405bf7
push eax
call fcn.00411a9c
mov dword [edi + 4], ebx
jmp 0x405c04
mov dword [edi + 4], ebx
test ecx, ecx
je 0x405c07
push ecx
call fcn.00411a9c
add esp, 4
push 0
lea eax, [ebp + 8]
mov dword [edi], ebx
push eax
push ebx
push dword [edi + 8]
mov dword [ebp + 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411017
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x41103e
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x411041
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00410ff3
pop esi
leave
ret 8

Function at 0x41231a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x412359
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412359
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412359
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x412359
cmp dword [ecx + 0x74], 0xe
jbe 0x412359
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x420034
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42ec40
push 0x42ec38
push str.FlsAlloc
push 0x1f
call fcn.0041fef3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x420068
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b134]
call esi
jmp 0x42006e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4200b2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42ec50
push 0x42ec48
push str.FlsGetValue
push 0x21
call fcn.0041fef3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4200e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4200f1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42ec58
push 0x42ec50
push str.FlsSetValue
push 0x22
call fcn.0041fef3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42012b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42b134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4221f9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x422296
push ebx
push esi
call fcn.004221c2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00422156
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x422243
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422295
push edi
push eax
call fcn.0041e935
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x422263
call fcn.0041e8fb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422294
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00422156
add esp, 0x20
test eax, eax
jne 0x422282
push edi
call fcn.0041e8fb
jmp 0x42228a
push ebx
call fcn.0041e8fb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4291b0
Capabilities:
Parse pe header

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x73391148
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x48a575c9
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
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
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa
Function at 0x43b63b
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
sub eax, eax
call fcn.0043b677
mov ebx, 0xcf7ee423
add eax, 0xa0e749c7
xor dword [edx], edi
mov ebx, 0xbac653a
mov ebx, eax
add ebx, 0xbb1d4cd3
inc edx
add ebx, ebx
cmp edx, esi
jne fcn.0043b63b
add eax, eax
sub eax, eax
inc eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408620
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x408603
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x408621
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
invalid
and al, 0x8d
inc esp
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40867f
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x408666
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40866f
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x408679
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40865b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4085e5
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4086cc
dec eax
je 0x4086c3
sub eax, 3
je 0x4086ba
mov dword [ebp - 4], 0x40
jmp 0x4086e9
mov dword [ebp - 4], 4
jmp 0x4086cf
mov dword [ebp - 4], 0x20
jmp 0x4086cf
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40871b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40869b
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00407f2c
jbe 0x408782
das
mov bh, bh
jne 0x408726
push 1
push esi
call edi
mov eax, esi
jmp 0x408727
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
invalid

Function at 0x4087d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00407ef1
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
invalid
invalid
dec esp
Function at 0x402f6c
Capabilities:
Query or enumerate registry value

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

Function at 0x403cb8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45304c], 0
je 0x403d19
cmp word [0x453220], 0xd7b2
jne 0x403ce1
cmp dword [0x453228], 0
jbe 0x403ce1
mov eax, 0x45321c
call dword [0x453238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45106c
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 0x403d40
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x451030], 0
jne 0x403d35
push 0
push 0x451064
push 0x45106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405c10
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 0x405c76
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.004040a4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b30
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405c60
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c7d
lea eax, [ebp - 0x10]
call fcn.00403e34
ret

Function at 0x40abb8
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 0x40abf1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f24
jmp 0x40abfa
mov eax, ebx
mov edx, esi
call fcn.00403e88
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b2ac
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b124
mov eax, dword [0x45207c]
cmp byte [eax], 0
je 0x40b328
mov eax, dword [0x451e90]
call fcn.0040299c
call fcn.00402834
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.004083f8
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 0x40b370
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b35e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453668]
call fcn.00405124
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