joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c453
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [0x4108fc]
push edi
mov edi, edx
test edi, edi
je 0x40c4a2
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x40c4a1
and dword [ebp - 4], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
and eax, 0xffff7fff
cmp eax, 2
lea eax, [ebp - 4]
push 0
push eax
jne 0x40c495
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x40c4a1
lea eax, [esi + esi]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ce10
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x410344]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x4108f8]
jne 0x40ceac
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 6
push eax
push 1
xor edi, edi
push edi
push 0x403ee0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ceab
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x403f98
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x40ceab
push 3
push dword [edi*8 + 0x401248]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x40ce9d
inc edi
cmp edi, 0x1c
jb 0x40ce7b
jmp 0x40ceab
mov ax, word [edi*8 + 0x40124c]
mov word [0x4108f8], ax
pop edi
mov ecx, dword [ebp - 4]
mov ax, word [0x4108f8]
xor ecx, ebp
call fcn.00409600
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [0x4ac600]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, ebx
xor eax, esi
xor eax, ebx
mov esi, esi
mov eax, esi
mov esi, ebx
xor esi, esi
mov ebx, esi
xor ebx, esi
not ebx
neg esi
bswap esi
not esi
mov esi, 0xc1
ror edx, 0x1a
and ebx, 0xfd
neg esi
bswap eax
sub esi, 0x66
or esi, 0x87
inc ebx
dec eax
neg edi
sbb edi, 0xca
not ebx
bswap edi
sub edi, 0x99
rol ebx, 0xfd
imul edi
imul ebx
mov eax, 0x42
rcl edi, 0xfd
not edx
inc ebx
imul ebx
bswap esi
or edi, 0x34
and edi, 0xf
or edx, 0xfc
imul edx
inc esi
rol esi, 0x93
not esi
dec esi
bswap esi
not eax
and edi, 0xe1
neg edx
add esi, 0x21
add ebx, 0x55
dec eax
rcr esi, 0xf6
neg eax
dec esi
rcr eax, 0xbc
add esi, 0x9b
mov ebx, 0x99
rcl esi, 0x40
neg ebx
xor ecx, ecx
xor edi, edi
mov eax, eax
mov ebx, esi
xor eax, eax
xor esi, eax
xor ebx, eax
mov ebx, esi
imul eax
ror ebx, 0xfb
neg eax
and edi, 1
add edx, 0xd1
rcr edx, 0x3f
neg edx
bswap eax
bswap esi
inc eax
dec ebx
imul ebx
bswap esi
dec esi
bswap eax
imul edi
sbb edx, 0xb5
inc eax
bswap esi
imul eax
bswap ebx
bswap edx
bswap edx
and esi, 0x14
and ebx, 0xe8
bswap esi
sbb ebx, 0x12
bswap esi
ror esi, 0xfd
mov edi, 0xe4
or edx, 0xb7
bswap edx
sub esi, 0x67
or edi, 0x64
neg edi
dec edx
imul eax
rol esi, 0x81
mov ebx, 0xf6
mov esi, 0xcc
dec ebx
ror ebx, 0xe0
rol eax, 0xd4
inc edx
ror esi, 0xe8
inc edx
add ebx, 0x98
add ebx, 0xb0
add edi, 0x60
bswap esi
xor esi, ebx
mov ebx, esi
mov ebx, ebx
xor esi, ebx
mov esi, eax
mov ebx, esi
xor esi, eax
xor eax, ebx
mov ebx, esi
mov ecx, dword [ebp + 0xc]
neg edi
ror edx, 0xbf
add esi, 0x91
and ebx, 0xb7
bswap edx
mov edi, 0xce
imul edi
not eax
imul esi
sbb esi, 5
not edi
or eax, 0xe8
rcr esi, 0x6b
imul eax
sub esi, 0x65
mov edi, 0x5d
bswap esi
and ebx, 0x44
neg ebx
and ebx, 0xa
imul eax
sub edi, 0x42
dec ebx
mov esi, 0x50
bswap ebx
and ebx, 0xee
bswap edi
not edx
dec ebx
not edi
mov esi, 0x94
inc esi
neg esi
imul eax
and edx, 0x36
rcl eax, 0xa0
rcl edx, 0xed
or eax, 0xb0
ror esi, 0xf8
bswap edx
mov esi, 0x8f
bswap edi
inc eax
inc esi
rol esi, 0x21
sub edi, 0xac
add eax, 0x44
bswap esi
mov esi, 0x8e
sub edx, 0xf4
mov edi, dword [ebp + 8]
mov ebx, ebx
xor ebx, eax
mov eax, esi
xor ebx, esi
xor esi, esi
mov ebx, ebx
mov ebx, ebx
xor esi, esi
mov eax, eax
not byte [edi]
xor ebx, eax
xor esi, eax
xor eax, esi
mov eax, ebx
xor esi, esi
xor esi, esi
mov esi, esi
xor eax, ebx
xor esi, esi
xor esi, ebx
xor ebx, eax
xor eax, esi
sub byte [edi], 0x39
mov esi, esi
mov ebx, ebx
mov esi, eax
xor eax, eax
mov eax, esi
mov esi, ebx
add byte [edi], 0x68
mov eax, ebx
mov ebx, esi
xor ebx, ebx
mov eax, ebx
mov eax, esi
xor ebx, esi
xor ebx, esi
xor eax, eax
mov eax, ebx
imul byte [edi]
inc edi
loop 0x401207
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004013b0
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401baf
Capabilities:
Parse pe header

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

