joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [esp + 0x50], edx
mov dword [esp], ecx
movsd qword [esp + 0x58], xmm0
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov esi, eax
mov ecx, eax
mov edi, eax
mov dword [esp + 4], eax
shld ecx, edx, 1
and edi, 0xfffff
shr esi, 0x14
and ecx, 0x1fffff
and si, 0x7ff
lea ebx, [edi + 0x100000]
cmove ebx, ecx
mov ecx, eax
mov dword [esp + 0x4c], ebx
lea ebx, [edx + edx]
cmovne ebx, edx
and ecx, 0x7fffffff
or ecx, edx
call fcn.00417c28
Function at 0x42b6b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x49403c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x80], ecx
jmp dword [edx*4 + 0x4615ec]
Function at 0x42d350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov esi, ecx
mov eax, dword [0x49403c]
xor eax, ebp
mov dword [ebp - 8], eax
jmp dword [edx*4 + 0x46160c]
Function at 0x430d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x560
mov esi, esp
mov dword [esi + 8], edx
mov eax, dword [0x49403c]
xor eax, ebp
mov dword [esi + 0x558], eax
mov edx, 0xf
mov dword [esi + 0x20], ecx
mov eax, dword [ecx]
jmp dword [eax*4 + 0x46162c]
Function at 0x457e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, edx
mov eax, dword [0x49403c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
mov edi, dword [ebp + 8]
je 0x457ea7
mov dword [ebp - 0x14], eax
mov esi, eax
cmp esi, dword [eax]
je 0x457ed8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
lea ebx, [ebp - 0x14]
mov ecx, ebx
call fcn.00456ed0
mov al, 1
mov dword [ebp - 0x20], eax
mov ebx, dword [ebx]
lea ecx, [ebx + 0x10]
mov edx, edi
call fcn.00403df0
test al, al
je 0x457ef3
movzx eax, byte [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov edx, ebx
push dword [ebp + 0xc]
push esi
push eax
call fcn.00403b60
add esp, 0xc
mov al, 1
mov byte [ebx + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450c50
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], ecx
mov esi, edx
add edx, 0x10
mov ecx, edi
call fcn.00403df0
mov ecx, eax
xor cl, 1
movzx ecx, cl
mov edx, dword [esi + ecx*8]
cmp byte [edx + 0xd], 0
je 0x457eaa
mov dword [ebp - 0x14], esi
test al, al
je 0x457ee2
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
jmp 0x457e48
mov edx, ebx
push dword [ebp + 0xc]
push esi
push 1
jmp 0x457e86
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], 0
mov ebx, esi
jmp 0x457e67
mov ecx, dword [ebp + 0xc]
call fcn.00457f10
mov eax, dword [ebp - 0x18]
mov dword [eax], ebx
mov ebx, eax
xor eax, eax
jmp 0x457e90
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40ecb3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409aef
mov dword [ebp - 0x14], eax
cmp dword [0x815d60], esi
jne 0x40eda6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ed33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ee86
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ee86
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ee86
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x815d60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x815d64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x815d68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x815d70], eax
test eax, eax
je 0x40eda3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x815d6c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40edcb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40edbe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ede0
push 4
pop eax
jmp 0x40ee88
cmp dword [ebp - 0x14], esi
je 0x40ede0
push dword [0x815d60]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40edc5
mov eax, dword [0x815d6c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40ee3e
cmp dword [0x815d70], edi
je 0x40ee3e
push eax
call ebx
push dword [0x815d70]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40ee3e
test eax, eax
je 0x40ee3e
call ecx
test eax, eax
je 0x40ee33
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40ee33
test byte [ebp - 8], 1
jne 0x40ee3e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ee6e
mov eax, dword [0x815d64]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
call eax
mov esi, eax
test esi, esi
je 0x40ee6b
mov eax, dword [0x815d68]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x815d60]
call ebx
test eax, eax
je 0x40ee86
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ee88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040414c
mov esp, ebp
pop ebp
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401c66
pop dword [ebp - 0x24]
mov eax, 0x2cfdad97
sub eax, 0x2cbd9131
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x8fdc3fcf
sub dword [ebp - 0x34], 0x4189fa84
mov dword [ebp - 0x30], 0xc1c900e4
add dword [ebp - 0x30], 0x706a4b61
mov dword [ebp - 0x2c], 0xd7329762
add dword [ebp - 0x2c], 0x7519accc
mov dword [ebp - 0x28], 0xfc3e0a8e
add dword [ebp - 0x28], 0x3c1f572
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x9dce2a7a
sub dword [ebp - 0x34], 0x295bc124
mov dword [ebp - 0x30], 0x59e7022f
sub dword [ebp - 0x30], 0x187aa0ba
mov dword [ebp - 0x2c], 0xcbf4da73
sub dword [ebp - 0x2c], 0x68856e07
mov dword [ebp - 0x28], 0x8d70c370
add dword [ebp - 0x28], 0x728f3c90
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xbe319eff
sub eax, 0xbdf16ed3
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x37b2e
push 0
call eax
mov ecx, 0xb440335a
add ecx, 0x4bc01985
xor edx, edx
add edx, eax
mov ebx, 0x407000
add ebx, dword [ebp - 0x24]
mov edi, 0x2cab5a0a
add edi, 0xc10dc190
xor dword [ebp - 0x1c], 0x57de382
mov esi, dword [ebx]
add dword [ebp - 8], ebx
add esi, edi
add dword [ebp - 0x1c], 0xa0ef3fb4
mov dword [edx], esi
mov dword [ebp - 0x14], 0x971be455
add edx, 0xad2434eb
add edx, 0x52dbcb19
add ebx, 4
loop 0x401d7f
add eax, 0xa642e471
sub eax, 0xa641be22
xor ebx, ebx
add ebx, eax
add eax, 0x54d2d98e
sub eax, 0x54d2d989
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x401f07
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push ebx
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.00402341
lea eax, [ebp - 0x184]
push 0x404948
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x401f60
lea eax, [ebp - 0x184]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push str.Cant_open__s_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 1
pop eax
jmp 0x401fb0
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edi
mov edi, 0x80
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
je 0x401fa4
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
jmp 0x401f7a
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x40271f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4030d0
push 0x402850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x404e2c], 0xffffffff
or dword [0x404e30], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404e28]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x404e24]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x404e34], eax
call fcn.00402626
cmp dword [0x404db0], 0
jne 0x4027a2
push fcn.004021c0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040283c
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x404e20]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x404e1c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x1001bd34
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x4010d8
Capabilities:
Encode data using xor

