joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1b01
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c1b39
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004bfbd2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004bfbaa
jmp 0x4c1b45
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c31f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c3238
call fcn.004c8e35
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c3238
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c322f
xor eax, eax
jmp 0x4c3240
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c3246
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c9365
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c9393
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c93b1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c92cb
jmp 0x4c93b1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c93b1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c92cb
test edi, edi
mov eax, edi
jne 0x4c939b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4068f4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00409e3c
test esi, esi
jne 0x40692a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00409fc4
jmp 0x406948
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004067d8
mov edi, eax
test esi, esi
je 0x406948
cmp dword [ebx], 0
je 0x406948
dec esi
jmp 0x406931
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x40697c
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x408a64
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408e3c
mov byte [esp], al
cmp byte [esp], 0
jne 0x408be4
test edi, edi
je 0x408be4
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408b24
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x408aff
cmp edi, 0xffffffff
je 0x408ac3
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408ac3
mov byte [esp], 0
jmp 0x408be4
mov ebx, dword [esi]
cmp ebx, 1
jg 0x408aff
test ebx, ebx
jne 0x408af5
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408af5
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408be4
call 0x408f5c
dec ebp
test ebp, ebp
jg 0x408aa8
cmp edi, 0xffffffff
je 0x408b24
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408b22
mov byte [esp], 0
jmp 0x408be4
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408a72
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408b24
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408c50
mov edx, eax
mov ebx, dword [0x7748f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408b88
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408b86
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408b88
xor edi, edi
cmp byte [esp], 0
je 0x408bae
mov ebx, dword [esi]
test bl, 1
jne 0x408bc4
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408b8e
mov byte [esp + 1], 1
jmp 0x408bc4
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408bae
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408b3b
cmp byte [esp], 0
je 0x408be4
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x409a9c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x774058], 0
je 0x409b03
cmp word [0x774344], 0xd7b2
jne 0x409ac5
cmp dword [0x77434c], 0
jbe 0x409ac5
mov eax, 0x774340
call dword [0x77435c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409b30
call fcn.0040a8ec
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x75e032], 0
jne 0x409b1f
push 0
push 0x75e9f2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409cfc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x75e034], 0
je 0x409d27
mov edx, edi
mov eax, esi
call dword [0x75e034]
mov ebx, eax
jmp 0x409d38
mov eax, 8
call fcn.00406498
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x774059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409cc4
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409d68
mov eax, ebx
call fcn.004064b4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40ca8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40cbf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409e3c
cmp si, word [0x75ea30]
jb 0x40cb24
cmp si, word [0x75ec30]
ja 0x40cb24
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40cb24
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x75ea30]
jae 0x40cafe
mov edi, ebx
dec edi
jmp 0x40cb1f
cmp si, word [ebx*8 + 0x75ea30]
jbe 0x40cb0e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40cb1f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x75ea34]
call fcn.0040c9ac
jmp 0x40cb24
cmp edi, dword [ebp - 8]
jae 0x40cae8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40cbd3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40cbd3
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ad70
push dword [ebp - 0x160]
push 0x40cc0c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040ad70
push dword [ebp - 0x164]
push 0x40cc1c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ad70
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040afa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbf8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409e9c
ret
Function at 0x40d5f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409f20
xor eax, eax
push ebp
push 0x40d6b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040ad70
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040af20
mov eax, dword [ebx]
call fcn.0040d4b8
test al, al
jne 0x40d68d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040ad70
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040af20
mov eax, dword [ebx]
call fcn.0040d4b8
test al, al
jne 0x40d68d
mov eax, ebx
call fcn.00409e3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d6b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409e9c
lea eax, [ebp - 4]
call fcn.00409e3c
ret

Function at 0x413b4d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec edx
add esp, 4
or ebx, 0xd44f
add byte [eax], al
pop ebx
push edx
xor edx, 0x4564
add byte [eax], al
sub edx, 0xe650

Function at 0x413dac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push esi
add esp, 4
or edi, 0x12569
and eax, 0xc7810001
leave
mov dl, 0
add byte [ecx + 0x1822dc7], al
add byte [ecx + 0x1493ef7], al
idiv dword [esi]
dec ecx
add dword [eax], eax
pop edi
invalid
invalid

Function at 0x413dec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ecx + 0x9194eb], al
add byte [ebx + 0x51], bl
push ecx

Function at 0x4142dc
Capabilities:
Get number of processors

Disassembly:
add byte [edx + esi], dh
cmp bh, byte [esi + edi]
cmp al, byte [ebp + 0x4e]
dec esi
add esp, 4
pop ebx
invalid
invalid
invalid

Function at 0x4142e5
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
add byte [edx + esi], dh
cmp bh, byte [esi + edi]
cmp al, byte [ebp + 0x4e]
dec esi
add esp, 4
pop ebx
invalid
invalid
invalid

