joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418d70
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
or ebx, 0xffffffff
push str.A_WinHTTP_Example_Program_1.0
mov dword [esp + 0x24], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, edi
je 0x418f0d
mov eax, dword [ebp + 8]
push edi
push 0x50
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x418f06
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], 0
call fcn.0040c770
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x418dfa
mov ebx, 0x432728
lea eax, [esp + 0x20]
call fcn.0040c8b0
mov ebx, esi
lea eax, [esp + 0x20]
call fcn.0040c8b0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push edi
push edi
push edi
push edi
push esi
push 0x43272c
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
cmp ebx, edi
jne 0x418e33
cmp esi, edi
je 0x418ee8
mov eax, dword [esp + 0x2c]
push eax
call fcn.00408b50
add esp, 4
jmp 0x418ee8
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x418e52
lea eax, [esp + 0x20]
call fcn.0040c3a0
jmp 0x418ee8
push edi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x418e69
lea eax, [esp + 0x20]
call fcn.0040c3a0
jmp 0x418ee8
lea ecx, [esp + 0x10]
push ecx
push ebx
xor esi, esi
mov dword [esp + 0x18], edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x418ece
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x418ece
lea eax, [ecx + esi + 1]
cmp dword [edi + 4], eax
jae 0x418e9c
call fcn.00408fe0
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
lea edx, [esp + 0x18]
push edx
push ecx
add eax, esi
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x418ece
add esi, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x18], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x418e82
cmp dword [edi + 4], esi
jbe 0x418ed9
mov ecx, dword [edi]
mov byte [esi + ecx], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x10], esi
call fcn.0040c3a0
xor edi, edi
cmp ebx, edi
je 0x418ef3
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419bc0
Capabilities:
Clear file content
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x21], bl
mov byte [esp + 0x20], 1
call sym.MeowPlayer1.0.0.6.exe_int___cdecl_HttpGetData_wchar_t_const___class_base::Memory_char___
mov esi, eax
add esp, 8
cmp esi, 0x2710
jge 0x419c27
push 0x4327f0
push 0xff
call sym.MeowPlayer1.0.0.6.exe_void___cdecl_ymPrint_int__wchar_t_const__
mov esi, dword [esp + 0x18]
add esp, 8
cmp esi, ebx
je 0x419c1e
cmp byte [esp + 0x19], bl
jne 0x419c1e
mov edx, dword [esp + 0x18]
push edx
call fcn.00408b50
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push ebx
push 0x80
push 4
push ebx
push 6
push 0x12019f
push str.update.zip
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x419c6d
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x419c1e
cmp byte [esp + 0x19], bl
jne 0x419c1e
mov eax, dword [esp + 0x18]
push eax
call fcn.00408b50
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push ebx
push ebx
xor ecx, ecx
push ecx
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
lea ecx, [esp + 0x10]
push ecx
push esi
mov esi, dword [esp + 0x1c]
push esi
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push str.Upgrade.exe
call sym.MeowPlayer1.0.0.6.exe_bool___cdecl_ShellYM_wchar_t_const___wchar_t_const__
add esp, 8
cmp esi, ebx
je 0x419cc6
cmp byte [esp + 0x19], bl
jne 0x419cc6
mov edx, dword [esp + 0x18]
push edx
call fcn.00408b50
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret
Function at 0x41a7c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [sym.MeowPlayer1.0.0.6.exe_struct_HWND_____YmWndDebuger]
sub esp, 0x3c
cmp dword [eax], 0
push ebx
push esi
push edi
je 0x41a924
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41a7ef
mov ecx, dword [sym.MeowPlayer1.0.0.6.exe_struct_HWND_____YmWndDebuger]
mov dword [ecx], eax
mov edx, dword [sym.MeowPlayer1.0.0.6.exe_struct_HWND_____YmWndDebuger]
cmp dword [edx], 0
je 0x41a924
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea esi, [esp + 0x28]
call fcn.0040c270
movzx ecx, word [esp + 0x44]
movzx edx, word [esp + 0x42]
movzx eax, word [esp + 0x40]
push ecx
push edx
push eax
push str.__02d:_02d:_02d__
mov eax, esi
call fcn.0040c410
mov ebx, dword [ebp + 0xc]
add esp, 0x10
mov eax, esi
call fcn.0040c8b0
mov ebx, dword [esp + 0x28]
lea ecx, [ebp + 0x10]
push ecx
xor edi, edi
push ebx
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], 0
mov byte [esp + 0x21], 0
call fcn.0041eaf5
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x41a88a
cmp ebx, edi
je 0x41a924
mov edx, dword [esp + 0x34]
push edx
mov esi, ebx
call fcn.00408b50
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 3]
lea edi, [esp + 0x10]
call fcn.004085c0
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x10]
lea eax, [ebp + 0x10]
push eax
push ecx
lea edx, [esi + 1]
push edx
push edi
call fcn.0041ec94
xor edx, edx
mov eax, 0xd
mov word [edi + esi*2], ax
mov eax, dword [esp + 0x24]
mov ecx, 0xa
mov word [edi + esi*2 + 2], cx
mov word [edi + esi*2 + 4], dx
add esp, 0x10
mov dword [esp + 0x1c], edx
lea ecx, [eax + eax + 2]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], ecx
mov ecx, dword [sym.MeowPlayer1.0.0.6.exe_struct_HWND_____YmWndDebuger]
push eax
mov dword [esp + 0x2c], edi
mov edx, dword [ecx]
push 0x4a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x41a911
cmp byte [esp + 0x19], 0
jne 0x41a911
mov eax, dword [esp + 0x18]
push eax
mov esi, edi
call fcn.00408b50
add esp, 4
test ebx, ebx
je 0x41a924
mov ecx, dword [esp + 0x34]
push ecx
mov esi, ebx
call fcn.00408b50
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a9c0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.BB3FC237_6A7F_468a_AB4E_73227A9964EF
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x41a9fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41a9ee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
cmp byte [esp + 8], 0
jne 0x41a9fc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
ret
Function at 0x41aa00
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [0x44405c]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x234]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x24], eax
mov eax, 0x3e8
lea edi, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
call fcn.0040d610
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x3e8
push esi
mov dword [esp + 0x20], ebx
call sub.PSAPI.DLL_EnumProcesses
xor ebp, ebp
cmp dword [esp + 0x14], ebx
jbe 0x41aaa9
mov edx, dword [esi + ebp*4]
push edx
push ebx
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x41aaa2
push 0x105
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
xor ecx, ecx
mov word [esp + eax*2 + 0x28], cx
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.0040c0d0
test al, al
jne 0x41aad2
inc ebp
cmp ebp, dword [esp + 0x14]
jb 0x41aa63
cmp esi, ebx
je 0x41ab40
cmp byte [esp + 0x21], bl
jne 0x41ab40
cmp byte [esp + 0x20], bl
je 0x41ab19
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x41ab40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x24]
mov ebp, eax
push ebp
push edi
push edx
push str.Terminate__s:__08X__d
push 0xff
call sym.MeowPlayer1.0.0.6.exe_void___cdecl_ymPrint_int__wchar_t_const__
add esp, 0x14
cmp ebp, ebx
setne byte [esp + 0x13]
cmp esi, ebx
je 0x41ab13
cmp byte [esp + 0x21], bl
jne 0x41ab13
mov eax, dword [esp + 0x20]
push eax
call fcn.00408b50
add esp, 4
mov al, byte [esp + 0x13]
jmp 0x41ab42
test byte [0x4492fc], 1
jne 0x41ab33
or dword [0x4492fc], 1
call fcn.004089d0
mov dword [0x4492f8], eax
mov edi, dword [0x4492f8]
mov eax, esi
call fcn.0040da80
xor al, al
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041e30c
add esp, 0x230
ret
Function at 0x41ab70
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x44405c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov eax, 0x3e8
lea edi, [esp + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
call fcn.0040d610
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push 0x3e8
push edi
mov dword [esp + 0x28], esi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41abec
cmp edi, esi
je 0x41ad6a
cmp byte [esp + 0x19], al
jne 0x41ad6a
mov ecx, dword [esp + 0x18]
push ecx
mov esi, edi
jmp 0x41ad62
lea esi, [esp + 0x20]
call fcn.0040c270
mov eax, esi
call fcn.004087a0
mov eax, esi
call fcn.004083a0
mov esi, ebx
lea edi, [esp + 0x20]
call fcn.00408350
xor esi, esi
cmp dword [esp + 0x1c], esi
jbe 0x41ac8e
mov edx, dword [esp + 0x10]
mov eax, dword [edx + esi*4]
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41ac87
push 0x105
lea ecx, [esp + 0x34]
push ecx
push 0
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
xor edx, edx
mov word [esp + eax*2 + 0x30], dx
mov eax, ebx
lea ecx, [esp + 0x30]
call fcn.0040c0d0
test al, al
je 0x41ac87
push 0x105
lea eax, [esp + 0x34]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
xor ecx, ecx
lea edx, [esp + 0x30]
mov word [esp + eax*2 + 0x30], cx
mov eax, dword [esp + 0x20]
push edx
call fcn.00407fe0
add esp, 4
test al, al
jne 0x41acba
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x41ac16
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41ad4e
cmp byte [esp + 0x2c], 0
je 0x41ad27
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x41ad4e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
push esi
push edi
push ebx
push str.Terminate_My__s:__08X__d
push 0xff
call sym.MeowPlayer1.0.0.6.exe_void___cdecl_ymPrint_int__wchar_t_const__
add esp, 0x14
test esi, esi
mov esi, dword [esp + 0x20]
setne bl
test esi, esi
je 0x41acf4
mov eax, dword [esp + 0x2c]
push eax
call fcn.00408b50
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41ad10
cmp byte [esp + 0x19], 0
jne 0x41ad10
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00408b50
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0041e30c
mov esp, ebp
pop ebp
ret
test byte [0x4492fc], 1
jne 0x41ad41
or dword [0x4492fc], 1
call fcn.004089d0
mov dword [0x4492f8], eax
mov edi, dword [0x4492f8]
mov eax, esi
call fcn.0040da80
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41ad6a
cmp byte [esp + 0x19], 0
jne 0x41ad6a
mov edx, dword [esp + 0x18]
push edx
call fcn.00408b50
add esp, 4
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0041e30c
mov esp, ebp
pop ebp
ret
Function at 0x41b960
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42dbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44405c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
xor ebx, ebx
cmp eax, ebx
je 0x41b9d4
cmp dword [eax + 8], 4
jne 0x41b9d4
mov eax, dword [eax]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x38], bl
call fcn.0040c770
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x2c], ebx
jne 0x41b9ea
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x41b9d4
mov eax, dword [esp + 0x34]
push eax
call fcn.00408b50
add esp, 4
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x44], 1
call sym.MeowPlayer1.0.0.6.exe_bool___cdecl_SaveConfig_class_base::Registry__
mov ebp, dword [esp + 0x2c]
add esp, 4
test al, al
je 0x41ba7a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
push ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
call fcn.0041b7b0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 4
push eax
push esi
push 3
push ebx
push str.avs_list
push edx
call edi
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebx
push str.avs_ver
push edx
mov dword [esp + 0x30], eax
call edi
cmp esi, ebx
je 0x41ba7a
cmp byte [esp + 0x25], bl
jne 0x41ba7a
mov eax, dword [esp + 0x24]
push eax
call fcn.00408b50
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x41ba89
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, ebx
je 0x41ba9c
mov ecx, dword [esp + 0x34]
push ecx
mov esi, ebp
call fcn.00408b50
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x41db40
Capabilities:
Clear file content
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42db88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44405c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, str.UTF_8
call fcn.0040e5e0
mov dword [esp + 0x14], eax
cmp eax, 3
jne 0x41db7f
mov ebx, str.ANSI
push 0
push 0x80
push 2
push 0
push 6
push 0x12019f
push 0
mov dword [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41dd01
lea esi, [esp + 0x38]
mov dword [esp + 0x18], ebp
call fcn.0040c270
lea esi, [esp + 0x28]
call fcn.0040c270
push 0
lea eax, [esp + 0x3c]
mov byte [esp + 0x58], 2
mov ecx, dword [esp + 0x60]
push eax
call fcn.0041c3e0
push str.__xml_version_1.0__encoding_
mov eax, esi
call fcn.0040c770
mov eax, esi
call fcn.0040c8b0
mov ebx, str.____r_n
mov eax, esi
call fcn.0040c8b0
mov edi, dword [esp + 0x3c]
xor ebx, ebx
cmp edi, ebx
je 0x41dc45
mov esi, dword [esp + 0x2c]
lea ecx, [esi + edi]
cmp ecx, dword [esp + 0x30]
jbe 0x41dc1c
push 1
lea esi, [esp + 0x2c]
call fcn.0040c550
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
lea ecx, [edi + edi]
push ecx
push edx
lea ecx, [eax + esi*2]
push ecx
call fcn.00426530
mov eax, dword [esp + 0x34]
add esi, edi
add esp, 0xc
xor edx, edx
mov dword [esp + 0x2c], esi
mov word [eax + esi*2], dx
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
lea esi, [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
call fcn.0040c6b0
push ebx
push ebx
xor ecx, ecx
mov edi, eax
push ecx
xor eax, eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push ebp
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x60]
push edx
push edi
push esi
push ebp
mov dword [esp + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, dword [esp + 0x5c]
sete byte [esp + 0x5c]
cmp esi, ebx
je 0x41dcb6
cmp byte [esp + 0x25], bl
jne 0x41dcb6
mov eax, dword [esp + 0x24]
push eax
call fcn.00408b50
add esp, 4
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x41dccb
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00408b50
add esp, 4
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x41dce0
mov edx, dword [esp + 0x44]
push edx
call fcn.00408b50
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
xor al, al
jmp 0x41dceb
Function at 0x41e230
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, eax
mov eax, dword [ebx]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 1
lea edx, [esp + 0xc]
push edx
mov esi, eax
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x41e267
or eax, 0xffffffff
mov dword [esp + 0xc], eax
jmp 0x41e273
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ecx
cmp eax, esi
jb 0x41e27f
xor eax, eax
pop edi
pop esi
add esp, 0xc
ret
sub esi, eax
cmp dword [edi + 4], esi
jae 0x41e291
mov eax, esi
call fcn.00408fe0
test al, al
je 0x41e277
mov eax, dword [edi]
mov ecx, dword [ebx]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret

Function at 0x41e30c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44405c]
jne 0x41e316
repz ret
jmp fcn.0041f899

Function at 0x4261db
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.0041fc3a
and dword [ebp - 4], 0
cmp dword [0x446ea0], 0
mov ebx, eax
jne 0x42628c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42633d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42633d
push eax
call fcn.0041fbc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x446ea0], eax
call esi
push eax
call fcn.0041fbc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x446ea4], eax
call esi
push eax
call fcn.0041fbc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x446ea8], eax
call esi
push eax
call fcn.0041fbc8
pop ecx
mov dword [0x446eb0], eax
test eax, eax
je 0x42628c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041fbc8
pop ecx
mov dword [0x446eac], eax
mov eax, dword [0x446eac]
cmp eax, ebx
je 0x4262e4
cmp dword [0x446eb0], ebx
je 0x4262e4
push eax
call fcn.0041fc43
push dword [0x446eb0]
mov esi, eax
call fcn.0041fc43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4262e4
test edi, edi
je 0x4262e4
call esi
test eax, eax
je 0x4262db
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4262db
test byte [ebp - 0xc], 1
jne 0x4262e4
or dword [ebp + 0x10], 0x200000
jmp 0x42631d
mov eax, dword [0x446ea4]
cmp eax, ebx
je 0x42631d
push eax
call fcn.0041fc43
pop ecx
test eax, eax
je 0x42631d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42631d
mov eax, dword [0x446ea8]
cmp eax, ebx
je 0x42631d
push eax
call fcn.0041fc43
pop ecx
test eax, eax
je 0x42631d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x446ea0]
call fcn.0041fc43
pop ecx
test eax, eax
je 0x42633d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42633f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1ee1440
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
mov dword [ebp + eax*4 - 0x400], eax
inc eax
cmp eax, 0x100
jb 0x1ee1450
mov ebx, 2
lea ecx, [ebp - 0x3fc]
lea ebx, [ebx]
xor edx, edx
lea eax, [ebx - 2]
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add ecx, 0x10
movzx esi, byte [edx + eax]
add esi, dword [ecx - 0x14]
mov al, byte [ecx - 0x14]
add esi, edi
movzx eax, al
and esi, 0xff
mov edx, dword [ebp + esi*4 - 0x400]
mov dword [ecx - 0x14], edx
mov dword [ebp + esi*4 - 0x400], eax
xor edx, edx
lea eax, [ebx - 1]
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx edi, byte [edx + eax]
add edi, dword [ecx - 0x10]
mov al, byte [ecx - 0x10]
add edi, esi
movzx eax, al
and edi, 0xff
mov edx, dword [ebp + edi*4 - 0x400]
mov dword [ecx - 0x10], edx
mov dword [ebp + edi*4 - 0x400], eax
xor edx, edx
mov eax, ebx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx esi, byte [edx + eax]
add esi, dword [ecx - 0xc]
mov al, byte [ecx - 0xc]
add esi, edi
movzx eax, al
and esi, 0xff
mov edx, dword [ebp + esi*4 - 0x400]
mov dword [ecx - 0xc], edx
mov dword [ebp + esi*4 - 0x400], eax
xor edx, edx
lea eax, [ebx + 1]
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add ebx, 4
movzx edi, byte [edx + eax]
add edi, dword [ecx - 8]
mov al, byte [ecx - 8]
add edi, esi
and edi, 0xff
mov edx, dword [ebp + edi*4 - 0x400]
mov dword [ecx - 8], edx
movzx eax, al
lea edx, [ebx - 2]
mov dword [ebp + edi*4 - 0x400], eax
cmp edx, 0x100
jb 0x1ee1470
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
xor esi, esi
cmp dword [ebp + 0x10], ecx
jbe 0x1ee15b7
jmp 0x1ee1560
inc edx
and edx, 0xff
mov edi, dword [ebp + edx*4 - 0x400]
mov bl, byte [ebp + edx*4 - 0x400]
add edi, esi
and edi, 0xff
mov esi, edi
mov edi, dword [ebp + esi*4 - 0x400]
mov dword [ebp + edx*4 - 0x400], edi
movzx edi, bl
mov dword [ebp + esi*4 - 0x400], edi
mov ebx, dword [ebp + edx*4 - 0x400]
add ebx, edi
and ebx, 0xff
movzx ebx, byte [ebp + ebx*4 - 0x400]
xor byte [ecx + eax], bl
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x1ee1560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1ee1c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1ef6f98]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x1ee1c7e
push 0x1ef1410
push 0x1ef13f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.01ee3750
cmp eax, ebx
je 0x1ee1cd0
mov cl, byte [ebp + 0x14]
xor edx, edx
test cl, cl
setne dl
push ebx
movzx ecx, cl
push 0x80
add edx, 2
push edx
mov edx, dword [ebp + 8]
neg ecx
sbb ecx, ecx
push 0
and ecx, 0xc0000004
push 2
add ecx, 0x40000000
push ecx
push edx
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x1ee1cdf
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov bl, al
jmp 0x1ee1cd3
mov esi, dword [ebp - 4]
cmp esi, 0xffffffff
je 0x1ee1cdf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1ee1cf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x1ee1e60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x1ee1e91
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, byte [ecx + esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + section..data]
inc ecx
cmp ecx, edx
jb 0x1ee1e74
pop edi
pop esi
not eax
pop ebp
ret