joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cf00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x4dcdf8]
test eax, eax
je 0x41d068
cmp dword [eax], 1
je 0x41cf1e
call sym.__pthread_once_raw.part.0.constprop.0
mov eax, dword [0x4dcdf4]
test eax, eax
je 0x41d090
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41cf50
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._pop_pthread_mem
mov esi, eax
mov eax, dword [entry3]
test eax, eax
je 0x41cf3f
test esi, esi
je 0x41cf3f
mov dword [esi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x18], eax
sub esp, 0x10
lea eax, [esi + 0x38]
call sym._replace_spin_keys.constprop.0
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x64], 0
mov dword [esi + 0x14], 0
call ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, eax
call ebp
lea edx, [esi + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je sym.___pthread_self_lite.cold
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], eax
movzx eax, byte [esi + 0x20]
sub esp, 4
and eax, 0xffffffcf
or eax, 0x10
mov byte [esi + 0x20], al
mov eax, dword [0x4dcdf4]
test eax, eax
je 0x41d0c0
mov dword [esp + 4], esi
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je sym.___pthread_self_lite.cold
add esp, 0x2c
mov ebx, esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_once_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4dcdf8], eax
jmp 0x41cf14
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4dcdf4], eax
jmp 0x41cf2b
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4dcdf4], eax
jmp 0x41d03e
Function at 0x41eb60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41eb82
call sym.__pthread_cleanup_dest.part.0
test byte [ebx + 0x20], 0x30
je 0x41ebe4
mov eax, dword [0x4dcdf4]
test eax, eax
je 0x41ec6b
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41ebdb
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41ec3b
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41ebce
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x41ebf8
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
cmp dword [ebx + 0xb0], 0
mov dword [ebx + 0x14], 0
je 0x41ec62
mov eax, dword [0x4dcdf4]
test eax, eax
je 0x41ec91
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x41ebdb
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41ec4f
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
cmp dword [ebx + 0xb0], 0
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], 0
jne 0x41ec1b
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x41ec1b
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4dcdf4], eax
jmp 0x41eb95
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4dcdf4], eax
jmp 0x41ec24
Function at 0x420680
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sym._strlen
mov ebx, eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x40]
lea ecx, [ebx + 0x30]
shr eax, 4
mov dword [ebp - 0x20], ecx
shl eax, 4
call fcn.0040dde0
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 8], ebx
lea edi, [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sym._memcpy
lea eax, [ebx + 0x10]
add eax, edi
mov dword [eax], 0x61616161
mov dword [eax + 4], 0x61616161
mov dword [eax + 8], 0x61616161
mov dword [eax + 0xc], 0x61616161
mov dword [eax + 0x10], 0x61616161
mov dword [eax + 0x14], 0x61616161
mov dword [eax + 0x18], 0x61616161
mov dword [eax + 0x1c], 0x61616161
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [edi + ebx + 0xf], 0x2d
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x420774
int3
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
je 0x4207c0
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call sym._get_ptr_from_atom_1
mov ebx, eax
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
add ebx, edi
mov dword [esp], eax
call sym._malloc
mov edx, 0x20
mov esi, eax
lea esi, [esi]
bt esi, edx
jae 0x4207e6
mov eax, edx
neg eax
mov byte [ebx + eax + 0x30], 0x41
sub edx, 1
jne 0x4207d8
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
jne 0x4207fd
int3
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call sym._get_ptr_from_atom_1
mov ebx, eax
cmp esi, eax
je 0x420823
mov dword [esp], esi
call sym._free
jmp 0x42079a
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42079a
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x42079a
Function at 0x401620
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x413020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x41121c
mov esi, eax
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4016d9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push str._s_sogoudownload.exe
mov edi, eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00403fad
add esp, 0x10
push 0
push 0x20
push 2
push 0
push 7
push 0xc0000000
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4016d9
mov eax, dword [ebp - 0x210]
push 0
lea edx, [ebp - 0x214]
push edx
push eax
push edi
push esi
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x4016eb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f9e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20c]
call fcn.00401730
test eax, eax
je 0x4016d9
cmp dword [ebp + 8], 0
je 0x40170a
push 3
jmp 0x40170c
push 1
call fcn.00401860
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
pop esi
call fcn.00403f9e
mov esp, ebp
pop ebp
ret