Function at 0x4142fc
Capabilities:
Get number of processors

Disassembly:
cmp dword [edx + 0x50], ecx
mov edx, 0x6b
mov word [ebp - 0x17ac], dx
mov dword [ebp - 0x17ac], edx
invalid
invalid

Function at 0x414314
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x72
mov word [ebp - 0x17a8], cx
mov dword [ebp - 0x17a8], ecx
invalid
outsb dx, byte [esi]

Function at 0x414364
Capabilities:
Get number of processors

Disassembly:
add byte [eax], al
add byte [esi - 0x77], ah
xchg ebp, eax
call fcn.0041436d
invalid
invalid

Function at 0x41437c
Capabilities:
Get number of processors

Disassembly:
add byte [eax], al
add byte [esi - 0x77], ah
lea ebp, [edx - 0x18]
invalid

Function at 0x41438c
Capabilities:
Get number of processors

Disassembly:
call 0x81934390
loope 0x414408
sub dword [eax], eax
add byte [ecx + 0x50], bl
Function at 0x41439c
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
xor eax, 0x71bf
or eax, 0xa77e
jle 0x41434d
add byte [eax], al
add eax, 0x45d6
add eax, 0x3c5d

Function at 0x4143a4
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
xor eax, 0x71bf
or eax, 0xa77e
jle 0x41434d
add byte [eax], al
add eax, 0x45d6
add eax, 0x3c5d

Function at 0x41476b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x414749
push esi
push ebx
add esp, 4
sub esi, 0x7e9
pop esi
push ebx
xor ebx, 0x16ead
call 0x41476b
add byte [ebx + 0x36], cl
inc esp
dec ecx
cmp dword [ebx], esi
dec ecx
cmp dword [ebx + eax*4 - 0x3c], ecx
add al, 0x81
retf

Function at 0x41483c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x3c]
cmp al, 0x89
xchg ebp, eax
add al, 0xea
invalid
invalid
invalid
Function at 0x4163f7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
or ebx, 0x8cda
and ebx, 0x4a9b
pop ebx
push ebx
push eax
add esp, 4
add ebx, 0x5727
add ebx, 0x4a4b
sub ebx, 0x1025b
pop ebx
push edi
push edi
add esp, 4
add edi, 0x7de6
pop edi
mov edx, dword [ebp - 0xcdc]
mov ax, word [edx]
mov word [ebp - 0x104a], ax
mov ecx, dword [ebp - 0xcdc]
add ecx, 2
mov dword [ebp - 0xcdc], ecx
mov dx, word [ebp - 0x104a]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xce0]
mov cx, word [eax]
mov word [ebp - 0x104c], cx
mov edx, dword [ebp - 0xce0]
add edx, 2
mov dword [ebp - 0xce0], edx
mov ax, word [ebp - 0x104c]
mov word [ebp - 0x40], ax
push edx
or edx, 0x4e64
pop edx
push eax
push ecx
add esp, 4
xor eax, 0x71d3
call fcn.0041634d
add byte [esi], bh
push eax
inc edx
inc ebp
dec eax
dec ebx
inc esi
inc ecx
add esp, 4
jmp 0x416356
or eax, 0xfe8d
pop eax
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x41637a
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x168c], edx
jmp 0x4163d4
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x4162a2
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x4162a2
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x4163be
mov dword [ebp - 0x1688], 0xffffffff
jmp 0x4163c8
mov dword [ebp - 0x1688], 1
mov ecx, dword [ebp - 0x1688]
mov dword [ebp - 0x168c], ecx
cmp dword [ebp - 0x168c], 0
jne 0x41641d
push edx
and edx, 0xb235
pop edx
push ecx
push esi
add esp, 4
call 0x4163f7
add byte [esi + 0x38], cl
dec esp
inc edi
inc esi
inc ebx
add esp, 4
pop ecx
push edi
or edi, 0xf925
and edi, 0x2fb5
add edi, 0x13e3c
pop edi
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x2f4], edx
jmp 0x416485
push ecx
call 0x41642a
add byte [esi], bh
dec esp
xor dl, byte [eax + 0x41]
cmp al, 0x83
les eax, [ecx + ebx*2]
push esi
push edx
add esp, 4
xor esi, 0x1d87
call 0x416445
add byte [ebx + 0x39], al
cmp al, 0x4e
aas
cmp eax, 0x8104c483
invalid
Function at 0x416445
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
or ebx, 0x8cda
and ebx, 0x4a9b
pop ebx
push ebx
push eax
add esp, 4
add ebx, 0x5727
add ebx, 0x4a4b
sub ebx, 0x1025b
pop ebx
push edi
push edi
add esp, 4
add edi, 0x7de6
pop edi
mov edx, dword [ebp - 0xcdc]
mov ax, word [edx]
mov word [ebp - 0x104a], ax
mov ecx, dword [ebp - 0xcdc]
add ecx, 2
mov dword [ebp - 0xcdc], ecx
mov dx, word [ebp - 0x104a]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xce0]
mov cx, word [eax]
mov word [ebp - 0x104c], cx
mov edx, dword [ebp - 0xce0]
add edx, 2
mov dword [ebp - 0xce0], edx
mov ax, word [ebp - 0x104c]
mov word [ebp - 0x40], ax
push edx
or edx, 0x4e64
pop edx
push eax
push ecx
add esp, 4
xor eax, 0x71d3
call fcn.0041634d
add byte [esi], bh
push eax
inc edx
inc ebp
dec eax
dec ebx
inc esi
inc ecx
add esp, 4
jmp 0x416356
or eax, 0xfe8d
pop eax
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x41637a
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x168c], edx
jmp 0x4163d4
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x4162a2
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x4162a2
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x4163be
mov dword [ebp - 0x1688], 0xffffffff
jmp 0x4163c8
mov dword [ebp - 0x1688], 1
mov ecx, dword [ebp - 0x1688]
mov dword [ebp - 0x168c], ecx
cmp dword [ebp - 0x168c], 0
jne 0x41641d
push edx
and edx, 0xb235
pop edx
push ecx
push esi
add esp, 4
call 0x4163f7
add byte [esi + 0x38], cl
dec esp
inc edi
inc esi
inc ebx
add esp, 4
pop ecx
push edi
or edi, 0xf925
and edi, 0x2fb5
add edi, 0x13e3c
pop edi
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x2f4], edx
jmp 0x416485
push ecx
call 0x41642a
add byte [esi], bh
dec esp
xor dl, byte [eax + 0x41]
cmp al, 0x83
les eax, [ecx + ebx*2]
push esi
push edx
add esp, 4
xor esi, 0x1d87
call 0x416445
add byte [ebx + 0x39], al
cmp al, 0x4e
aas
cmp eax, 0x8104c483
invalid
Function at 0x4f922c
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 0x4f9232
ret

