joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x405e4d
call fcn.00422856
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x405e4a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405e94
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x405e70
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5799a0]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x405e91
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x5799a0]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x4123ca
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x41241d
push esi
push dword [ebp + 8]
call fcn.004125b3
mov edi, eax
test edi, edi
je 0x412418
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x412418
mov eax, dword [ebp - 8]
jmp 0x41242f
mov eax, dword [ebp + 0x10]
jmp 0x41242f
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x412c65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00422856
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x412c98
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.00412cab
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ca1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x41ca5e
call fcn.00422856
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ca5e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41ca66
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00422a05
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41d45d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41d4e9
cmp dword [esi + 0x20], 0
je 0x41d4e9
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41d4e9
cmp dword [ebp + 8], 0
je 0x41d4e9
xor edi, edi
mov ebx, edi
call fcn.00422856
push 0x57d1f8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x41d4cd
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41d4e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004be473
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41d4e5
mov ecx, esi
call fcn.0041d1fb
mov eax, edi
jmp 0x41d4eb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x421e2c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x569bb5
call fcn.0054c6f7
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x421e52
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x421eac
lea ecx, [ebp - 0x10]
call fcn.00402000
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5799a0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005574a4
push eax
call fcn.004020f0
add esp, 0x14
test esi, esi
je 0x421e9f
push esi
call fcn.005567ad
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402960
mov eax, ebx
call fcn.0054c6c5
ret 8
Function at 0x4370d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x4370ea
call fcn.00422856
mov esi, dword [eax + 0xc]
push 0x580060
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43712c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43712c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x43712c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00437135
jmp 0x43712e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4bfec9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4bff1f
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4bfef8
call fcn.0041794f
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4bff0d
call fcn.0041794f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4bff1f
call fcn.0041794f
call fcn.00422856
cmp dword [eax + 0x3c], 0
je 0x4bff34
push edi
mov ecx, ebx
call fcn.004bf5ec
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c011c
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4bff5d
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4bff69
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4c0f88
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00421a09
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4c0fc4
call fcn.004c11a5
mov dword [esi + 0xc], 1
jmp 0x4c0fc9
call fcn.004c11a5
cmp dword [esi], 0
je 0x4c1014
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x4c0fef
push edi
call fcn.004159d6
lea ecx, [edi + 1]
push ecx
jmp 0x4c0ffe
push 0xff
call fcn.00402ab0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004126ef
pop edi
jmp 0x4c1038
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4c1038
push dword [esi]
push dword [ebp - 4]
call fcn.00425696
pop esi
leave
ret 0xc
Function at 0x4c10fc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004c11a5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c1144
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004159d6
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004126ef
jmp 0x4c114f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00425696
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x512604
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005478c7
call fcn.004228aa
cmp dword [eax + 0x14], 0
jne 0x51261f
mov ecx, esi
pop esi
jmp fcn.00511928
pop esi
ret

Function at 0x5126f4
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0055c265
pop ecx
test eax, eax
jne 0x512736
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004129ae
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5126fc
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x52e6e1
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00401e90
call fcn.004228aa
cmp dword [eax + 0x14], 0
jne 0x52e6fc
mov ecx, esi
pop esi
jmp fcn.0052df52
pop esi
ret

Function at 0x5640b2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00563d2f
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

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 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x428c64
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x428c6a
ret

Function at 0x438ef8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4390a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404978
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4390c0
call fcn.004045d4
mov eax, ebx
call fcn.00426a90
mov edi, eax
dec edi
test edi, edi
jl 0x438fb0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00426a64
mov edx, dword [0x455e24]
call fcn.004036c4
test al, al
je 0x438fac
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00426a64
lea edx, [ebp - 0x14]
call fcn.00462b4c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404978
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404648
inc esi
dec edi
jne 0x438f5e
mov al, byte [0x4390c4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4390d0
mov eax, dword [ebp - 0xc]
call fcn.0040e348
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404360
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00462b4c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4390c0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00462b4c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4390c0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4390c0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4390dc
call fcn.00409dc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4390b0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004042ec
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004042ec
lea eax, [ebp - 0x14]
call fcn.004042c8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004042ec
ret
Function at 0x4c3bfc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c3c2a
mov eax, ebx
call fcn.004c46b0
cmp dword [ebx + 0x40], 0
je 0x4c3c23
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c3c9b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c3c8d
cmp dword [ebx + 8], 0
je 0x4c3c4c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c3c5e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c3c8d
cmp dword [ebx + 8], 0
je 0x4c3c3f
cmp eax, 3
je 0x4c3c71
dec eax
jne 0x4c3c3f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c3c3f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c3c3f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c3cb9
cmp dword [ebx + 0x14], 0xcc
je 0x4c3cb9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c3cc4
pop ebx
ret
Function at 0x63b040
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jbe 0x63b060
mov ecx, dword [esp + 8]
push ebx
mov dl, byte [ecx]
mov bl, byte [eax]
xor bl, dl
inc ecx
mov byte [eax], bl
inc eax
dec esi
jne 0x63b052
pop ebx
pop esi
ret

Function at 0x63b4a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c0]
cmp eax, 0x270
jl 0x63b576
cmp eax, 0x271
jne 0x63b4c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, esi
call fcn.0063b440
push edi
mov ecx, esi
mov edi, 0xe3
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor eax, edx
add ecx, 4
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
shr eax, 1
mov edx, dword [edx*4 + 0x63e49c]
xor edx, eax
mov eax, dword [ecx + 0x630]
xor edx, eax
dec edi
mov dword [ecx - 4], edx
jne 0x63b4d1
lea ecx, [esi + 0x38c]
mov edi, 0x18c
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor eax, edx
add ecx, 4
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
shr eax, 1
mov edx, dword [edx*4 + 0x63e49c]
xor edx, eax
mov eax, dword [ecx - 0x390]
xor edx, eax
dec edi
mov dword [ecx - 4], edx
jne 0x63b50b
mov ecx, dword [esi + 0x9bc]
mov edi, dword [esi]
mov eax, ecx
mov dword [esi + 0x9c0], 0
xor eax, edi
pop edi
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
and ecx, 1
shr eax, 1
mov edx, dword [ecx*4 + 0x63e49c]
mov ecx, dword [esi + 0x630]
xor edx, ecx
xor edx, eax
mov dword [esi + 0x9bc], edx
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov dword [esi + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
pop esi
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x63c4d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x14]
test al, al
jne 0x63c54e
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp eax, 0x12
jne 0x63c4fa
call fcn.0063c560
push 1
mov ecx, esi
call fcn.0063c5a0
pop edi
pop esi
ret 4
cmp eax, 0xa0
jl 0x63c508
cmp eax, 0xa9
jle 0x63c524
cmp eax, 0x100
jl 0x63c516
cmp eax, 0x107
jle 0x63c524
cmp eax, 0x200
jl 0x63c54e
cmp eax, 0x209
jg 0x63c54e
call dword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
jne 0x63c54e
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
sub eax, edx
cmp eax, ecx
jbe 0x63c54e
call edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.0063c420
pop edi
pop esi
ret 4