Function at 0x401730
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x413020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x470]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x474], 0x44
call fcn.00404360
xor eax, eax
push 0x40e
lea edx, [ebp - 0x412]
xor ecx, ecx
push edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
push edx
mov dword [ebp - 0x420], 0xc
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], 1
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov word [ebp - 0x414], cx
call fcn.00404360
push 0x207
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0040407d
add esp, 0x24
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x474]
push edx
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x420]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x414]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401810
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f9e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x430]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401829
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x430]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x42c]
push edx
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00403f9e
mov esp, ebp
pop ebp
ret
Function at 0x401d90
Capabilities:
Accept command line arguments
Create process on windows
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x413020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str._Update
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x401df3
push 0
lea ebx, [ebp - 0x414]
call fcn.00401620
add esp, 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403f9e
mov esp, ebp
pop ebp
ret 0x10
lea esi, [ebp - 0x61c]
call fcn.00403280
test eax, eax
je 0x401e0e
push 2
call fcn.00401860
add esp, 4
jmp 0x401e7e
push 1
lea ebx, [ebp - 0x414]
call fcn.00401620
add esp, 4
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.SogouDownLoadupdateUpdateService.exe
lea edx, [ebp - 0x20c]
push edx
push str._s_s
mov eax, edx
push 0x104
push eax
call fcn.00403fad
add esp, 0x14
push 1
push 0
push str._Install
lea ecx, [ebp - 0x20c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x401e7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00403f9e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402be0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x413020]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00404360
add esp, 0xc
push str.DebugMsg
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x402cc0
push esi
push str.Mutex_DebugMsg
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x402cbf
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x402cb8
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0040ce5f
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c73
push 0
push 0x32
push 0
sub eax, edx
lea edx, [ebp - 0x114]
push edx
push 0
push 0x4a
inc eax
lea ecx, [ebp - 0x108]
push edi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], 1
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00403f9e
mov esp, ebp
pop ebp
ret
Function at 0x402cd0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x402d6c
nop
mov eax, dword [ebp - 4]
test eax, eax
je 0x402da5
inc eax
push eax
call fcn.00403f88
mov esi, eax
add esp, 4
test esi, esi
je 0x402d6c
mov edx, dword [ebp - 4]
inc edx
push edx
push 0
push esi
call fcn.00404360
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 8]
push eax
push ecx
push esi
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402d75
mov eax, dword [ebp - 8]
lea ebx, [eax + edi]
cmp ebx, 0x32000
ja 0x402d8a
add edi, dword [ebp + 0xc]
push eax
push esi
push edi
call fcn.0040a640
push esi
mov edi, ebx
call fcn.00404129
mov edx, dword [ebp + 8]
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x402cf0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00404129
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x32000
sub eax, edi
add edi, dword [ebp + 0xc]
push eax
push esi
push edi
call fcn.0040a640
push esi
call fcn.00404129
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403280
Capabilities:
Check if file exists
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push str.DownLoadDlgPath
push str.SOFTWARESogouComponentsDOWNLOAD
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4032f5
push 0x104
push esi
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.SogouDownLoad
push esi
push str._s_s
push 0x208
push esi
call fcn.00403fad
push esi
push str._sDownLoadDlg.exe
push 0x104
push esi
call fcn.00403fad
add esp, 0x24
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403f9e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x413020]
jne 0x403fa8
repz ret
jmp fcn.00404602

