joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69bf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6b09fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x69c002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0069fdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x69c002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.006976e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.006a020b
push 0x10
call fcn.006a01d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x69bfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0068c1c0
jmp 0x69bfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0069bb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x69bff0
mov ecx, edi
call fcn.0068c2c0
push edi
call fcn.006a01c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x69c021
inc ebx
cmp ebx, 0x20
jb 0x69bf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x69f1b0
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.0069f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0069f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0069f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0069f140
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 0x69fbfa
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 0x69fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6b187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x69fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x69fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x405f85
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x43d200
call fcn.0043bf2c
add esp, 0xfffffff0
push esi
mov esi, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
push edi
xor eax, eax
mov byte [ebp - 0x1c], 0
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4423b0
mov ecx, esi
mov byte [esi], al
call fcn.00401b86
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
cmp eax, ebx
jle 0x40607e
mov edi, dword [ebp + 0xc]
add edi, 2
mov dword [ebp - 0x10], eax
push 3
pop ecx
dec eax
xor edx, edx
div ecx
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x10]
push 3
pop ecx
mov dword [ebp + 0x10], ecx
cmp eax, ecx
jg 0x405ffb
mov dword [ebp + 0x10], eax
movzx eax, byte [edi - 2]
mov edx, eax
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 3
mov byte [ebp - 0x1c], dl
movzx ecx, byte [edi - 1]
shl eax, 4
mov edx, ecx
shr edx, 4
or edx, eax
cmp dword [ebp + 0x10], 1
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1b], al
jle 0x406046
and ecx, 0xf
movzx eax, byte [edi]
shr eax, 6
shl ecx, 2
or eax, ecx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1a], al
jmp 0x40604a
mov byte [ebp - 0x1a], 0x3d
cmp dword [ebp + 0x10], 2
jle 0x406061
movzx eax, byte [edi]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x19], al
jmp 0x406065
mov byte [ebp - 0x19], 0x3d
mov ecx, esi
lea eax, [ebp - 0x1c]
push eax
call fcn.0040666e
add dword [ebp - 0x10], 0xfffffffd
add edi, 3
dec ebx
jne 0x405feb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x406363
Capabilities:
Hash data with md5

Disassembly:
mov eax, 0x43d8d8
call fcn.0043bf2c
mov eax, dword [ebp + 0xc]
add esp, 0xfffffed8
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], ebx
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
push esi
push edi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
jb 0x4063ad
mov ecx, dword [eax]
jmp 0x4063af
mov ecx, eax
mov eax, edx
shl eax, 3
cmp edx, ebx
jle 0x4063c8
push edx
push ecx
lea ecx, [ebp - 0x7c]
push ecx
xor ecx, ecx
call fcn.00406ee0
add esp, 0xc
lea esi, [ebp - 0x7c]
lea eax, [ebp - 0x20]
push eax
call fcn.00406f87
pop edi
lea ecx, [ebp - 0x134]
xor edi, edi
inc edi
push edi
push 3
call fcn.00403565
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x124]
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
xor esi, esi
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x124]
mov byte [eax + 0x40], 0x30
push ebx
push 2
lea eax, [ebp - 0x8c]
push eax
call fcn.004121fb
add esp, 0xc
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx + 4]
push dword [eax + 0xc]
push dword [eax + 8]
lea ecx, [ebp + ecx - 0x124]
push ecx
call dword [eax]
add esp, 0xc
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00406691
inc esi
cmp esi, 0x10
jl 0x406421
push dword [ebp + 8]
lea ecx, [ebp - 0x134]
call fcn.00403617
mov dword [ebp + 0xc], edi
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], bl
call fcn.0040303d
mov eax, dword [ebp + 8]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x4072e2
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0x43d1dd
call fcn.0043bf2c
mov eax, dword [ebp + 8]
add esp, 0xffffffd4
mov eax, dword [eax]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, dword [ebp + 0xc]
cmp eax, ebx
mov edi, edx
je 0x407425
cmp dword [ecx + 0x14], 0x10
jb 0x40730e
mov ecx, dword [ecx]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x1bb
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x407425
cmp dword [esi + 0x14], 0x10
jb 0x407339
mov eax, dword [esi]
jmp 0x40733b
mov eax, esi
push ebx
push 0xc03000
push ebx
push ebx
push ebx
push eax
push str.POST
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp + 8], esi
mov byte [ebp - 4], 1
cmp esi, ebx
jne 0x40736e
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x407425
push 0x3e
push str.Content_Type:_application_x_www_form_urlencoded_r_nAccept:___r_n
mov dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
call fcn.00401f44
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x407399
mov edi, dword [edi]
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4073a5
lea eax, [ebp - 0x34]
push ecx
push edi
push dword [ebp - 0x24]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
or eax, eax
jne 0x4073c4
push ebx
lea ecx, [ebp - 0x34]
push 1
call fcn.00401ba9
push esi
jmp 0x407418
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x18]
mov edi, 0x20000
call fcn.004067ac
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x18]
cmp edi, ebx
jne 0x4073e2
push ebx
jmp 0x407404
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
or eax, eax
je 0x407403
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0040503b
push edi
call fcn.00423dde
lea ecx, [ebp - 0x34]
pop esi
push ebx
push 1
call fcn.00401ba9
push dword [ebp + 8]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push dword [ebp + 0xc]
call ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x407b9d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43d4c3
call fcn.0043bf2c
lea eax, [ebp - 0x80]
add esp, 0xffffff8c
push ebx
push esi
push edi
xor edi, edi
push 0x44
pop esi
push esi
push edi
push eax
call fcn.004244d0
sub esp, 0xfffffff4
push dword [ebp + 8]
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea ecx, [ebp - 0x38]
push dword [ebp + 8]
call fcn.00408434
push str.__VERYSILENT
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x38]
call fcn.00408456
xor ebx, ebx
mov eax, dword [ebp - 0x28]
inc eax
push 2
pop ecx
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00411f5b
pop ecx
mov esi, eax
cmp esi, edi
je 0x407c13
push ebx
push edi
push esi
call fcn.004244d0
sub esp, 0xfffffff4
jmp 0x407c15
xor esi, esi
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x407c21
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
add ecx, ecx
push ecx
push eax
push esi
call fcn.00424950
sub esp, 0xfffffff4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x407c5c
cmp dword [ebp - 0x1c], 0xffffffff
je 0x407c5c
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.00423dde
lea ecx, [ebp - 0x38]
pop ebx
push edi
push 1
call fcn.00401c8e
pop edi
pop esi
mov edx, dword [ebp - 0xc]
mov dword fs:[0], edx
pop ebx
leave
ret 4
Function at 0x407c7f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x27e]
sub esp, 0x280
push ebx
push 0x206
xor ebx, ebx
mov word [ebp - 0x280], bx
xor ebx, ebx
push ebx
push eax
call fcn.004244d0
add esp, 0xc
lea eax, [ebp - 0x280]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x407cc7
xor al, al
jmp 0x407d9b
push esi
lea eax, [ebp - 0x280]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407d98
push 0x39
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.004244d0
sub esp, 0xfffffff4
push 2
push ebx
push 0xffffffffffffffc8
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x78]
push 0x38
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x78], 0x44414544
jne 0x407d98
cmp dword [ebp - 0x74], 0x46454542
jne 0x407d98
xor eax, eax
push edi
lea edi, [ebp - 0x17]
lea esi, [ebp - 0x70]
mov byte [ebp - 0x18], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push 0x10
push esi
push 0x11
push eax
call fcn.004240b0
sub esp, 0xfffffff0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040666e
lea edi, [ebp - 0x3b]
lea esi, [ebp - 0x60]
push 8
xor eax, eax
pop ecx
mov byte [ebp - 0x3c], bl
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push 0x10
push esi
push 0x11
push eax
call fcn.004240b0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
sub esp, 0xfffffff0
push eax
call fcn.0040666e
pop edi
mov al, 1
jmp 0x407d9a
xor al, al
pop esi
pop ebx
leave
ret 8
Function at 0x40821e
Capabilities:
Set registry value

Disassembly:
mov eax, 0x43d97f
call fcn.0043bf2c
sub esp, 0x94
push ebx
push esi
push edi
push 0xf
xor ebx, ebx
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 1
push 0x12
push str.SoftwareGGSQGNA_
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00401f44
push 2
lea ecx, [ebp - 0x9c]
pop edx
lea esi, [ebp - 0x18]
call fcn.00407494
push ebx
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401ba9
push 7
push str.InstKey
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f44
mov dword [ebp - 0x10], 0xad2
cmp byte [ebp - 0x14], bl
je 0x4082dc
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x4082c9
lea eax, [ebp - 0x38]
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x38]
push ebx
push 1
call fcn.00401ba9
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00407c7f
test al, al
je 0x408354
cmp dword [ebp - 0x44], ebx
jbe 0x408340
push 3
push 0x44271c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f44
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.004074f2
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401ba9
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
push eax
sub ecx, 0xfffffff4
call fcn.00402262
cmp dword [ebp - 0x70], ebx
jbe 0x408354
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call fcn.00407da0
mov dword [ebp - 0x1c], eax
sub esp, 0x10
mov dword [ebp - 0x10], esp
mov esi, esp
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
call fcn.0040473f
mov eax, dword [ebp + 8]
add eax, 8
push 0xaba
push eax
mov dword [ebp + 8], eax
call fcn.004060ad
push ecx
mov dword [ebp - 0x10], esp
lea esi, [ebp - 0x64]
mov dword [ebp - 0x10], esp
call fcn.0040473f
mov byte [ebp - 4], 3
push 6
push str.STATUS
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f44
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00402fb7
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401ba9
add esp, 0xfffffff0
mov dword [ebp - 0x10], esp
push esp
mov ecx, esi
call fcn.00408500
push 0xa85
push dword [ebp + 8]
call fcn.004060ad
mov eax, esi
push eax
mov byte [ebp - 4], 2
call fcn.00402f88
cmp byte [ebp - 0x14], bl
je 0x4083fd
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [ebp - 0x80]
push 1
call fcn.00401ba9
lea ecx, [ebp - 0x54]
push ebx
push 1
call fcn.00401ba9
mov ebx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ebx
pop ebx
leave
ret 4
Function at 0x409a58
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43da60
push eax
mov dword fs:[0], esp
add esp, 0xfffffefc
push ebx
push esi
push str.http:__www.gamenet.ru_games_blackdesert_rules_
lea ecx, [edi + 0x29]
call fcn.004084db
push str.https:__gamenet.ru_aboutapp_
lea ecx, [edi + 0x45]
call fcn.004084db
mov ebx, dword [edi + 1]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x443048
push 0x65
push ebx
call esi
test eax, eax
je 0x409ab6
push eax
push ebx
lea ebx, [edi + 0x71]
call fcn.0040c502
mov eax, dword [edi + 0x71]
or eax, eax
je 0x409c94
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
or ecx, ecx
jne 0x409c94
mov ebx, dword [edi + 1]
push 0x443048
push 0x6b
push ebx
call esi
or eax, eax
je 0x409aeb
push eax
push ebx
lea ebx, [edi + 0x79]
call fcn.0040c502
mov eax, dword [edi + 0x79]
or eax, eax
je 0x409c94
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
or ecx, ecx
jne 0x409c94
push edi
call fcn.00409cc2
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [edi + 9], 0x280
mov dword [edi + 0xd], 0xee
call ebx
push 1
mov esi, eax
call ebx
mov dword [esp + 8], eax
mov eax, dword [edi + 9]
fild dword [esp + 8]
cdq
sub eax, edx
fmul qword [0x4430e8]
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar ecx, 1
mov ebx, eax
sar ebx, 1
sub ebx, ecx
call fcn.0043be80
and dword [esp + 0x1c], 0
mov ecx, eax
mov eax, dword [edi + 0xd]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 8]
cdq
neg esi
sub eax, edx
sub esi, ecx
push 0x1c
sar eax, 1
push 0x442834
lea ecx, [esp + 0x14]
add esi, eax
mov dword [esp + 0x28], 0xf
mov byte [esp + 0x14], 0
call fcn.00401f44
and dword [esp + 0x114], 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0040a0e1
push 0
push 1
mov byte [esp + 0x11c], 2
lea ecx, [esp + 0x14]
call fcn.00401ba9
push 1
push 3
lea ecx, [esp + 0x68]
call fcn.0040b372
mov byte [esp + 0x114], 3
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x409bde
lea eax, [esp + 0x28]
push 0x442854
push ecx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0040c06e
sub esp, 0xfffffff4
push eax
call fcn.0040c06e
pop ecx
pop eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
call fcn.0040b424
cmp dword [eax + 0x14], 8
jb 0x409c10
mov eax, dword [eax]
xor ecx, ecx
push ecx
push dword [edi + 1]
push ecx
push ecx
push dword [edi + 0xd]
push dword [edi + 9]
push esi
push ebx
push SysReAllocString
push eax
push str.Thistle
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 1
lea ecx, [esp + 0x4c]
mov dword [edi + 5], eax
call fcn.00401c8e
lea esi, [edi + 0x11]
push dword [edi + 0xd]
mov ebx, dword [edi + 5]
push dword [edi + 9]
call fcn.00408b73
push edi
call fcn.00409f52
xor al, al
mov esi, edi
call fcn.0040a180
push 5
push dword [edi + 5]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 5]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 2
call fcn.00409ca8
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00401c8e
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a80d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 9], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi + 0xd], eax
call ebx
push 1
mov dword [ebp - 8], eax
call ebx
mov esi, dword [edi + 9]
mov ebx, dword [edi + 0xd]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
push 0
push ebx
push esi
fmul qword [0x4430e8]
call fcn.0043be80
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
neg ebx
sub ebx, ecx
add ebx, eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar ecx, 1
push ebx
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi + 5]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [edi + 0x11]
mov eax, esi
call fcn.00408bdf
push dword [ebp + 0xc]
mov ebx, dword [esi]
push dword [ebp + 8]
call fcn.00408b73
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [edi + 5]
call ebx
push 9
push dword [edi + 5]
call ebx
push 0
push 0
push dword [edi + 5]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
leave
ret 8

Function at 0x40aeee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
xor eax, eax
xor edi, edi
push str.http:__go.gamenet.ru_a_19_352_inst
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], edi
mov word [ebp - 0x1c], ax
call fcn.004084db
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40af20
lea eax, [ebp - 0x1c]
push 5
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
lea ecx, [ebp - 0x1c]
xor edi, edi
inc edi
push edi
call fcn.00401c8e
push dword [esi + 0xcb]
mov dword [esi + 0xcf], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
leave
ret

Function at 0x40c2f1
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 4]
xor ecx, ecx
cmp dword [eax + 0xa3], ecx
je 0x40c31c
sub eax, 0xffffff6d
cmp dword [eax + 0x14], 8
jb 0x40c30b
mov eax, dword [eax]
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x40c502
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43cff5
call fcn.0043bf2c
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
je 0x40c608
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x40c608
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x40c608
push dword [ebp - 0x14]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x40c608
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x40c608
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push eax
call fcn.00424950
sub esp, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x10]
mov dword [ebx + 4], edi
mov dword [ebp - 0x10], esi
push eax
push esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x40c5f7
mov eax, dword [ebp - 0x10]
push 0x10
mov dword [ebp + 8], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
cmp edi, esi
je 0x40c5d7
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov dword [edi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 0xc], esi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
jmp 0x40c5d9
xor edi, edi
mov dword [ebx], edi
cmp edi, esi
je 0x40c5f7
mov ecx, dword [edi + 8]
mov dword [edi + 8], esi
cmp ecx, esi
je 0x40c5f7
mov ecx, dword [ebx]
cmp ecx, esi
je 0x40c5f5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx], esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x40c608
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], edx
pop esi
leave
ret 8