Function at 0x407ab6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4196b8
push 0x4196b0
push str.FlsAlloc
push 0x1f
call fcn.00407975
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407aea
push dword [ebp + 8]
mov ecx, esi
call dword [0x418130]
call esi
jmp 0x407af0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407b34
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4196c8
push 0x4196c0
push str.FlsGetValue
push 0x21
call fcn.00407975
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407b6b
push dword [ebp + 8]
mov ecx, esi
call dword [0x418130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x407b73
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4196d0
push 0x4196c8
push str.FlsSetValue
push 0x22
call fcn.00407975
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407bad
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x418130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40b0f8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b195
push ebx
push esi
call fcn.0040b0c1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040b055
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b142
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b194
push edi
push eax
call fcn.00408265
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b162
call fcn.00407808
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b193
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b055
add esp, 0x20
test eax, eax
jne 0x40b181
push edi
call fcn.00407808
jmp 0x40b189
push ebx
call fcn.00407808
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x413250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41327d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41327d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40345c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x550008], 0x8088405
inc edx
mov dword [ebx + 0x550008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40ebc8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40ec1a
test eax, edx
je 0x40ec1d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40ebdd
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40ec03
add ecx, 4
js 0x40ebf3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40ec00
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40ec29
test edx, edx
jne 0x40ebd0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x434c4c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x434d74
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00434b38
mov eax, dword [esi]
call fcn.004064c0
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42a47c]
call fcn.0040667c
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004031d8
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004031d8
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004064c0
mov dword [ebp - 0xc], eax
mov eax, dword [0x57f980]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0042c248
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00403aa4
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004064c0
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0042c160
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.0042bf2c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0042c240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434d7b
lea eax, [ebp - 4]
mov edx, dword [0x42a47c]
call fcn.0040677c
ret
Function at 0x453738
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x45374b
add esp, 0xfffffff0
call fcn.00404650
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4537c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404314
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x18], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.00453930
mov edx, dword [ebp - 4]
lea eax, [esi + 0xc]
call fcn.0040529c
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x10]
mov edx, 0x4537f0
call fcn.00405560
mov ecx, esi
mov dl, 1
mov eax, dword [0x4534fc]
call fcn.00453e80
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4537cb
lea eax, [ebp - 4]
call fcn.00405248
ret

Function at 0x453840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor edx, edx
push ebp
push 0x4538eb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00453e74
mov ebx, eax
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
call fcn.0040529c
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.0040fa84
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040529c
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 8]
call fcn.0040529c
test edi, edi
je 0x4538ad
mov edx, edi
mov eax, ebx
call fcn.00454ad4
jmp 0x4538ba
lea eax, [ebx + 0x14]
mov edx, 0x453908
call fcn.0040529c
test esi, esi
je 0x4538c8
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.0040529c
lea eax, [ebx + 0x18]
mov edx, 0x45391c
call fcn.0040529c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4538f2
lea eax, [ebp - 0xc]
call fcn.00405248
ret

Function at 0x456a08
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x456a62
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004569fc
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00455250
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00454e68
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456a69
lea eax, [ebp - 4]
call fcn.00405248
ret
Function at 0x473b60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x473b66
ret
Function at 0x4e5400
Capabilities:
Encode data using xor

Disassembly:
or edx, edx
je 0x4e5415
mov cl, byte [edx + eax - 1]
xor cl, byte [edx + 0x5541e3]
mov byte [edx + eax - 1], cl
dec edx
jne 0x4e5404
ret
Function at 0x51f4c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x51f4d5
or edx, 0x200
test eax, 0x20000000
je 0x51f508
test eax, 0x40000000
je 0x51f4f4
test eax, 0x80000000
je 0x51f4ef
or edx, 0x40
jmp 0x51f52f
or edx, 0x20
jmp 0x51f52f
test eax, 0x80000000
je 0x51f503
or edx, 0x80
jmp 0x51f52f
or edx, 0x10
jmp 0x51f52f
test eax, 0x40000000
je 0x51f520
test eax, 0x80000000
je 0x51f51b
or edx, 4
jmp 0x51f52f
or edx, 2
jmp 0x51f52f
test eax, 0x80000000
je 0x51f52c
or edx, 8
jmp 0x51f52f
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x40707c
Capabilities:
Set registry value