Function at 0x40a2cb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004067aa
and dword [ebp - 0x14], 0
cmp dword [0x414ce0], 0
mov dword [ebp - 0x18], eax
jne 0x40a37e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a426
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40a426
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x414ce0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x414ce4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x414ce8], eax
call edi
push eax
call esi
mov dword [0x414cf0], eax
test eax, eax
je 0x40a37e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x414cec], eax
mov eax, dword [0x414cec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a3d7
cmp dword [0x414cf0], ecx
je 0x40a3d7
push eax
call esi
push dword [0x414cf0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a3d7
test ebx, ebx
je 0x40a3d7
call edi
test eax, eax
je 0x40a3ce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a3ce
test byte [ebp - 8], 1
jne 0x40a3d7
or dword [ebp + 0x10], 0x200000
jmp 0x40a40a
mov eax, dword [0x414ce4]
cmp eax, dword [ebp - 0x18]
je 0x40a40a
push eax
call esi
test eax, eax
je 0x40a40a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a40a
mov eax, dword [0x414ce8]
cmp eax, dword [ebp - 0x18]
je 0x40a40a
push eax
call esi
test eax, eax
je 0x40a40a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x414ce0]
call esi
test eax, eax
je 0x40a426
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a428
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f9e
leave
ret
Function at 0x40ec20
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
mov dword [0x45cbb8], 0
call fcn.004397e5
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
mov eax, dword [0x45cbb8]
ret 0x10

Function at 0x40ed50
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp word [esi + 4], 0
jne 0x40ed81
mov eax, dword [esi + 6]
inc eax
push eax
push 0xff
call fcn.0040ec50
test ax, ax
mov word [esi + 4], ax
jne 0x40ed81
mov ecx, dword [esi + 6]
inc ecx
push ecx
push 4
call fcn.00416700
test byte [esi + 0xa], 8
je 0x40edb2
mov eax, dword [esi + 0xb]
lea edx, [esp + 0xc]
xor ecx, ecx
push edx
mov cx, word [esi + 4]
push 0
push eax
push ecx
call fcn.0040ebf0
test eax, eax
je 0x40edae
mov edx, dword [esi + 6]
inc edx
push edx
push 4
call fcn.00416700
and byte [esi + 0xa], 0xf7
mov dword [0x45cbb8], 0
mov ecx, dword [esi + 0x17]
xor eax, eax
xor edx, edx
mov ax, word [esi + 0x15]
mov dx, word [esi + 4]
add ecx, 0x200
push eax
push ecx
push edx
call fcn.004397e5
mov edi, eax
mov eax, dword [0x45cbb8]
add esp, 0xc
test eax, eax
je 0x40edf3
mov eax, dword [esi + 6]
inc eax
push eax
push 4
call fcn.00416700
mov eax, dword [esi + 0xb]
mov word [esi + 0x15], di
add eax, edi
pop edi
mov dword [esi + 0xb], eax
pop esi
ret 4
Function at 0x4117b0
Capabilities:
Terminate process

Disassembly:
mov al, byte [0x45c44d]
test al, al
je 0x4117d0
mov eax, dword [0x45c470]
test eax, eax
je 0x4117d0
mov eax, dword [0x46e608]
test eax, eax
je 0x4117d0
call fcn.00428670
mov eax, dword [0x45c4be]
test eax, eax
je 0x4117f6
mov eax, dword [0x46e600]
test eax, eax
je 0x4117f6
push eax
call fcn.0041f810
mov eax, dword [0x45c4be]
push eax
call fcn.00439e8c
add esp, 4
mov eax, dword [0x45c4ca]
test eax, eax
je 0x41181d
mov eax, dword [0x46e65c]
test eax, eax
je 0x41181d
push eax
call fcn.0041f810
mov ecx, dword [0x45c4ca]
push ecx
call fcn.00439e8c
add esp, 4
mov eax, dword [0x46e608]
test eax, eax
je 0x41182c
push eax
call fcn.0041f810
push 1
call fcn.00438e2b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [0x45c46f], 0xff
ret
Function at 0x437530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
test bl, bl
mov byte [esp + 7], 0
jne 0x437546
xor eax, eax
pop ebx
pop ecx
ret 8
xor ax, ax
push ebp
push esi
mov esi, dword [esp + 0x14]
mov al, bl
push eax
push esi
call fcn.00435bb0
mov cx, word [0x45ce8c]
xor eax, eax
mov al, ch
xor al, cl
cmp word [0x46e680], 0
mov byte [esp + 0x18], al
je 0x437587
mov edx, dword [0x46fa78]
mov ebp, dword [edx + 0x2b]
test ebp, ebp
je 0x437587
mov byte [esp + 0xf], 0xff
jmp 0x437597
shr ecx, 2
and ecx, 0x1ff
mov ebp, dword [ecx*4 + 0x46e700]
test ebp, 0xfffffff0
mov byte [0x46fa4c], 0
je 0x4376c1
jmp 0x4375b0
mov al, byte [esp + 0x18]
cmp byte [ebp + 4], al
jne 0x437678
mov al, byte [ebp + 5]
cmp al, bl
jne 0x437678
mov cl, byte [0x45e358]
cmp cl, 0xff
mov ecx, ebx
jne 0x4375ea
and eax, 0xff
mov edx, ebp
and ecx, 0xff
sub edx, eax
push ecx
push edx
push esi
call fcn.0043af00
jmp 0x437601
and eax, 0xff
mov edx, ebp
and ecx, 0xff
sub edx, eax
push ecx
push edx
push esi
call fcn.0043ae50
add esp, 0xc
test eax, eax
jne 0x437678
cmp byte [ebp + 6], 0xb
jne 0x43762a
mov ax, word [ebp + 0x1b]
cmp ax, word [0x46f490]
je 0x4376b1
test ah, 0x80
jne 0x4376b1
jmp 0x437678
cmp word [0x46f490], 0
je 0x43763d
mov al, byte [0x46ef70]
test al, al
je 0x437678
mov byte [0x46fa4c], 0
mov al, byte [ebp + 6]
cmp al, 3
jne 0x437660
test byte [ebp + 0x29], 8
je 0x4376ba
mov ax, word [ebp + 0x2b]
cmp ax, word [0x46e680]
je 0x4376c1
jmp 0x437671
cmp al, 9
jne 0x4376c1
mov cx, word [ebp + 0x1d]
cmp cx, word [0x46e680]
je 0x4376c1
mov byte [0x46fa4c], 1
mov al, byte [esp + 0xf]
mov ebp, dword [ebp]
test al, al
je 0x4376a3
test ebp, ebp
jne 0x4376a3
mov dx, word [0x45ce8c]
mov byte [esp + 0xf], 0
shr edx, 2
and edx, 0x1ff
mov ebp, dword [edx*4 + 0x46e700]
test ebp, 0xfffffff0
jne 0x4375ac
jmp 0x4376c1
mov byte [0x46fa4c], 0
jmp 0x4376c1
mov byte [0x46fa4c], 2
test ebp, ebp
je 0x43774b
mov al, byte [0x444689]
test al, al
je 0x4376e3
mov al, byte [0x45c453]
test al, al
je 0x4376e3
push 4
push ebp
call fcn.00437d90
mov dl, byte [ebp + 7]
mov al, dl
and al, 3
cmp al, 3
jne 0x43774b
mov al, byte [0x46fa88]
cmp al, 2
jae 0x43774b
mov cl, byte [0x46fa5c]
test cl, cl
jne 0x43774b
mov cl, byte [0x46f077]
test cl, cl
jne 0x43774b
test al, al
jne 0x437745
cmp byte [0x46f4ce], 0x58
jne 0x437745
mov al, byte [ebp + 5]
mov cx, word [0x46f4e6]
movzx si, al
cmp cx, si
jne 0x437745
mov esi, dword [0x46f4e2]
push edi
and eax, 0xff
mov edi, ebp
movsx ecx, cx
sub edi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
pop edi
je 0x43774b
or dl, 0x80
mov byte [ebp + 7], dl
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret 8