joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4724f0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x30008
call fcn.0049af60
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x47250a
cmp word [esi], 0
jne 0x47250f
mov esi, 0x4aaea4
xor eax, eax
lea edx, [esp + 0xc]
push edx
mov word [esp + 0x10014], ax
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x3001c]
push 0x8000
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp word [ebx], 0
je 0x47258d
cmp word [edi], 0
jne 0x47254d
lea edi, [esp + 8]
lea edx, [esp + 0x10]
push edx
push 0xffff
lea eax, [esp + 0x10018]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [0x4ca4b0]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x1001c]
push eax
push ecx
call fcn.00478f30
pop edi
pop esi
add esp, 0x30008
ret 4
cmp word [edi], 0
je 0x4725ae
lea ecx, [esp + 0x10]
push ecx
push 0xffff
lea edx, [esp + 0x10018]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x4725c6
lea eax, [esp + 0x10]
push eax
push 0xffff
lea ecx, [esp + 0x10018]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
test eax, eax
je 0x472568
lea eax, [esp + 0x10010]
cmp word [eax], 0
jne 0x4725e6
cmp word [eax + 2], 0
je 0x472568
mov edx, 0xa
mov word [eax], dx
add eax, 2
jmp 0x4725d1

Function at 0x4725f0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
mov esi, eax
mov ebp, 1
push edi
mov dword [esp + 0x10], ebp
test esi, esi
je 0x47266c
cmp word [esi], 0
je 0x47266c
push 4
push 0x4c06b8
push esi
call fcn.00491575
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x472628
lea eax, [esi + 8]
mov ebx, 0x4adcf0
call fcn.00409770
test eax, eax
je 0x47265b
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x47266c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x47264e
push 0
push 0
push 1
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47264e
mov edx, dword [esp + 0x26c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472695
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, esi
sar eax, 1
mov esi, eax
mov ecx, 0x5d
push 0
mov word [edx + esi*2], cx
lea edx, [esp + 0x18]
push edx
push 4
push 0x4c0528
push edi
lea ebx, [esi + esi + 2]
call ebp
test eax, eax
je 0x4726f2
cmp dword [esp + 0x14], 4
jne 0x4726f2
mov ecx, dword [esp + 0x26c]
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
push edi
call ebp
test eax, eax
je 0x4726f2
cmp dword [esp + 0x14], ebx
je 0x4726fa
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x472709
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x26c]
pop edi
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x258
ret
Function at 0x472fd0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
je 0x473097
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [0x4c6a44]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x20019
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x4730a4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00472fd0
mov edx, dword [esp + 0x18]
add esp, 4
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4730a4
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
jne 0x4730a4
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push edi
mov dword [esp + 0x30], 0xff
call ebx
cmp eax, 0x103
jne 0x47301a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret

Function at 0x4730c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebx, ebx
je 0x4731b0
test edi, edi
je 0x4730d9
cmp word [edi], 0
jne 0x4730e1
test ebp, ebp
je 0x4731b0
mov ecx, dword [0x4c6a44]
mov edx, dword [ecx + 0xd0]
lea eax, [esp + 0x14]
push eax
or edx, 0x2001f
push edx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x473182
mov eax, dword [esp + 0x14]
test ebp, ebp
jne 0x473199
push eax
call fcn.00472fd0
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x473182
mov eax, 1
test byte [0x4ccd98], al
jne 0x473160
or dword [0x4ccd98], eax
push 0x4c0554
push 0x4ae440
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ccd94], eax
jmp 0x473165
mov eax, dword [0x4ccd94]
mov edx, dword [0x4c6a44]
mov ecx, dword [edx + 0xd0]
test ecx, ecx
je 0x47318f
test eax, eax
je 0x47318f
push 0
push ecx
push edi
push ebx
call eax
mov esi, eax
cmp esi, 0xffffffff
jne 0x4731b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4731b7
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x473180
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x473182
mov esi, 0x57
mov eax, esi
mov edx, dword [0x4c6a44]
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x10]
test esi, esi
setne al
movzx ecx, al
push ecx
push edx
call fcn.0042fcf0
pop esi
pop ebp
pop ecx
ret 8
Function at 0x478d70
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov ecx, 0x4cb504
call fcn.00404860
test eax, eax
jne 0x478d9d
push 0x4a3920
push 0x4a3c00
mov ecx, 0x4cb520
call fcn.004301a0
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x1c]
add eax, esi
mov ebp, esi
add esi, 4
mov dword [esp + 0x10], eax
cmp esi, eax
jbe 0x478e04
xor esi, esi
cmp dword [0x4cb51c], esi
je 0x478df0
cmp dword [0x4cb50c], esi
je 0x478dde
mov edx, dword [0x4cb504]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4cb50c], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4cb51c], esi
mov dword [0x4cb504], esi
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x478db9
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x478db9
mov ebx, dword [ecx]
mov ebp, esi
add esi, ebx
cmp esi, eax
ja 0x478db9
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, ebx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x478e7b
test ebx, ebx
je 0x478e61
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x478ed1
push ebx
push ebp
push eax
call fcn.00497af0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebp, esi
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [ebp + 4]
cmp esi, dword [esp + 0x10]
jbe 0x478e00
jmp 0x478db9
cmp dword [0x4cb51c], 0
je 0x478eb5
cmp dword [0x4cb50c], 0
je 0x478ea3
mov eax, dword [0x4cb504]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4cb50c], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4cb51c], eax
mov dword [0x4cb504], eax
push 0x4a3920
push 0x4a6630
mov ecx, 0x4cb520
call fcn.004301a0
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4cb51c], esi
je 0x478f0f
cmp dword [0x4cb50c], esi
je 0x478efd
mov ecx, dword [0x4cb504]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4cb50c], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4cb51c], esi
mov dword [0x4cb504], esi
push 0x4a3920
push 0x4a3bcc
mov ecx, 0x4cb520
call fcn.004301a0
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x479300
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
movzx eax, byte [esi + 0x17]
push edi
cmp eax, 3
ja case.default.0x479313
jmp dword [eax*4 + 0x4794d4]
mov eax, esi
call fcn.00401160
cmp dword [0x4ca6cc], 0
jne 0x4793df
cmp dword [esi + 0xc], 0
jne 0x4793df
mov edi, dword [esp + 0x14]
cmp dword [0x4cca60], esi
jne 0x479348
test edi, edi
jne 0x4793a5
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4793a1
mov dword [0x4cca60], 0
test edi, edi
je 0x479399
mov eax, dword [0x4ca6ac]
test eax, eax
je 0x47938a
mov edx, dword [esi + 0x18]
push edx
push 0x4c08f0
push eax
push 0x4cb520
xor ecx, ecx
call fcn.00430750
mov ecx, dword [esi + 0x18]
call fcn.004773e0
pop edi
pop esi
pop ebx
pop ecx
ret 4
dec eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
test edi, edi
je 0x4793d0
cmp byte [esi + 0x17], 0
jne 0x4793b0
mov eax, dword [esi + 0xc]
jmp 0x4793b2
mov eax, esi
test byte [eax + 0x15], 4
je 0x4793bf
mov eax, esi
call fcn.00430880
xor eax, eax
mov word [edi], ax
mov dword [0x4cca60], eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov dword [0x4cca60], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov ebx, eax
shr ebx, 1
test edi, edi
je 0x479460
test eax, eax
jne 0x479417
movzx eax, byte [esi + 0x17]
neg eax
sbb eax, eax
and eax, esi
test byte [eax + 0x15], 4
je 0x479409
mov eax, esi
call fcn.00430880
xor ecx, ecx
mov word [edi], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x479460
cmp eax, 0x186a0
jae 0x47944f
movzx eax, word [ecx]
test ax, ax
je 0x479441
lea ecx, [ecx]
add ecx, 2
mov word [edi], ax
movzx eax, word [ecx]
add edi, 2
test ax, ax
jne 0x479430
xor edx, edx
mov word [edi], dx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
push eax
push ecx
push edi
call fcn.00497af0
add esp, 0xc
xor eax, eax
mov word [edi + ebx*2], ax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00479300
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov esi, dword [esp + 0x14]
push esi
mov ecx, 0x4cb504
call fcn.004042c0
cmp eax, 0xffffffff
jne 0x479493
xor eax, eax
test esi, esi
je 0x4794cb
xor edx, edx
mov word [esi + eax*2], dx
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4794b1
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push edx
push eax
call ecx
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x10031370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1003137f
pop dword [ebp - 0x3c]
mov eax, 0xce4282e
sub eax, 0xfce114af
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x56378f44
add dword [ebp - 0x4c], 0xf81ab607
mov dword [ebp - 0x48], 0xb5806a95
add dword [ebp - 0x48], 0x7cb2e1b0
mov dword [ebp - 0x44], 0x7364a49f
sub dword [ebp - 0x44], 0x27186071
mov dword [ebp - 0x40], 0x54bf8e8
add dword [ebp - 0x40], 0xfab40718
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x634e8bda
sub eax, 0x53485bc2
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xec7da401
sub dword [ebp - 0x4c], 0x780b3aab
mov dword [ebp - 0x48], 0xb767c06a
add dword [ebp - 0x48], 0x8a04a10b
mov dword [ebp - 0x44], 0x8ec61d04
sub dword [ebp - 0x44], 0x2b56b098
mov dword [ebp - 0x40], 0x7729c584
sub dword [ebp - 0x40], 0x7729c584
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x53dd1
push 0
call eax
mov ecx, 0x745839c7
add ecx, 0x8ba80d78
xor esi, esi
add esi, eax
mov edx, 0xfedc0cad
sub edx, 0xeed286ad
add edx, dword [ebp - 0x3c]
mov edi, 0xae93ceed
xor dword [ebp - 0x30], 0x2572235
mov ebx, dword [edx]
mov dword [ebp - 0x38], 0x1cda8328
sub ebx, edi
xor dword [ebp - 0x20], 0xb8738a5f
mov dword [esi], ebx
sub dword [ebp - 0x20], 0x442f14a3
add esi, 0x95f4159b
sub esi, 0x95f41597
add edx, 0x83106e28
sub edx, 0x83106e24
loop 0x10031498
add eax, 0xe1311add
add eax, 0x1ecff4f2
xor ebx, ebx
add ebx, eax
add eax, 0xd3033926
add eax, 0x2cfcc6df
mov ecx, 0x7c82a5df
add ecx, 0xfffffe6d
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10035bb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008ba4c]
test eax, eax
jne 0x10035c19
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10035c19
push esi
push 0x16c
call fcn.10031370
add esp, 4
test eax, eax
je 0x10035be6
mov ecx, eax
call fcn.10031370
mov esi, eax
jmp 0x10035be8
xor esi, esi
cmp byte [0x1008ba48], 0
jne 0x10035c02
mov ecx, esi
mov dword [0x1008ba4c], esi
call fcn.1001d780
mov eax, esi
pop esi
ret
push esi
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.1001d780
mov eax, esi
pop esi
ret

