joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb9db6c
Capabilities:
Encode data using base64

Disassembly:
mov esi, dword [edi + 0x3db37e5]
nop
out dx, eax
mov dword [0xaf1cef9e], eax
in eax, 0x95
mov ss, esi
or byte [esi - 0x73e25600], cl
cld
pop esi
cmp eax, ebp
dec byte [edi]
test byte [ecx + 0xf001c3b], bl
mov dh, 0x11
not di
call fcn.00b95d1f
pop ecx
mov ah, 0x65
arpl word [esi - 0x6c], dx
mov dword [ebp + edx*8 + 0x4dacc693], esp
mov eax, 0x4c466b7d
std
loopne 0xb9db42
out 8, eax
bnd ja 0xb9dc0a
outsb dx, byte [esi]
wait
fdivr dword [esi - 0x6c5cfd5c]
fisubr dword [eax + 0x6b]
mov es, edx
scasd eax, dword es:[edi]
dec ebp
ljmp 0xe203
hlt

Function at 0xba39bc
Capabilities:
Encode data using base64

Disassembly:
bswap ebp
xor ebx, ebp
shr word [esp + 1], 0x48
jp 0xd50715
add ebp, 0x5b82a17
xor ebp, 0xc627e52a
rol dword [esp], 0xcd
jb 0xb7c0a6
mov ecx, dword [esi]
mov al, byte [esi + 4]
push 0x4976895
add esi, 6
jmp 0xba0e6b
mov byte [ecx], al
lea esp, [esp + 4]
jmp fcn.00b870f7
add edi, 4
xor ebp, ebx
jmp 0xba9bb1
rol ebp, 2
mov dword [esp], 0x1e9ffd19
jmp 0xb9b2ee
sbb esi, 4
mov dword [esi], ebp
lea esp, [esp + 4]
jmp fcn.00bb9100

Function at 0xba3dbc
Capabilities:
Encode data using base64

Disassembly:
and edx, esp
invalid
call fcn.00ac6fdf
cmp byte [esi + 0x2f], dh
jge 0xba3d7e
xchg ebp, eax
in al, 0xe2
xlatb
adc eax, 0x4a644508
inc ebx
mov dword [eax - 0x2c5d237b], ebx
shr dword [edx], 1
jae 0xba3df8
jge 0xba3dff
in eax, dx
outsb dx, byte [esi]
invalid
nop
xchg esp, eax
push ebx
xor byte [edx - 0x44], ch
mov edx, 0x503a4b82
or byte [ebx + 0x3a], 0x50
push ss
sar bh, 5
dec bx

Function at 0xba5230
Capabilities:
Encode data using base64

Disassembly:
mov dword [esp], 0x810a4c1f
add esi, 8
call fcn.00ba23e1

Function at 0xbba8f4
Capabilities:
Encode data using base64

Disassembly:
or cx, cx
mov cl, byte [esi + ecx - 0x7e4bd6e4]
adc esi, 6
shrd eax, edx, cl
call fcn.00d55e45
call fcn.00b77b68

Function at 0xbbeb23
Capabilities:
Encode data using base64

Disassembly:
dec ecx
dec ebp
add dl, 1
inc ecx
inc ebp
inc ecx
bswap ebp
rol dl, 1
inc ecx
shr ebp, 0x79
add dl, 0x19
inc ecx
xor dl, ch
dec edx
mov dword [esp + ebp*2 - 2], 0x81adca06
ror dl, 1
inc esp
xor ah, dl
dec edx
ror dword [esp + ebp*2 - 2], 0x8b
dec eax
lea edx, [esp + edx + 8]
inc edx
shl byte [esp + ebp + 1], 2
inc si
mov ebp, dword [edx + ebp*2 - 2]
dec ecx
sub eax, 2
inc bp
mov dword [eax], ebp
call fcn.010de3d2

Function at 0xd55df6
Capabilities:
Encode data using base64

Disassembly:
shr esi, 0xc9
mov esi, dword [esp + esi*2 - 0x273634]
mov dword [esp + 0xc], 0x16d62bfa
push dword [esp + 8]
popfd
lea esp, [esp + 0xc]
call fcn.00b85cab
call fcn.00ac005d
inc ecx
pop ebp
pop ebp
inc ecx
pop esp
call fcn.00d6a108