Disassembly:
push 0x401158
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xchg byte [esi - 0x5fec9a34], dh
imul ecx, dword [edx - 0x43], 0xfffffff0
loopne 0x4010e2
insb byte es:[edi], dx
push ebx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
inc esi
push edx
push eax
dec eax
dec esi
pop eax
push edi
add byte [eax], al
add byte [eax], al
add byte [esi], al
add byte [eax], al
add byte [eax + 0x700417d], cl
add byte [eax], al
add al, ah
arpl word [ecx], ax
pop es
add byte [eax], al
add byte [eax + 0x7004163], al
add byte [eax], al
add byte [eax + 0x63], cl
inc ecx
add byte [edi], al
add byte [eax], al
add byte [ebx], al
inc ecx
add byte [edi], al
add byte [eax], al
add byte [edx + 0x70041], ch
add byte [eax], al
pop esp
popal
inc ecx
add byte [esi + 0x42], dl
xor eax, 0x2a1ff021
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, byte [eax]
or dword [eax + eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], cl
sub eax, dword [eax]
movsb byte es:[edi], byte [esi]
adc al, byte [eax]
inc eax
invalid
Function at 0x4b4e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
push edi
jmp 0x4b4e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b4e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4e80
mov eax, 1
add ebx, ebx
jne 0x4b4ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b4eb4
jne 0x4b4ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4ed3
dec eax
add ebx, ebx
jne 0x4b4ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b4e98
add ebx, ebx
jne 0x4b4ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b4f25
xor ecx, ecx
sub eax, 3
jb 0x4b4eeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b4f5a
sar eax, 1
mov ebp, eax
jmp 0x4b4ef6
add ebx, ebx
jne 0x4b4ef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4ec4
inc ecx
add ebx, ebx
jne 0x4b4f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4ec4
add ebx, ebx
jne 0x4b4f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b4f06
jne 0x4b4f22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b4f06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b4f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b4f36
jmp 0x4b4e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b4f44
add edi, ecx
jmp 0x4b4e86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b4f62
cmp byte [edi], 0x13
jne 0x4b4f62
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 0x4b4f67
lea edi, [esi + 0xb0000]
mov eax, dword [edi]
or eax, eax
je 0x4b4fdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb82ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb8440]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b4f94
mov ecx, edi
jns 0x4b4fc3
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 + 0xb8444]
or eax, eax
je 0x4b4fd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b4fb1
call dword [esi + 0xb8454]
mov ebp, dword [esi + 0xb8448]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b5013
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x300129e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [0x300217d0], ecx
push esi
mov esi, 0xff
jne 0x30012a2b
mov dword [0x300217d0], 1
push edi
push 8
mov edx, ecx
pop edi
test dl, 1
je 0x30012a17
shr edx, 1
xor edx, 0xedb88320
jmp 0x30012a19
shr edx, 1
dec edi
test edi, edi
jg 0x30012a08
mov dword [ecx*4 + 0x300213d0], edx
inc ecx
cmp ecx, esi
jle 0x30012a03
pop edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x30012a4c
mov edx, dword [ebp + 8]
movzx edx, byte [edx]
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x300213d0]
inc dword [ebp + 8]
dec ecx
jne 0x30012a32
not eax
pop esi
pop ebp
ret 8
Function at 0x401650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x30], 0
jne 0x40167a
xor eax, eax
jmp 0x4016ac
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4016d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4016a9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x404370
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x448ad0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00404140
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404310
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4043db
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00404170
mov eax, dword [ebp - 0x224]
jmp 0x40446c
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x404441
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404370
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x404438
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00404170
mov eax, dword [ebp - 0x228]
jmp 0x40446c
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x4043e2
lea ecx, [ebp - 0x14]
call fcn.00404250
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004041f0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00404170
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041d78c
mov esp, ebp
pop ebp
ret 4
Function at 0x404a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x404a69
xor ecx, ecx
jne 0x404a69
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x404a8a
mov eax, 0xd
jmp 0x404ae5
xor eax, eax
jne 0x404a71
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x404a9b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x41d78c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448ad0]
jne 0x41d796
repz ret
jmp fcn.00420201

