joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bf570
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x5bf613
test eax, eax
jbe 0x5bf613
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x5bf613
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x5bf5be
xor esi, esi
jmp 0x5bf5c4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x5bf5ef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.005cc8b0
add esi, eax
push esi
mov ebx, esi
call fcn.005cc8b0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x5bf5d0
pop ebp
test edi, edi
pop edi
jne 0x5bf613
test ebx, ebx
je 0x5bf613
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.005f5ea0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x5bf735
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5bf84d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5bf84d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00608aaf
mov esi, eax
test esi, esi
je 0x5bf84d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x5bf84d
mov ecx, esi
call fcn.005bf6c0
cmp edi, eax
jge 0x5bf84d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x5bf7d3
mov dword [esp + 0x34], 1
jmp 0x5bf82e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x5bf84d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.005bec70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x5ce970
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.005d4df0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x5cea69
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.005cea80
test eax, eax
jne 0x5cea69
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.005cea80
test eax, eax
jne 0x5cea69
lea edx, [esp + 0x10]
push 0x810430
push edx
call fcn.005f66b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5cea3a
lea eax, [esp + 0x10]
push 0x81042c
push eax
call fcn.005f66b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5cea3a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x5cea3d
mov byte [esi], 0
push 0x80fbf4
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x5cea80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5ceae2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x5d4d30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x61c018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x5d4de0
mov eax, dword [0x812f94]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00607348
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00607397
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.006072f4
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x5d4dc7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x5d4dc7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00606f18
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5d7ee0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61c4a0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5d8087
mov ecx, dword [0x812f94]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x5d7fdc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.005d6c00
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00607051
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00606f18
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x80fbf4
call fcn.00606f86
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.005d6fc0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00607051
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00606f18
lea ecx, [esp + 0xc]
call fcn.0060742c
mov ecx, dword [esp + 0xc]
push 0x810634
push ecx
call fcn.005f5494
add esp, 8
test eax, eax
je 0x5d8004
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5d7f3d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00606f18
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00606f18
jmp 0x5d808b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005d7c80
test eax, eax
push 0
je 0x5d806f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.005d6320
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5d8055
cmp eax, 0x64
jg 0x5d8043
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5d7fe0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5d7fe0
cmp eax, 0x64
jge 0x5d7fdc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5d7fe0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.005d6320
mov esi, eax
jmp 0x5d7fe0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x5d8095
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5e6e00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x8110d0]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5e6e13
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x5e6e54
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x811178]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5e6e86
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5e6e8a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x5e6e7b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5e6ea8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5e6eac
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5e6e9d
xor ecx, ecx
mov eax, 0x8110e0
xor ebx, ebx
mov bl, byte [ecx + 0x811188]
cmp byte [esp + ebx + 0x14], 0
je 0x5e6ed7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x8111a0]
cmp byte [esp + ebx + 0x14], 0
je 0x5e6eee
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5e6ebe
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x5e6e47
lea edx, [esp + 0x84]
push edx
call fcn.005e6f30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x607e3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.006124c0
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x607e6c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00607e7f
pop edi
pop esi
pop ebx
ret 8

Function at 0x609453
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x60948b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006073bf
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00607397
jmp 0x609497
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x60ad43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x60ad85
call fcn.006124c0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x60ad85
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x60ad7c
xor eax, eax
jmp 0x60ad8d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0060ad93
pop edi
pop esi
pop ebx
ret 4

