joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f787
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42f79d
xor al, al
jmp 0x42f80a
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [edi], ebx
test ebx, ebx
je 0x42f7d2
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42f7d6
xor al, al
jmp 0x42f808
mov ecx, dword [ebp + 8]
push esi
push dword [ecx]
push eax
call fcn.00432bd0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
push ebx
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
pop esi
pop ebx
leave
ret 4

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

Disassembly:
cmp dword [0x456fdc], 0
push esi
jne 0x42ffc7
call fcn.0042feea
test eax, eax
je 0x43000a
mov eax, dword [0x456fdc]
cmp eax, 1
jne 0x42ffe8
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43000a
pop esi
ret
push eax
call dword [0x456fe4]
test eax, eax
jne 0x430052
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43000e
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x456fdc]
call dword [0x456fe4]
mov edi, eax
test edi, edi
je 0x430033
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43004f
mov edi, esi
add esi, 0xff0
push edi
push dword [0x456fdc]
call dword [0x456fe0]
add edi, 0x10
cmp edi, esi
jb 0x43003b
mov eax, edi
pop edi
pop esi
ret
jmp 0x42ffb4

Function at 0x43029b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x455090]
jne 0x4302a5
repz ret
jmp fcn.0043484c
Function at 0x43edcd
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.004350b7
and dword [ebp - 4], 0
cmp dword [0x457aac], 0
mov ebx, eax
jne 0x43ee7e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ef2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43ef2f
push eax
call fcn.00435045
mov dword [esp], 0x4480f0
push edi
mov dword [0x457aac], eax
call esi
push eax
call fcn.00435045
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x457ab0], eax
call esi
push eax
call fcn.00435045
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x457ab4], eax
call esi
push eax
call fcn.00435045
pop ecx
mov dword [0x457abc], eax
test eax, eax
je 0x43ee7e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00435045
pop ecx
mov dword [0x457ab8], eax
mov eax, dword [0x457ab8]
cmp eax, ebx
je 0x43eed6
cmp dword [0x457abc], ebx
je 0x43eed6
push eax
call fcn.004350c0
push dword [0x457abc]
mov esi, eax
call fcn.004350c0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43eed6
test edi, edi
je 0x43eed6
call esi
test eax, eax
je 0x43eecd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43eecd
test byte [ebp - 0xc], 1
jne 0x43eed6
or dword [ebp + 0x10], 0x200000
jmp 0x43ef0f
mov eax, dword [0x457ab0]
cmp eax, ebx
je 0x43ef0f
push eax
call fcn.004350c0
pop ecx
test eax, eax
je 0x43ef0f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43ef0f
mov eax, dword [0x457ab4]
cmp eax, ebx
je 0x43ef0f
push eax
call fcn.004350c0
pop ecx
test eax, eax
je 0x43ef0f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x457aac]
call fcn.004350c0
pop ecx
test eax, eax
je 0x43ef2f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ef31
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414de9
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], esi
add ecx, 4
sub edx, 1
add eax, eax
cmp ecx, edi
jne fcn.00414de9
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5a
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdd
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x44
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb1
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4c
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x64
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x73
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc3
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x38
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xe5
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe6
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf5
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4057b8
Capabilities:
Parse pe header