Disassembly:
mov eax, 0x43b7a5
call fcn.00439f7c
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.004031b4
push 2
lea ecx, [ebp - 0x9c]
pop edx
lea esi, [ebp - 0x18]
call fcn.004064d9
push ebx
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.004027c9
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.004031b4
mov dword [ebp - 0x10], 0xac1
cmp byte [ebp - 0x14], bl
je 0x40713a
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x407127
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.004027c9
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00406add
test al, al
je 0x4071b2
cmp dword [ebp - 0x44], ebx
jbe 0x40719e
push 3
push 0x440594
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.004031b4
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.00406537
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004027c9
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
push eax
add ecx, 0xc
call fcn.0040311b
cmp dword [ebp - 0x70], ebx
jbe 0x4071b2
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call fcn.00406bfe
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.00403399
mov eax, dword [ebp + 8]
add eax, 8
push 0xaba
push eax
mov dword [ebp + 8], eax
call fcn.0040505a
push ecx
mov dword [ebp - 0x10], esp
lea esi, [ebp - 0x64]
mov dword [ebp - 0x10], esp
call fcn.00403399
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.004031b4
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00401949
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004027c9
sub esp, 0x10
mov dword [ebp - 0x10], esp
push esp
mov ecx, esi
call fcn.00407482
push 0xa85
push dword [ebp + 8]
call fcn.0040505a
mov eax, esi
push eax
mov byte [ebp - 4], 2
call fcn.0040191a
cmp byte [ebp - 0x14], bl
je 0x40725b
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004027c9
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.004027c9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40870f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b6d0
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
push 0x440c84
mov esi, ecx
mov edi, dword [esi]
push 0x65
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x408753
push eax
lea ebx, [esi + 0x1c]
push edi
call fcn.0040abd1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x408927
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
test ecx, ecx
jne 0x408927
push esi
mov dword [esi + 0x14], 0xb2
mov dword [esi + 0x18], 0xec
call fcn.00408956
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, ebx
cdq
sub eax, edx
fmul qword [0x440d18]
mov ebx, eax
mov eax, dword [esi + 0x14]
cdq
sub eax, edx
sar eax, 1
sar ebx, 1
sub ebx, eax
call fcn.00439ed0
and dword [esp + 0x24], 0
mov ecx, eax
mov eax, dword [esi + 0x18]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x10]
cdq
neg edi
sub eax, edx
sub edi, ecx
push 0x1c
sar eax, 1
push 0x4405f4
lea ecx, [esp + 0x1c]
add edi, eax
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], 0
call fcn.004031b4
and dword [esp + 0x11c], 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00408d54
push 0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x124], 2
call fcn.004027c9
push 1
push 3
lea ecx, [esp + 0x70]
call fcn.00409501
mov byte [esp + 0x11c], 3
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x408844
lea eax, [esp + 0x30]
push 0x440614
push ecx
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0040a8fd
add esp, 0xc
push eax
call fcn.0040a8fd
pop ecx
pop ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x6c]
call fcn.004095b3
cmp dword [eax + 0x14], 8
jb 0x40887b
mov ecx, dword [eax]
jmp 0x40887d
mov ecx, eax
xor eax, eax
push eax
push dword [esi]
push eax
push eax
push dword [esi + 0x18]
push dword [esi + 0x14]
push edi
push ebx
push SysReAllocString
push ecx
push str.Thistle
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 1
lea ecx, [esp + 0x54]
mov dword [esi + 4], eax
call fcn.0040579d
call fcn.004089d6
push esi
call fcn.00408bf1
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x44]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4088f5
push 0x408675
push 0xbb8
push 0x401
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
add esi, 0x58
push esi
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
add esi, 8
push esi
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
lea ecx, [esp + 0x68]
mov byte [esp + 0x11c], 2
call fcn.0040893c
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.0040579d
mov ecx, dword [esp + 0x114]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408bb6
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [0x44a838]
cmp byte [edi + 0x6d], 0
je 0x408bd4
push dword [edi + 0x6e]
mov dword [edi + 0x72], 0xfffffffe
call dword [sym.imp.KERNEL32.DLL_SetEvent]
lea esi, [edi + 0x58]
mov byte [edi + 0x68], 1
call fcn.0040ae7d
push 0
push dword [edi + 4]
mov dword [edi + 0x69], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret

Function at 0x409126
Capabilities:
Create process on windows

Disassembly:
push 5
xor eax, eax
push eax
push eax
push str.http:__go.gamenet.ru_a_19_213_inst
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [esi + 0x6e]
mov dword [esi + 0x72], 1
call dword [sym.imp.KERNEL32.DLL_SetEvent]
ret

Function at 0x40abd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43b05d
call fcn.00439f7c
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 0x40acd7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
je 0x40acd7
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x40acd7
push dword [ebp - 0x14]
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
cmp esi, edi
je 0x40acd7
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, edi
je 0x40acd7
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push eax
call fcn.0040ef90
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 0x40acc6
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 0x40aca6
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 0x40aca8
xor esi, esi
mov dword [ebx], esi
cmp esi, edi
je 0x40acc6
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
cmp eax, edi
je 0x40acc6
mov ecx, dword [ebx]
cmp ecx, edi
je 0x40acc4
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 0x40acd7
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