Function at 0x4257cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004215ab
and dword [ebp - 4], 0
cmp dword [0x44af8c], 0
mov ebx, eax
jne 0x42587d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42592e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42592e
push eax
call fcn.00421539
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44af8c], eax
call esi
push eax
call fcn.00421539
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44af90], eax
call esi
push eax
call fcn.00421539
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44af94], eax
call esi
push eax
call fcn.00421539
pop ecx
mov dword [0x44af9c], eax
test eax, eax
je 0x42587d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00421539
pop ecx
mov dword [0x44af98], eax
mov eax, dword [0x44af98]
cmp eax, ebx
je 0x4258d5
cmp dword [0x44af9c], ebx
je 0x4258d5
push eax
call fcn.004215b4
push dword [0x44af9c]
mov esi, eax
call fcn.004215b4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4258d5
test edi, edi
je 0x4258d5
call esi
test eax, eax
je 0x4258cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4258cc
test byte [ebp - 0xc], 1
jne 0x4258d5
or dword [ebp + 0x10], 0x200000
jmp 0x42590e
mov eax, dword [0x44af90]
cmp eax, ebx
je 0x42590e
push eax
call fcn.004215b4
pop ecx
test eax, eax
je 0x42590e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42590e
mov eax, dword [0x44af94]
cmp eax, ebx
je 0x42590e
push eax
call fcn.004215b4
pop ecx
test eax, eax
je 0x42590e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44af8c]
call fcn.004215b4
pop ecx
test eax, eax
je 0x42592e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425930
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426fc0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x14
mov eax, dword [0x448ad0]
xor eax, esp
mov dword [esp + 0x10], eax
movzx ecx, word [esp + 0x18]
push 6
lea eax, [esp + 8]
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp]
push edx
lea eax, [esp + 8]
push 0x441470
push eax
call fcn.00430a1a
add esp, 0xc
test eax, eax
jl 0x427005
cmp eax, 0xffffffff
jne 0x42701e
lea ecx, [esp + 4]
push ecx
push str.MetaToolbox::GetCodePageForLanguage
push str.MetaToolbox:__s_could_not_convert_locale_string__s_to_code_page_value.
push 0xfffffffffffffff3
call fcn.0042f7f0
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp]
xor ecx, esp
call fcn.0041d78c
add esp, 0x14
ret