Disassembly:
jmp 0x44097f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4409be
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4409be
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4409be
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4409be
cmp dword [ecx + 0x74], 0xe
jbe 0x4409be
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4912c3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d7f
mov eax, dword [0x504c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405e57
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x491305
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x491461
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405fab
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5088c0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0040325b
mov ecx, dword [esi*4 + 0x5088c0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x49145a
cmp eax, dword [edi + ecx + 0x24]
jne 0x49145a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49145a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040325b
add esp, 0x14
test edx, edx
jl 0x49145a
jg 0x4913d0
test eax, eax
jb 0x49145a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x49145a
jl 0x4913ea
cmp dword [ebp - 0x1008], eax
ja 0x49145a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x491408
test ebx, ebx
je 0x491441
cmp ecx, edi
jae 0x491441
mov al, byte [ecx]
cmp al, 0xd
jne 0x491422
lea eax, [edi - 1]
cmp ecx, eax
jae 0x49142e
cmp byte [ecx + 1], 0xa
jne 0x49142e
inc ecx
jmp 0x49142e
movzx eax, al
movsx eax, byte [eax + 0x504f68]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x491408
cmp edx, ebx
jne 0x491408
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x49145f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403044
leave
ret
Function at 0x491ba0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5088c0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x491be0
cmp byte [ebx], 0xa
jne 0x491be0
or byte [eax + edi + 0x28], 4
jmp 0x491be5
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x491ce3
mov al, byte [edx]
cmp al, 0x1a
je 0x491cc5
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x491c14
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x491c39
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x491c43
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x491bf6
jmp 0x491ce3
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x491cc0
cmp dword [ebp - 0xc], 0
je 0x491cc0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5088c0]
test byte [eax + edi + 0x28], 0x48
je 0x491c9a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x491c85
mov byte [esi], dl
jmp 0x491c96
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5088c0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x491ce3
cmp byte [ebp - 1], 0xa
jne 0x491ca9
cmp esi, ebx
jne 0x491ca9
mov byte [esi], 0xa
jmp 0x491ce2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x491ce3
mov byte [esi], 0xd
jmp 0x491ce2
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5088c0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x491cdf
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x491ce3
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x491d3f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5088c0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x491d82
cmp word [esi], dx
jne 0x491d82
or byte [edi + eax + 0x28], 4
jmp 0x491d87
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x491eda
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x491eba
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x491dc9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x491dff
cmp eax, edx
jae 0x491e0b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x491da1
jmp 0x491eda
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x491eb6
cmp dword [ebp - 0x14], 0
je 0x491eb6
mov eax, dword [ebx*4 + 0x5088c0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x491e8e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x491e57
mov word [esi], cx
jmp 0x491e8a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5088c0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5088c0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5088c0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x491eda
pop ebx
cmp word [ebp - 4], bx
jne 0x491e9f
cmp esi, dword [ebp + 0xc]
jne 0x491e9f
mov word [esi], bx
jmp 0x491ed7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp word [ebp - 4], bx
je 0x491eda
push 0xd
jmp 0x491ed3
mov ecx, dword [ebx*4 + 0x5088c0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x491ed1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x491eda
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x499611
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x504c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49965c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499ad3
test al, al
jne 0x499656
sub edx, 2
cmp edx, edi
jne 0x49963c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49967e
lea eax, [edi + 2]
cmp edx, eax
je 0x49967e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049920a
add esp, 0x10
jmp 0x499778
push esi
lea ecx, [ebp - 0x255]
call fcn.00499ad3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4996c1
push dword [ebp - 0x25c]
jmp 0x49966e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4996fe
cmp word [ebp - 0x226], 0
je 0x49971f
cmp word [ebp - 0x226], ax
jne 0x4996fe
cmp word [ebp - 0x224], 0
je 0x49971f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049920a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49976b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4996d8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x499753
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x499778
push 0x498bf2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405542
add esp, 0x10
jmp 0x499748
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403044
leave
ret
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x401cf9
Capabilities:
Encode data using xor

Disassembly:
inc eax
pop esi
xor dword [esi + 0xe], 0x5c375f27
sub esi, 0xfffffffc
loop 0x401cfc
sahf
push ebx
xor eax, 0xc8b7275c
mov dword [0x2f6a0d8], eax
pop ss
adc edi, dword [ecx]
pop ebx
lds esp, [ebp + 0x5b25a48f]
xor dh, byte [edx - 0x563e5721]
in eax, dx
or eax, 0x48261e0a
les esi, [esi + ecx*4 + 0x65912800]
wait
cli
xchg edi, eax
inc ecx
insd dword es:[edi], dx
aad 0x14
sbb al, 0xb8
test al, 0x17
xchg esi, eax
stosd dword es:[edi], eax
add eax, 0xa6f4f5f
jge 0x401d57
push esp
movsb byte es:[edi], byte [esi]
and ebx, ebp
salc
pop ds
mov esi, 0xac8d0d88
inc ebp
insb byte es:[edi], dx
lodsb al, byte [esi]
fisub word [eax - 3]
pop esp
jmp 0xc8931d40

Function at 0x4056f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
cmp ch, ah
push esi
mov esi, dword [ebp + 8]
mov word [esi], es
test eax, eax
je 0x405711
mov eax, dword [esi]
mov dword [esi], ecx
mov edi, dword [edi + 0x50ff5204]
or dh, dh
mov al, byte [0x85042583]
sal byte [ebp - 0x14], 0x5e
pop esi
pop ebp
pop esi
push ds
pushal
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor esp, dword [ebp - 0x6f6f6f3d]
nop
nop
nop
mov eax, 0x90909090
nop
nop
push ebp
mov ebp, esp
or eax, 0x8bcd08ec
pop ebp
or byte [edi + 0x33], dl
inc dword [ebp - 0x67bf025]
add byte [ebx], bh
rcl dword [esi - 0x56]
mov eax, dword [esi]
mov eax, dword [esi]
push 1
push 0
dec esp
add byte [eax - 0x18], dl
pop edx
dec ebp
add byte [ebp + 0x111c73d], ch
add byte [eax + ebx*4 + 0x2f], dh
inc esi
add al, 0
add byte [eax], al
add byte [esi + 0x76], ah
dec edx
test esi, esi
jne 0x405748
mov esi, ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x405786
mov ecx, dword [esi]
mov ebp, 1
push 9
push ecx
mov dword [esi + 0x73], edi
call fcn.0040a3d0
fdiv qword [esi + 8]
test esi, esi
jne 0x40576d
test edi, edi
adc eax, 0xb71bbb75
fcom qword [0x75895356]
mov bh, 0xdc
adc eax, 0x75895356
pop ebx
call fcn.00406d60
salc
jne 0x405793
xor edi, edi
cmp dword [esi + 4], 2
jne 0x4057ce
mov edx, dword [esi]
push 1
push 0
push 0xffffffffffffffc2
push edx
call 0xae40a4b0
cmp eax, 0x2701111f
jne 0x4057c7
mov edi, 0x91
jmp 0x4057ce
mov dword [esi + 4], 0xea0096
mov ebx, dword [ecx + 0xe]
test esi, esi
jne 0x4057a5
test edi, edi
je 0x405803
mov esi, dword [ebp + 8]
jne 0x4057e4
test esi, esi
jg 0x4057da
jl 0x4057ea
lahf
sti
rol dh, 0x2d
add bl, ch
sbb dword [ebx + edx*2 - 0x7c70b818], ebp
add byte [edx], ch
lodsb al, byte [esi]
push ebx
call 0xc3e738
push 0
push 2
push esi
push ebx
call 0xe445b540
mov edi, esp
in al, 0x8b
cld
cli
push ebp
cld
test byte [edi], ah
mov ebx, dword [ebp + 8]
jno 0x4057fb
cmp dword [esi + 4], 2
xor al, 0xa
mov eax, dword [ecx]
push 9
push eax
call fcn.0040a3d0
mov esi, dword [esi + 8]
test esi, edi
jne 0x405808
pop edx
mov edi, dword [ebx]
mov edi, dword [ebx]
add al, 0x85
mov byte [0xe8b0e74], al
push 0
push 0x34
push 0xffffffffffffffaa
push ecx
push es
jp 0x405880
push esp
add byte [ebx - 0x97af710], cl
jne 0x405821
pop esi
pop edi
pop ebx
mov esp, ebp
dec eax
mov cl, 0x90
nop
adc dword [eax - 0x6f6f6f9d], 0xffffff90
nop
cmp al, 0x90
mov ebx, 0x3e1b45c
rep movsb byte es:[edi], byte [esi]
pop edi