Function at 0x504584
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x504732
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x50470e
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x50470e
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x50454c]
call fcn.0040c3cc
add esp, 4
lea eax, [ebp - 4]
call fcn.0040da68
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x772878]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0040c1b0
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004074c0
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x4f7af0]
call fcn.00500f18
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x5046ec
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.00502b90
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call fcn.00413e44
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00501ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50470e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504739
lea eax, [ebp - 8]
mov edx, dword [0x50454c]
call fcn.0040c4f0
lea eax, [ebp - 4]
call fcn.0040da68
ret
Function at 0x5bbacc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x5bbb6c
test ebp, ebp
setl byte [esp]
mov eax, edi
xor ecx, ecx
mov edx, 0xb
call fcn.0040a9b0
mov esi, 0xb
mov eax, ebp
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
mov ecx, 0xa
mov eax, ebp
cdq
idiv ecx
mov ebp, eax
mov eax, edi
call fcn.0040a404
add bl, 0x30
mov byte [eax + esi - 1], bl
dec esi
test ebp, ebp
jne 0x5bbaf6
cmp byte [esp], 0
je 0x5bbb3b
mov eax, edi
call fcn.0040a404
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x5bbb78
mov eax, edi
call fcn.0040a404
push eax
mov eax, edi
call fcn.0040a404
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call fcn.004066d8
mov edx, ebx
mov eax, edi
xor ecx, ecx
call fcn.0040a9b0
jmp 0x5bbb78
mov eax, edi
mov edx, 0x5bbb8c
call fcn.0040a2c0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5bc8d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, esi
call fcn.0040a2c0
mov eax, ebx
call fcn.0040a418
mov eax, dword [ebx]
call fcn.0040a340
test eax, eax
jle 0x5bc909
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x5bc8fe
pop esi
pop ebx
ret

Function at 0x5c5bf4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5c5d0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409e3c
mov word [ebp - 0x194], 0
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x5c5ced
xor edx, edx
push ebp
push 0x5c5ce6
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, esi
mov ecx, 0
call fcn.0040aa28
cmp dword [ebp - 4], 0
jne 0x5c5c8a
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call fcn.0040a9b0
push 0x104
mov eax, dword [ebp - 4]
call fcn.0040a8ec
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.0040a8ec
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x5c5cd3
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
push dword [ebp - 0x1a0]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1a8]
mov ecx, 0
call fcn.0040a5c4
mov edx, dword [ebp - 0x1a8]
mov eax, ebx
call fcn.0040ad8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c5ced
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c5d15
lea eax, [ebp - 0x1a8]
call fcn.00409e60
lea eax, [ebp - 4]
call fcn.00409e60
ret