Function at 0xd6603a
Capabilities:
Encode data using xor

Disassembly:
xor dl, al
ror dl, 1
mov dword [esp + ebp*2], ebp
neg ebp
bswap ebp
xor dl, al
dec ebp
shl al, 0x44
sal eax, 0x8b
xor dl, 0x91
xor bl, dl
add dword [esp], 0x3e156382
jo 0xd66051
not eax
mov dword [esp + eax - 0x7fff], edi
push ebx
mov ebp, esi
call fcn.00ba025d
Function at 0x10e1d28
Capabilities:
Encode data using xor

Disassembly:
inc ebp
mov eax, dword [eax]
push 0x1b324c29
call fcn.00b6ded0
dec eax
inc edx
salc
stosd dword es:[edi], eax
in eax, dx
mov eax, 0x6f3a2fea
jno 0xac3bea
cmp bl, bl
xchg esi, eax
mov bh, 0x31
invalid
aas
insb byte es:[edi], dx
das
xor al, 4
sbb dh, byte [ecx]
imul ecx, dword [edi + ebx - 0x3c], 0x10
push 0xffffffffffffffb7
sbb ebx, dword [eax]
push ss
xor bh, byte [ebx - 0x3a08e89a]
pop es
and eax, 0xef8863d9
outsb dx, byte [esi]
cmp al, 0x38
test dword [ecx + 0x62], edi
ror dword [edx + eax*2], cl
add dword [edx - 0x1527d7ee], ebp
jne 0xac3beb
out 0xdd, al
test al, 0x94
retf
jmp 0xac3b80
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x402410
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
push edi
test edx, edx
je 0x40258a
mov edi, dword [ebp + 8]
test edi, edi
je 0x40258a
mov dword [edi + 0xf0], 0xa
mov ecx, dword [edx]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
push ebx
mov ebx, 0xff00ff
and ecx, ebx
or eax, ecx
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, ebx
or eax, ecx
push esi
lea esi, [edi + 4]
mov dword [esi], eax
mov ecx, dword [edx + 8]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, ebx
or eax, ecx
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov edx, eax
rol eax, 8
and eax, ebx
ror edx, 8
and edx, 0xff00ff00
mov ebx, 0xff
or edx, eax
mov eax, edx
mov dword [edi + 0xc], edx
shr eax, 0x10
and eax, ebx
mov ecx, dword [eax*4 + 0x5d1b80]
mov eax, edx
shr eax, 8
xor ecx, 0x1000000
and eax, ebx
and ecx, 0xff000000
mov eax, dword [eax*4 + 0x5d1780]
and eax, 0xff0000
xor ecx, eax
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x5d2380]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esi]
xor ecx, dword [edi]
xor eax, ecx
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x14], eax
xor ecx, eax
mov eax, edx
mov dword [edi + 0x18], ecx
xor eax, ecx
mov dword [edi + 0x1c], eax
mov edi, 0x5d0654
lea esi, [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, ecx
shr eax, 8
and eax, ebx
mov edx, dword [eax*4 + 0x5d1780]
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
and eax, ebx
mov eax, dword [eax*4 + 0x5d1b80]
and eax, 0xff000000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5d1f80]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x5d2380]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi - 4]
xor edx, dword [edi]
add edi, 4
mov dword [esi + 0xc], edx
mov eax, dword [esi]
xor eax, edx
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 4]
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [esi + 8]
xor eax, ecx
mov dword [esi + 0x18], eax
cmp edi, 0x5d0678
jne 0x40250b
pop esi
xor eax, eax
pop ebx
jmp 0x40258d
or eax, 0xffffffff
pop edi
pop ebp
ret
Function at 0x402590
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00402410
pop ecx
test eax, eax
js 0x40276c
push esi
push edi
mov edi, dword [ebx + 0xf0]
shl edi, 2
test edi, edi
jle 0x4025ff
lea edx, [ebx + 8]
lea esi, [ebx + 8]
xor ebx, ebx
lea edx, [edx + edi*4]
mov ecx, dword [esi - 8]
add ebx, 4
mov eax, dword [edx - 8]
sub edi, 4
mov dword [esi - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], ecx
mov ecx, dword [esi]
mov dword [esi], eax
lea esi, [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [edx], ecx
lea edx, [edx - 0x10]
mov ecx, dword [esi - 0xc]
mov dword [esi - 0xc], eax
mov dword [edx + 0x14], ecx
cmp ebx, edi
jl 0x4025c0
mov ebx, dword [ebp + 8]
xor edi, edi
inc edi
cmp dword [ebx + 0xf0], edi
jle 0x402768
lea esi, [ebx + 2]
lea esi, [esi + 0x10]
mov edx, dword [esi - 2]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x5d1f80]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x5d1380]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0b80]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0f80]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0780]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x5d1f80]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x5d1380]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0b80]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0f80]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0780]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x5d1f80]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x5d1380]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0b80]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0f80]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0780]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x5d1f80]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x5d1380]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0b80]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0f80]
movzx eax, dl
movzx eax, byte [eax*4 + 0x5d1f80]
xor ecx, dword [eax*4 + 0x5d0780]
inc edi
mov dword [esi + 0xa], ecx
cmp edi, dword [ebx + 0xf0]
jl 0x402611
pop edi
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x403ade
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x585d15
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5fb490]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 0x10]
lea ecx, [esp + 0x10]
call fcn.00403d74
and dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.00403a7d
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040400f
mov dword [esi], vtable.std::system_error.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408318
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x586599
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x5fb490]
xor eax, esp
mov dword [esp + 0x1b4], eax
push esi
push edi
mov eax, dword [0x5fb490]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0043aea4
push ecx
push ecx
push eax
mov ecx, esi
call fcn.004087d6
mov dword [0x60b0e4], esi
call fcn.0040f226
call fcn.004113eb
push 0x60b2dc
mov byte [0x60b259], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, 0x60b310
mov eax, 0x1010101
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041ca28
sub esp, 0x18
mov edx, 0x693825
mov ecx, esp
call fcn.0041cce4
lea ecx, [esp + 0x28]
call fcn.00407782
add esp, 0x18
and dword [esp + 0x1d0], 0
mov ecx, esi
push dword [eax]
call fcn.0043ce22
or dword [esp + 0x1d0], 0xffffffff
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004090af
sub esp, 0x18
mov edx, 0x3b9cdb
mov ecx, esp
call fcn.0041cce4
call fcn.004077d7
add esp, 0x18
lea ecx, [esp + 0x14]
mov edx, 0x83bd48
call fcn.0041cce4
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.0040400f
mov ecx, esi
mov dword [0x60b23c], 0x407c9a
call fcn.00407920
lea eax, [esp + 0x2c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esi + 0x20]
call fcn.0040fb22
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.0054b0f5
mov esp, ebp
pop ebp
ret
Function at 0x40e715
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xcc
mov eax, 0x58723f
call fcn.0054eeb6
mov ebx, edx
mov dword [ebp - 0x18], ebx
mov edi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.MYDATA
movzx edx, bx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x40e802
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5d057d
call fcn.00403d74
and dword [ebp - 4], esi
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x14]
call fcn.0040495e
mov esi, eax
mov edx, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004049a5
push eax
mov edx, str.FindResource_err
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00404acd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc0]
mov edx, eax
mov dword [esp], str.ierr
call fcn.00404afd
sub esp, 0x14
mov byte [ebp - 4], 4
mov ecx, esp
mov edx, eax
push esi
call fcn.00404b2f
pop ecx
mov byte [ebp - 4], 8
call fcn.00421c1c
add esp, 0x30
lea ecx, [ebp - 0xc0]
xor esi, esi
xor ebx, ebx
inc ebx
push esi
push ebx
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040400f
lea ecx, [ebp - 0x90]
jmp 0x40e8da
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40e82f
test ebx, ebx
je 0x40e82f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi], eax
mov dword [edi + 4], ebx
jmp 0x40e8e6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x5d057d
call fcn.00403d74
mov edx, ebx
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xd8]
call fcn.0040e681
mov esi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x18]
call fcn.004049a5
push eax
mov edx, str.FindResource_err
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
call fcn.00404acd
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
mov edx, eax
mov dword [esp], str.nResSize
call fcn.00404afd
sub esp, 0x14
mov byte [ebp - 4], 0xd
mov ecx, esp
mov edx, eax
push esi
call fcn.00404b2f
pop ecx
mov byte [ebp - 4], 0x11
call fcn.00421c1c
add esp, 0x30
lea ecx, [ebp - 0x48]
xor esi, esi
xor ebx, ebx
inc ebx
push esi
push ebx
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0x78]
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0xa8]
call fcn.0040400f
lea ecx, [ebp - 0xd8]
push esi
push ebx
call fcn.0040400f
mov dword [edi + 4], esi
mov dword [edi], esi
mov eax, edi
call fcn.0054ee65
ret
Function at 0x40eaf6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xcc
mov eax, 0x58732d
call fcn.0054eeb6
mov edi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 2
push 0x85
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, esi
jne 0x40ebdc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x5d057d
call fcn.00403d74
and dword [ebp - 4], esi
lea ecx, [ebp - 0x90]
mov edx, ebx
call fcn.0040495e
mov esi, eax
xor ebx, ebx
lea ecx, [ebp - 0x30]
inc ebx
mov edx, 0x85
mov byte [ebp - 4], bl
call fcn.004049a5
push eax
mov edx, str.FindResource_err
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00404acd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc0]
mov edx, eax
mov dword [esp], str._ierr
call fcn.00404afd
sub esp, 0x14
mov byte [ebp - 4], 4
mov ecx, esp
mov edx, eax
push esi
call fcn.00404b2f
pop ecx
mov byte [ebp - 4], 8
call fcn.00421c1c
add esp, 0x30
lea ecx, [ebp - 0xc0]
xor esi, esi
push esi
push ebx
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040400f
lea ecx, [ebp - 0x90]
jmp 0x40ecb6
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40ec09
test ebx, ebx
je 0x40ec09
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi], eax
mov dword [edi + 4], ebx
jmp 0x40ecc2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5d057d
call fcn.00403d74
mov edx, ebx
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xd8]
call fcn.0040e681
mov esi, eax
mov edx, 0x85
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa8]
call fcn.004049a5
push eax
mov edx, str.FindResource_err
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
call fcn.00404acd
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
mov edx, eax
mov dword [esp], str._nResSize
call fcn.00404afd
sub esp, 0x14
mov byte [ebp - 4], 0xd
mov ecx, esp
mov edx, eax
push esi
call fcn.00404b2f
pop ecx
mov byte [ebp - 4], 0x11
call fcn.00421c1c
add esp, 0x30
lea ecx, [ebp - 0x48]
xor esi, esi
xor ebx, ebx
inc ebx
push esi
push ebx
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0x78]
call fcn.0040400f
push esi
push ebx
lea ecx, [ebp - 0xa8]
call fcn.0040400f
lea ecx, [ebp - 0xd8]
push esi
push ebx
call fcn.0040400f
mov dword [edi + 4], esi
mov dword [edi], esi
mov eax, edi
call fcn.0054ee65
ret