Function at 0x10035c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008a930]
cmp eax, 0xffffffff
je 0x10035c76
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10035c67
mov ecx, dword [0x1008ba4c]
xor eax, eax
cmp esi, ecx
cmove ecx, eax
mov dword [0x1008ba4c], ecx
mov ecx, esi
call fcn.1001d7b0
mov ecx, esi
call fcn.1001d750
push 0x16c
push esi
call fcn.10031370
add esp, 8
push 0
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
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 0x10001000
Capabilities:
Create thread
Enumerate process modules
Inject thread

Disassembly:
push ebx
push ebp
push esi
push edi
sub esp, 0x11a4
cmp dword [esp + 0x11bc], 1
jne 0x100011e1
push dword [esp + 0x11b8]
call dword [sym.imp.KERNEL32.DLL_DisableThreadLibraryCalls]
push 0x1000245c
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x1000119c
lea esi, [esp]
lea edi, [esp + 0xfa0]
push edi
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.DLL_K32EnumProcesses]
test al, al
je 0x10001156
mov edi, dword [edi]
lea ebx, [esp + 0xfa4]
push dword [esi + edi - 4]
push 0
push 0x43a
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
test eax, eax
je 0x10001178
mov ebp, eax
push 0x100
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.DLL_K32GetModuleBaseNameW]
test eax, eax
je 0x10001171
push 0x1000245c
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x10001171
push 4
push 0x1000
push 0x1000
push 0
push ebp
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
test eax, eax
je 0x1000114f
mov esi, eax
push 0x100
push ebx
push dword [esp + 0x11c0]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x1000113d
add eax, eax
push 0
push eax
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test al, al
je 0x1000113d
push 0
push 0
push esi
push dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push 0x1000
push 0
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
test eax, eax
je 0x1000113d
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x4000
push 0x1000
push esi
push ebp
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 0
jmp 0x100011e1
push 0x4000
push 0x1000
push esi
push ebp
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x10010
push 0x10002478
push 0x100024c0
push 0
call dword [sym.imp.user32.dll_Messag]
mov al, 0
jmp 0x100011e1
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
sub edi, 4
jne 0x10001060
push 0x10040
push 0x10002478
push 0x1000247c
push 0
call dword [sym.imp.user32.dll_Messag]
mov al, 0
jmp 0x100011e1
push 0
push 0
push 0
push 0x100011ee
push 0x1000
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0
push dword [esp + 0x11c0]
push 0x10001572
push 0x2000
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
add esp, 0x11a4
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x10002227
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
sub esp, 4
push esp
push pe_nt_image_headers32
push dword [esp + 0x1c]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
test al, al
je 0x10002265
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec edx
mov bl, byte [ecx + edx]
mov byte [eax + edx], bl
jne 0x1000224c
push esp
push dword [esp + 4]
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
add esp, 4
pop ebx
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 0x401a00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4150c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x417920
push 0x67
push edi
call esi
push 0x64
push 0x417858
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00401b30
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x417920
push 0x417858
push 0
mov dword [0x417854], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x417850], eax
test eax, eax
je 0x401b18
push ebx
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x417850]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0x401250
push 0x320
push 0
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x401b02
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401af2
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x401ad2
mov eax, dword [ebp - 0x18]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402215
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00402215
mov esp, ebp
pop ebp
ret 0x10
Function at 0x407665
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4150c0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00403f77
mov dword [ebp - 0x14], eax
cmp dword [0x417800], edi
jne 0x407756
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4076e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x407836
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x407836
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407836
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x417800], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x417804], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x417808], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x417810], eax
test eax, eax
je 0x407753
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41780c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40777b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40776e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x407790
push 4
pop eax
jmp 0x407838
cmp dword [ebp - 0x14], edi
je 0x407790
push dword [0x417800]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x407775
mov eax, dword [0x41780c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4077ee
cmp dword [0x417810], esi
je 0x4077ee
push eax
call ebx
push dword [0x417810]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4077ee
test eax, eax
je 0x4077ee
call ecx
test eax, eax
je 0x4077e3
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 0x4077e3
test byte [ebp - 8], 1
jne 0x4077ee
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40781e
mov eax, dword [0x417804]
cmp eax, esi
je 0x40781b
push eax
call ebx
test eax, eax
je 0x40781b
call eax
mov edi, eax
test edi, edi
je 0x40781b
mov eax, dword [0x417808]
cmp eax, esi
je 0x40781b
push eax
call ebx
test eax, eax
je 0x40781b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x417800]
call ebx
test eax, eax
je 0x407836
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x407838
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402215
leave
ret