Function at 0x63c5a0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x30]
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
mov byte [esi + 0x12], 1
je 0x63c5e0
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x63c5e0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call ebp
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x63c5f1
push eax
call ebp
mov dword [esi + 0x2c], 0
mov eax, dword [0x63f6c0]
pop edi
pop esi
pop ebp
test eax, eax
je 0x63c60e
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x63f6c0], 0
mov eax, dword [esp]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ecx
ret 4

Function at 0x63c650
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
mov eax, dword [0x63e010]
mov dword [esi + 0x24], eax
mov eax, dword [0x63e090]
and eax, 0x30
je 0x63c6a5
cmp eax, 0x10
je 0x63c680
cmp eax, 0x20
je 0x63c6a5
pop edi
pop esi
mov al, 1
pop ebx
ret
mov byte [esi + 0x11], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x63cb80
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
pop edi
mov dword [0x63f6c0], eax
pop esi
mov al, 1
pop ebx
ret
lea edi, [esi + 0x12]
push ebp
mov byte [esi + 0x11], 1
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
lea ebx, [esi + 0x2c]
push 0
push 0x1f03ff
push ebx
mov dword [esi + 0x28], eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
pop ebp
je 0x63c71d
cmp dword [ebx], 0
je 0x63c71d
lea ecx, [esi + 0x18]
push ecx
push 0
push edi
push 0x63caa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x1c], eax
push 1
je 0x63c71f
push 0x63cbc0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x63c71d
pop edi
pop esi
mov al, 1
pop ebx
ret
push 1
mov ecx, esi
call fcn.0063c5a0
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x63cd40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
test esi, esi
mov eax, dword [edi]
je 0x63cd7b
mov ecx, dword [esp + 0x10]
push ebx
xor edx, edx
mov ebx, eax
mov dl, byte [ecx]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x63e4a4]
xor eax, edx
inc ecx
dec esi
jne 0x63cd55
mov dword [edi], eax
pop ebx
pop edi
pop esi
ret 0xc
mov dword [edi], eax
pop edi
pop esi
ret 0xc

Function at 0x40cfd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x412946
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push esi
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x438], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x444]
mov ecx, dword [esp + 0x440]
push eax
push ecx
lea edx, [esp + 0x14]
push str.__g_
push edx
mov byte [esp + 0x448], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x6e0304]
add esp, 0x10
lea ecx, [esp + 8]
push eax
call fcn.00410b7a
mov ecx, dword [esp + 0xc]
push ecx
push 0x419118
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
mov edi, dword [esp + 8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.0040bcd0
mov ecx, eax
add esp, 0xc
mov edx, dword [ecx]
pop edi
mov dword [esp + 0xc], edx
pop esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 8]
test al, al
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x14], ecx
jne 0x40d0eb
lea ecx, [esp]
mov byte [esp + 0x430], al
call fcn.00410b6e
lea ecx, [esp + 4]
mov dword [esp + 0x430], 0xffffffff
call fcn.00410b6e
fld qword [esp + 8]
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
add esp, 0x434
ret
movsx edx, al
lea ecx, [esp]
mov dword [0x6e0300], 1
mov dword [0x6e519c], edx
mov byte [esp + 0x430], 0
call fcn.00410b6e
lea ecx, [esp + 4]
mov dword [esp + 0x430], 0xffffffff
call fcn.00410b6e
mov ecx, dword [esp + 0x428]
fld qword [0x4141e0]
mov dword fs:[0], ecx
add esp, 0x434
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