Function at 0x6129f0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x612a1e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x612a3c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00612956
jmp 0x612a3c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x612a3c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00612956
test edi, edi
mov eax, edi
jne 0x612a26
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x3923700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0392378f
jae 0x392370e
xor ecx, ecx
call fcn.0392378f
jae 0x392373d
xor eax, eax
call fcn.0392378f
jae 0x392374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0392378f
adc al, al
jae 0x392372f
jne 0x3923779
stosb byte es:[edi], al
jmp 0x3923711
call fcn.0392379b
sub ecx, ebx
jne 0x3923756
call fcn.03923799
jmp 0x3923775
lodsb al, byte [esi]
shr eax, 1
je 0x3923783
adc ecx, ecx
jmp 0x3923772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03923799
cmp eax, 0x7d00
jae 0x3923772
cmp ah, 5
jae 0x3923773
cmp eax, 0x7f
ja 0x3923774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3923711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x8eee9c
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp ebp
push eax
push ecx
cwde
push edi
movsx edi, sp
pushfd
mov al, 0xfb
push edx
cbw
bswap ax
push esi
push ebp
rdtsc
movsx edi, sp
push ebx
cwd
mov eax, 0
cmove si, cx
push eax
mov esi, dword [esp + 0x28]
not esi
cmovs bx, dx
not di
cdq
bswap esi
cwd
inc esi
xor esi, 0x5a89673d
btc dx, 0x1f
cmovle ebp, edi
test edi, 0x537c2bca
sub esi, 0x25f44ccb
rol bx, cl
add esi, eax
rdtsc
mov edi, esp
movzx dx, ah
lea esp, [esp - 0xc0]
ror eax, 0x8e
dec dx
sar bp, 0x17
mov ebx, esi
xchg bp, bp
and ah, 0x6e
mov eax, 0
not ebp
sub ebx, eax
test ch, dl
and ebp, 0x7bd82f3e
lea ebp, [0x8eef24]
ror edx, 0x13
mov edx, dword [esi]
add esi, 4
cmc
xor edx, ebx
cmc
ror edx, 1
test edx, 0x7f585e72
cmp di, bx
cmc
neg edx
clc
xor edx, 0x265a32d8
jmp 0xcdd546
rol edx, 2
cmp di, 0x399c
cmp ebp, esi
lea edx, [edx - 0x58da083c]
stc
xor ebx, edx
stc
add ebp, edx
jmp 0x8b458c
Function at 0x401a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 8
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx + 0x7c], 0
jne 0x401a58
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + edx + 0x78]
test eax, eax
je 0x401a52
mov ecx, dword [eax + edx + 0x24]
add ecx, edx
push ebx
mov ebx, dword [eax + edx + 0x20]
mov dword [ebp - 4], ecx
add ebx, edx
mov ecx, dword [eax + edx + 0x1c]
push esi
mov esi, dword [eax + edx + 0x18]
add ecx, edx
push edi
mov dword [ebp - 8], ecx
xor edi, edi
xor ecx, ecx
dec esi
mov eax, dword [ebx + ecx*4]
add eax, edx
cmp byte [eax], 0x47
jne 0x401adc
cmp byte [eax + 1], 0x65
jne 0x401adc
cmp byte [eax + 2], 0x74
jne 0x401adc
cmp byte [eax + 3], 0x50
jne 0x401adc
cmp byte [eax + 4], 0x72
jne 0x401adc
cmp byte [eax + 5], 0x6f
jne 0x401adc
cmp byte [eax + 6], 0x63
jne 0x401adc
cmp byte [eax + 7], 0x41
jne 0x401adc
cmp byte [eax + 8], 0x64
jne 0x401adc
cmp byte [eax + 9], 0x64
jne 0x401adc
cmp byte [eax + 0xa], 0x72
jne 0x401adc
cmp byte [eax + 0xb], 0x65
jne 0x401adc
cmp byte [eax + 0xc], 0x73
jne 0x401adc
cmp byte [eax + 0xd], 0x73
je 0x401aea
inc ecx
cmp ecx, esi
jbe 0x401a84
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, edx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401e80
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x43206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x7c], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x7c], eax
mov esi, dword [ebp - 0x7c]
mov ecx, esi
call fcn.00401a40
mov ebx, eax
mov dword [ebp - 0x20], 0x64616f4c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x7262694c
push eax
push esi
mov dword [ebp - 0x18], 0x41797261
mov byte [ebp - 0x14], 0
call ebx
mov edi, eax
mov dword [ebp - 0x10], 0x72657375
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x642e3233
push eax
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
call edi
movaps xmm0, xmmword [0x42f730]
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x64], xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], 0x6e65704f
movaps xmm0, xmmword [0x42f740]
push eax
mov dword [ebp - 0x2c], 0x70696c43
mov dword [ebp - 0x28], 0x72616f62
mov word [ebp - 0x24], 0x64
mov dword [ebp - 0x40], 0x736f6c43
mov dword [ebp - 0x3c], 0x696c4365
mov dword [ebp - 0x38], 0x616f6270
mov word [ebp - 0x34], 0x6472
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x74706d45
mov dword [ebp - 0x4c], 0x696c4379
mov dword [ebp - 0x48], 0x616f6270
mov word [ebp - 0x44], 0x6472
mov byte [ebp - 0x42], 0
movups xmmword [ebp - 0x78], xmm0
mov byte [ebp - 0x68], 0
call edi
push eax
call ebx
mov esi, eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
push 0
mov edi, eax
call esi
test eax, eax
je 0x402024
call dword [ebp - 0x84]
mov ebx, dword [ebp - 0x88]
mov ecx, dword [ebx + 0x10]
inc ecx
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x402021
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x402021
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
jb 0x402009
mov ebx, dword [ebx]
inc eax
push eax
push ebx
push ecx
call fcn.0040fe90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call edi
call dword [ebp - 0x80]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d478
mov esp, ebp
pop ebp
ret
Function at 0x403c50
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 0x403c81
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x403c70
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x41242f
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426160
push 0x426158
push str.FlsAlloc
push 0
call fcn.004123af
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412461
push dword [ebp + 8]
mov ecx, esi
call fcn.0040d9c5
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x4124a3
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426170
push 0x426168
push str.FlsGetValue
push 2
call fcn.004123af
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x4124d4
mov ecx, esi
call fcn.0040d9c5
call esi
jmp 0x4124da
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x4124dd
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426178
push 0x426170
push str.FlsSetValue
push 3
call fcn.004123af
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x412511
mov ecx, esi
call fcn.0040d9c5
call esi
jmp 0x412517
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x41bdcf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ba8f

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 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x409b47
pop dword [ebp - 0x18]
mov eax, 0xe977275d
add eax, 0x16c973ea
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xbf35eebe
add dword [ebp - 0x28], 0x8f1c568d
mov dword [ebp - 0x24], 0x4db5ab18
sub dword [ebp - 0x24], 0x1b825ed3
mov dword [ebp - 0x20], 0x28e3b8f9
add dword [ebp - 0x20], 0x23688b35
mov dword [ebp - 0x1c], 0x93667b7a
add dword [ebp - 0x1c], 0x6c998486
lea eax, [ebp - 0x28]
push eax
mov eax, 0x57dcc6e2
add eax, 0xa8640972
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x660f2362
add dword [ebp - 0x28], 0xe6345f4
mov dword [ebp - 0x24], 0x602ba4b7
add dword [ebp - 0x24], 0xe140bcbe
mov dword [ebp - 0x20], 0x892950b4
add dword [ebp - 0x20], 0xda461bb8
mov dword [ebp - 0x1c], 0xfa079e40
add dword [ebp - 0x1c], 0x5f861c0
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x1044a7cb
add eax, 0xeffc2881
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x35f72
push 0
call eax
mov ecx, 0xdca11cb8
add ecx, 0x235f1cf9
mov esi, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x18]
mov ebx, 0xd75791e9
add ebx, 0xc3f0d51a
mov edx, dword [edi]
mov dword [ebp - 8], 0x15be80f9
add edx, ebx
mov dword [ebp - 0x14], 0xf98840cb
mov dword [esi], edx
xor dword [ebp - 0xc], ecx
add esi, 4
add edi, 0x2d32a9a9
add edi, 0xd2cd565b
loop 0x409c63
add eax, 0x3644cecc
sub eax, 0x3643f535
xor ebx, ebx
add ebx, eax
add eax, 0xb0008f4c
add eax, 0x4fff70b9
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret