joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a6a0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x45a6c6
mov eax, 0x1b
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x45a6fe
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 4], 0
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.00411e00
add esp, 4
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp], 0x20
jne 0x45a755
push 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 8]
test eax, eax
je 0x45a764
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x45a775
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x45b3b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x45b3fc
push ebx
mov ebx, dword [esp + 0x10]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x45b3c1
pop ebx
pop edi
pop esi
ret

Function at 0x45c65e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45c69d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45c69d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45c69d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x45c69d
cmp dword [ecx + 0x74], 0xe
jbe 0x45c69d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x43b62d
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
mov ebx, ebx
add ecx, ecx
call fcn.0043b65d
mov ecx, 0xd50d8e41
xor dword [esi], eax
and ebx, ebx
mov ebx, ecx
sub ebx, ecx
inc esi
sub ecx, 0xdca76e37
or ebx, ecx
and ecx, ecx
cmp esi, edi
jne fcn.0043b62d
sub ecx, ecx
add ebx, ebx
ret

Function at 0x710c54
Capabilities:
Encode data using xor

Disassembly:
push 0x7109ec
pop edx
add eax, eax
call fcn.00710c93
add ebx, ebx
add ebx, 1
or eax, eax
xor dword [ecx], edx
dec eax
mov eax, eax
add ebx, eax
add ecx, 1
sub ebx, 0xf11e71cc
dec eax
cmp ecx, edi
jne fcn.00710c54
sub ebx, 0xff4280a1
dec eax
add ebx, eax
ret
Function at 0x405f85
Capabilities:
Encode data using base64

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

Disassembly:
mov eax, 0x43d8d8
call fcn.0043bf2c
sub esp, 0x128
mov eax, dword [ebp + 0xc]
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 eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x7c]
call fcn.00406f87
pop ecx
xor edi, edi
inc edi
push edi
push 3
lea ecx, [ebp - 0x134]
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
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
xor esi, esi
push ebx
lea eax, [ebp - 0x8c]
push 2
push eax
call fcn.004121fb
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx + 4]
add esp, 0xc
push dword [eax + 0xc]
lea ecx, [ebp + ecx - 0x124]
push dword [eax + 8]
push ecx
call dword [eax]
movzx eax, byte [ebp + esi - 0x20]
add esp, 0xc
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
lea ecx, [ebp - 0x134]
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], bl
call fcn.0040303d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
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]
mov eax, dword [eax]
sub esp, 0x2c
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
cmp eax, ebx
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 [edi + 0x14], 0x10
jb 0x407339
mov eax, dword [edi]
jmp 0x40733b
mov eax, edi
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 edi, eax
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
cmp edi, 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
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
call fcn.00401f44
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x407399
mov esi, dword [esi]
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4073a5
lea eax, [ebp - 0x34]
push ecx
push esi
push dword [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4073c4
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00401ba9
push edi
jmp 0x407418
mov edi, 0x20000
lea esi, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.004067ac
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x18]
cmp esi, ebx
jne 0x4073e2
push ebx
jmp 0x407404
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push esi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x407403
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0040503b
push esi
call fcn.00423dde
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00401ba9
push dword [ebp + 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp + 0xc]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
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
sub esp, 0x74
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.004244d0
add esp, 0xc
push dword [ebp + 8]
mov dword [ebp - 0x80], edi
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.00408434
push str.__VERYSILENT
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00408456
mov eax, dword [ebp - 0x28]
push 2
xor ebx, ebx
pop ecx
inc eax
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.00411f5b
mov edi, eax
pop ecx
cmp edi, esi
je 0x407c13
push ebx
push esi
push edi
call fcn.004244d0
add esp, 0xc
jmp 0x407c15
xor edi, edi
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 edi
call fcn.00424950
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
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 edi
call fcn.00423dde
pop ecx
push esi
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c8e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x407c7f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x280], ax
xor ebx, ebx
lea eax, [ebp - 0x27e]
push ebx
push eax
call fcn.004244d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x280]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x407cc7
xor al, al
jmp 0x407d9b
push esi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea eax, [ebp - 0x280]
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
add esp, 0xc
push 2
push ebx
push 0xffffffffffffffc8
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push 0x38
lea eax, [ebp - 0x78]
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
push edi
xor eax, eax
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x18]
push 0x11
push eax
call fcn.004240b0
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
call fcn.0040666e
push 8
pop ecx
xor eax, eax
mov byte [ebp - 0x3c], bl
lea edi, [ebp - 0x3b]
rep stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x3c]
push 0x11
push eax
call fcn.004240b0
mov ecx, dword [ebp + 0xc]
add esp, 0x10
lea eax, [ebp - 0x3c]
push eax
call fcn.0040666e
mov al, 1
pop edi
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]
push ebx
push 1
lea ecx, [ebp - 0x38]
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
add ecx, 0xc
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
sub esp, 0x10
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
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ba9
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00401ba9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
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
sub esp, 0x104
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]
test eax, eax
je 0x409c94
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
test ecx, ecx
jne 0x409c94
mov ebx, dword [edi + 1]
push 0x443048
push 0x6b
push ebx
call esi
test eax, eax
je 0x409aeb
push eax
push ebx
lea ebx, [edi + 0x79]
call fcn.0040c502
mov eax, dword [edi + 0x79]
test eax, eax
je 0x409c94
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
test ecx, ecx
jne 0x409c94
push edi
call fcn.00409cc2
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [edi + 9], 0x280
mov dword [edi + 0xd], 0xee
call esi
push 1
mov ebx, eax
call esi
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, ebx
cdq
sub eax, edx
mov ebx, eax
sar ecx, 1
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
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 2
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
add esp, 0xc
push eax
call fcn.0040c06e
pop ecx
pop ecx
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
push dword [edi + 0xd]
mov ebx, dword [edi + 5]
push dword [edi + 9]
lea esi, [edi + 0x11]
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 esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 9], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi + 0xd], eax
call esi
push 1
mov dword [ebp - 8], eax
call esi
mov esi, dword [edi + 0xd]
mov ebx, dword [edi + 9]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
push 0
push esi
push ebx
fmul qword [0x4430e8]
call fcn.0043be80
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
neg esi
sub esi, ecx
add esi, eax
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
push esi
sar ecx, 1
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 esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [edi + 5]
call esi
push 9
push dword [edi + 5]
call esi
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
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x1c]
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
add eax, 0x93
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]
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x40c608
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x40c608
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x40c608
push dword [ebp - 0x14]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
je 0x40c608
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x40c608
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push eax
call fcn.00424950
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebx + 4], esi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
push edi
push esi
mov dword [ebp - 4], edi
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 esi, eax
cmp esi, edi
je 0x40c5d7
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 0xc], edi
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
jmp 0x40c5d9
xor esi, esi
mov dword [ebx], esi
cmp esi, edi
je 0x40c5f7
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
cmp eax, edi
je 0x40c5f7
mov ecx, dword [ebx]
cmp ecx, edi
je 0x40c5f5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx], edi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x40c608
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 8