Function at 0x410751
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x130]
sub eax, dword [ecx + 0x134]
cmp eax, 0x28
jl method.AgentAppLink.virtual_0
ret
cmp byte [ecx + 0x61], 0
jne 0x4203a2
cmp byte [ecx + 0x60], 0
je 0x4203a2
mov byte [ecx + 0x60], 0
jmp fcn.004203a3
ret
Function at 0x411463
Capabilities:
Check os version
Get system information on windows

Disassembly:
push 0x14c
mov eax, 0x5877a2
call fcn.0054eeb6
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x5d057d
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x154], ebx
call fcn.00403d74
lea eax, [ebp - 0x34]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x154], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, str.unknown_OperatingSystem.
mov dword [ebp - 0x150], 0x11c
push edi
call fcn.004034ca
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404199
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4115f9
mov eax, dword [ebp - 0x14c]
sub eax, 4
je 0x4115a9
dec eax
je 0x41154f
dec eax
jne 0x4115f9
mov eax, dword [ebp - 0x148]
sub eax, ebx
je 0x411535
dec eax
je 0x41151b
dec eax
jne 0x4115f9
cmp byte [ebp - 0x36], 1
jne 0x4115f9
mov edi, str.Microsoft_Windows_10
jmp 0x4115e9
cmp byte [ebp - 0x36], 1
jne 0x41152b
mov edi, str.Microsoft_Windows_7
jmp 0x4115e9
mov edi, str.Microsoft_Windows_Server_2008_R2
jmp 0x4115e9
cmp byte [ebp - 0x36], 1
jne 0x411545
mov edi, str.Microsoft_Windows_Vista
jmp 0x4115e9
mov edi, str.Microsoft_Windows_Server_2008
jmp 0x4115e9
mov eax, dword [ebp - 0x148]
sub eax, ebx
je 0x4115a2
dec eax
je 0x41159b
dec eax
jne 0x4115f9
cmp byte [ebp - 0x36], 1
jne 0x411577
cmp word [ebp - 0x34], 9
jne 0x411577
mov edi, str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x4115e9
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call edi
test eax, eax
jne 0x41158c
mov edi, str.Microsoft_Windows_Server_2003
jmp 0x4115e9
push 0x59
call edi
test eax, eax
je 0x4115f9
mov edi, str.Microsoft_Windows_Server_2003_R2
jmp 0x4115e9
mov edi, str.Microsoft_Windows_XP
jmp 0x4115e9
mov edi, str.Microsoft_Windows_2000
jmp 0x4115e9
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4115cb
cmp eax, 0xa
je 0x4115c4
cmp eax, 0x5a
jne 0x4115f9
mov edi, str.Microsoft_Windows_Me
jmp 0x4115e9
mov edi, str.Microsoft_Windows_98
jmp 0x4115e9
cmp dword [ebp - 0x140], 2
jne 0x4115db
mov edi, str.Microsoft_Windows_NT_4.0
jmp 0x4115e9
cmp dword [ebp - 0x140], 1
jne 0x4115f9
mov edi, str.Microsoft_Windows_95
push edi
call fcn.004034ca
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404199
mov eax, esi
call fcn.0054ee65
ret
Function at 0x411860
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
mov dword [ebp - 0x18], edx
cmp byte [ecx], 0
je 0x411964
add ecx, 2
push ebx
mov dword [ebp - 0x14], ecx
push edi
or dword [ebp - 8], 0xffffffff
mov edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov bh, byte [ecx - 2]
xor bl, bl
mov dl, byte [ebp - 8]
cmp byte [edi], bh
movzx eax, bl
movzx edx, dl
cmove edx, eax
inc bl
inc edi
cmp bl, 0x40
jb 0x41188e
mov bh, byte [ecx - 1]
xor bl, bl
mov dword [ebp - 0x10], edx
mov edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dl, byte [ebp - 7]
cmp byte [edi], bh
movzx eax, bl
movzx edx, dl
cmove edx, eax
inc bl
inc edi
cmp bl, 0x40
jb 0x4118b1
mov bl, byte [ebp - 6]
mov edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [ebp - 0xc], edx
xor dl, dl
mov dh, byte [ecx]
cmp byte [edi], dh
movzx eax, dl
movzx ebx, bl
cmove ebx, eax
inc dl
inc edi
cmp dl, 0x40
jb 0x4118d3
mov al, byte [ecx + 1]
mov edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dl, byte [ebp - 5]
mov ch, al
mov byte [ebp - 1], 0
mov cl, byte [ebp - 1]
mov byte [ebp - 2], al
cmp byte [edi], ch
movzx eax, cl
movzx edx, dl
cmove edx, eax
inc cl
inc edi
cmp cl, 0x40
jb 0x4118fd
mov al, byte [ebp - 0xc]
shl byte [ebp - 0x10], 2
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
shr al, 4
and al, 3
or al, byte [ebp - 0x10]
mov byte [esi + edi], al
inc esi
cmp byte [ecx], 0x3d
je 0x411962
shl byte [ebp - 0xc], 4
mov al, bl
shr al, 2
and al, 0xf
or al, byte [ebp - 0xc]
mov byte [esi + edi], al
inc esi
cmp byte [ecx + 1], 0x3d
je 0x411962
and dl, 0x3f
shl bl, 6
or dl, bl
add ecx, 4
mov byte [esi + edi], dl
inc esi
mov dword [ebp - 0x14], ecx
cmp byte [ecx - 2], 0
jne 0x41187d
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x415119
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415128
xor al, al
ret
shr al, 4
and al, 1
ret