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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9d6dbc
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9d6d82
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9d6e20
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9d6e72
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9d6e78
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9ef365
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009ef025

Function at 0x9f415f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f3fde

Function at 0x9f9710
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x9f973d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x9f973d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 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 0x401a80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x406480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4064a1
mov eax, 0xff
call fcn.00401a80
xor byte [esi], al
inc esi
dec ebx
jne 0x406491
pop esi
pop ebx
ret

Function at 0x40c851
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x416fc0
cmp edx, dword [eax]
je 0x40c873
add eax, 8
inc ecx
cmp eax, 0x417050
jl 0x40c864
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x416fc0]
jne 0x40c9a1
mov eax, dword [0x4187c8]
cmp eax, 1
je 0x40c97b
test eax, eax
jne 0x40c8a4
cmp dword [0x414bc4], 1
je 0x40c97b
cmp edx, 0xfc
je 0x40c9a1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40c8db
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040e5b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040b5f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40c91e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040b5f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x410688
push edi
call fcn.0040ee40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040e5b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040e5c0
lea eax, [ebp - 0xa0]
push 0x410668
push eax
call fcn.0040e5c0
push dword [esi + 0x416fc4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040e5c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040edad
add esp, 0x2c
pop edi
jmp 0x40c9a1
lea eax, [ebp + 8]
lea esi, [esi + 0x416fc4]
push 0
push eax
push dword [esi]
call fcn.0040b5f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x405c2a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422abc], 0
push esi
jne 0x405c61
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c3b
mov dword [ecx*4 + 0x422ab8], eax
inc ecx
cmp ecx, 0x100
jl 0x405c36
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405c92
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422ab8]
xor eax, esi
inc ecx
dec edx
jne 0x405c74
pop edi
not eax
pop esi
ret 0xc

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 0x10001940
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001a3a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10001a33
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10001a19
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10001a19
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10001a19
mov edx, dword [esi]
test edx, edx
jne 0x100019e2
push 0x200
push edx
push dword [0x100376d4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10001a33
jmp 0x10001a0d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10001a0d
shl eax, 3
push eax
push edx
push 0
push dword [0x100376d4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10001a33
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100019a1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10001a7f
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10001a7f
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001a79
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.100017d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10001a46
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004ef3
mov esp, ebp
pop ebp
ret
Function at 0x10001a90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x100376f0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001af1
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004ef3
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10001b12
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10001b33
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10001b33
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10001b2d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10001b33
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.10004ef3
mov esp, ebp
pop ebp
ret
Function at 0x10001b90
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x100376f8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10001c81
mov eax, dword [0x100376f0]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10001bd5
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10001bb8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10001c81
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.10001940
mov ecx, dword [0x100376f8]
add esp, 4
cmp esi, ecx
jae 0x10001c35
imul edi, esi, 0x2c
mov eax, dword [0x100376f0]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x10001c2a
mov edx, ebx
mov ecx, esi
call fcn.10001a90
mov dword [ebp - 4], eax
test eax, eax
jne 0x10001c32
mov ecx, dword [0x100376f8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10001c01
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10001c81
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10001c72
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001c66
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10001c45
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x100376d4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005ba0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0x10012318
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10005bc7
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10005bca
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.10005b7c
pop esi
leave
ret 8

Function at 0x10008bac
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10008beb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10008beb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10008beb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10008beb
cmp dword [ecx + 0x74], 0xe
jbe 0x10008beb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000b59a
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 0x1000b637
push ebx
push esi
call fcn.1000b563
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.1000b4f7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b5e4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b636
push edi
push eax
call fcn.10009e97
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b604
call fcn.10009ee5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b635
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b4f7
add esp, 0x20
test eax, eax
jne 0x1000b623
push edi
call fcn.10009ee5
jmp 0x1000b62b
push ebx
call fcn.10009ee5
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 0x1000b8a4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100146f0
push 0x100146e8
push 0x10013944
push 0x1f
call fcn.1000b7c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b8d8
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001218c]
call esi
jmp 0x1000b8de
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b922
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014700
push 0x100146f8
push 0x10013968
push 0x21
call fcn.1000b7c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b959
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001218c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b961
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014708
push 0x10014700
push 0x1001397c
push 0x22
call fcn.1000b7c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b99b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001218c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10010ec0
Capabilities:
Parse pe header

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x900000]
push edi
or ebp, 0xffffffff
jmp 0xfd0a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xfd0a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xfd0a08
mov eax, 1
add ebx, ebx
jne 0xfd0a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xfd0a20
jne 0xfd0a3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xfd0a20
xor ecx, ecx
sub eax, 3
jb 0xfd0a50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xfd0ac2
mov ebp, eax
add ebx, ebx
jne 0xfd0a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xfd0a68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xfd0a8c
inc ecx
add ebx, ebx
jne 0xfd0a78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xfd0a6d
jne 0xfd0a89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xfd0a6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xfd0aac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xfd0a9d
jmp 0xfd0a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xfd0aac
add edi, ecx
jmp 0xfd0a0e
pop esi
mov edi, esi
mov ecx, 0x1c716
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xfd0aca
cmp byte [edi], 0x7b
jne 0xfd0aca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xfd0acf
lea edi, [esi + 0xba9000]
mov eax, dword [edi]
or eax, eax
je 0xfd0b47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbd5074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbd5250]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xfd0afc
mov ecx, edi
jns 0xfd0b2b
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 + 0xbd5258]
or eax, eax
je 0xfd0b41
mov dword [ebx], eax
add ebx, 4
jmp 0xfd0b19
call dword [esi + 0xbd5254]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xfd0b78
cmp al, 0xef
ja 0xfd0b6b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xfd0b4d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xfd0b5a
mov ebp, dword [esi + 0xbd525c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x27f]
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 0xfd0bac
sub esp, 0xffffff80
jmp 0x84bf57
Function at 0x401820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413a54
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x8c], eax
push 0
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.00401800
push str.28O9zbTejNl0JPReM8mxUjFuF4Pu_AOjpzx5xyBCgjexIwrSgGNol7NTvU_H67ttG1nAnzbUS19cKEs_Yv2jjxEC895uead0rVVMVaDZbokBe5f_CTfznZ___FbC7bpuDYAggvMk0JCLTratxB7E0_NASuwk_TzBjFx3fqfSOJPxughfRv7okLo4W2gEJJP9JgTRuACdTBZzUGqtiTTUcMrgwA4YOu0G2T3eIyD0lPuomOsJFuAE8ajwmUTt8hPe0scI6GuFsldtRzUW0u8K6pMQI008_2xwnPz71Oj9RWbLZO3GSctTovwhF9BV1RX6aigh315j9d6LCqIgYajYax2oxB1A9Fvmpq4qgA8lWNGtJjYVyUECxUEKcOt02cG2L4DbHfVrhtNcKdPfnTHnSkbDIifP5VvgqBv8D2OYDFopiYQDuIvIsxfP9DedsAIn1LVP7wXEwJopeCO
lea ecx, [ebp - 0x70]
call fcn.00402b40
mov dword [ebp - 4], 0
push 0x414181
lea ecx, [ebp - 0x40]
call fcn.00402b40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00401510
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00401030
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004046b0
add esp, 8
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402fe0
lea ecx, [ebp - 0x88]
call fcn.00402f10
nop
lea ecx, [ebp - 0x28]
push ecx
call fcn.004016d0
add esp, 4
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00402f10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402f10
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404d95
mov esp, ebp
pop ebp
ret
Function at 0x40d00f
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 0x40d0ac
push ebx
push esi
call fcn.0040cfd8
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.0040cf6c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40d059
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d0ab
push edi
push eax
call fcn.0040ba58
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40d079
call fcn.0040bb4f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d0aa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040cf6c
add esp, 0x20
test eax, eax
jne 0x40d098
push edi
call fcn.0040bb4f
jmp 0x40d0a0
push ebx
call fcn.0040bb4f
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 0x40d71a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416530
push 0x416528
push str.FlsAlloc
push 0x1f
call fcn.0040d5d9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d74e
push dword [ebp + 8]
mov ecx, esi
call dword [0x414128]
call esi
jmp 0x40d754
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d798
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416540
push 0x416538
push str.FlsGetValue
push 0x21
call fcn.0040d5d9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d7cf
push dword [ebp + 8]
mov ecx, esi
call dword [0x414128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d7d7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416548
push 0x416540
push str.FlsSetValue
push 0x22
call fcn.0040d5d9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d811
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x414128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x413670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41369d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41369d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

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