joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10049080
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073fc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100491e4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100491c6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0x2754
mov dword [ebp - 0x3c], 0x10008df0
cmp dword [ebp - 0x20], 0x299e
jle 0x10049145
and dword [ebp - 0x18], 0
jmp 0x10049104
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x43ba
jge 0x10049145
and dword [ebp - 0x1c], 0
jmp 0x1004911a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x346a
jge 0x10049143
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov ecx, 0x1061b298
call fcn.10020142
jmp 0x10049113
jmp 0x100490fd
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10049167
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x10049184
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.10020420
mov dword [eax], 0x834504cd
jmp 0x1004915c
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x271a
jge 0x1004919e
mov edx, dword [ebp - 0x3c]
mov ecx, 0x1061b298
call fcn.10022fc2
jmp 0x100491ba
or dword [ebp - 4], 0xffffffff
jmp 0x100491c4
jmp 0x100491e2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100491e2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x100491fc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
push 0x9e1
push 0
push dword [ebp - 0x4c]
call fcn.100460e6
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10049970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10049a34
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100499b4
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100499b2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10049a32
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [eax], 7
jmp 0x100499e2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x15
jg 0x10049a32
mov dword [ebp - 0x28], 0xe446df37
mov dword [ebp - 0x38], 0x4e6d4f28
mov dword [ebp - 0x34], 0x4e6d4f28
mov dword [ebp - 0x30], 0x4e6d4f28
mov dword [ebp - 0x2c], 0x4e6d4f28
push 0x25f1
push 1
push 1
push dword [ebp - 0x20]
push 0x16df
push 0x2929
push 0x17b1
call fcn.10046d31
add esp, 0x1c
jmp 0x100499d7
jmp 0x10049a5b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push 0
push 0x78f4
push 0x522e
push dword [ebp - 0x24]
push 0x6e9a
push 0x1ac1
call fcn.10047e14
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x1006e345
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10078748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005ea78
mov dword [ebp - 0x14], eax
cmp dword [0x1061c3b8], esi
jne 0x1006e438
push 0x800
push esi
push 0x100075c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006e3c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006e518
push esi
push esi
push 0x100075c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006e518
push 0x100075e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006e518
push eax
call ebx
push 0x100075ec
push edi
mov dword [0x1061c3b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075fc
push edi
mov dword [0x1061c3bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007610
push edi
mov dword [0x1061c3c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061c3c8], eax
test eax, eax
je 0x1006e435
push 0x1000762c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061c3c4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006e45d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006e450
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006e472
push 4
pop eax
jmp 0x1006e51a
cmp dword [ebp - 0x14], esi
je 0x1006e472
push dword [0x1061c3b8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006e457
mov eax, dword [0x1061c3c4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006e4d0
cmp dword [0x1061c3c8], edi
je 0x1006e4d0
push eax
call ebx
push dword [0x1061c3c8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006e4d0
test eax, eax
je 0x1006e4d0
call ecx
test eax, eax
je 0x1006e4c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006e4c5
test byte [ebp - 8], 1
jne 0x1006e4d0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006e500
mov eax, dword [0x1061c3bc]
cmp eax, edi
je 0x1006e4fd
push eax
call ebx
test eax, eax
je 0x1006e4fd
call eax
mov esi, eax
test esi, esi
je 0x1006e4fd
mov eax, dword [0x1061c3c0]
cmp eax, edi
je 0x1006e4fd
push eax
call ebx
test eax, eax
je 0x1006e4fd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1061c3b8]
call ebx
test eax, eax
je 0x1006e518
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006e51a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005bc55
mov esp, ebp
pop ebp
ret
Function at 0x404770
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4047d6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403b14
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004029a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4047c0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4047dd
lea eax, [ebp - 0x10]
call fcn.004038b0
ret

Function at 0x4065cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x406605
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039a0
jmp 0x40660e
mov eax, ebx
mov edx, esi
call fcn.00403904
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406618
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40663a
movzx eax, byte [esp]
jmp 0x40663c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40857c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, 0x40852c
call fcn.004049c4
xor eax, eax
push ebp
push 0x408727
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x40a7a4
xor eax, eax
call fcn.004027f8
lea edx, [ebp - 0x14]
mov eax, dword [0x40a7a4]
call fcn.004059d8
mov edx, dword [ebp - 0x14]
mov eax, 0x40a7a8
call fcn.00403904
xor eax, eax
mov dword [0x40a7fc], eax
call fcn.00402798
test eax, eax
jle 0x40862d
call fcn.00402798
mov esi, eax
test esi, esi
jle 0x40862d
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004027f8
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov edx, 1
call fcn.00408170
mov eax, dword [ebp - 0x18]
mov edx, 0x408740
call fcn.00403c8c
jne 0x408622
mov eax, ebx
call fcn.0040829c
jmp 0x408629
mov eax, ebx
call fcn.004083c8
inc ebx
dec esi
jne 0x4085f0
cmp dword [0x40a7fc], 0
jne 0x408645
mov eax, 0x40a7ac
mov edx, 0x40874c
call fcn.00403904
mov eax, 0x40a7b8
xor ecx, ecx
mov edx, 0x3c
call fcn.00402904
mov dword [0x40a7b8], 0x3c
mov dword [0x40a7bc], 0x440
xor eax, eax
mov dword [0x40a7c0], eax
mov eax, 0x408758
mov dword [0x40a7c4], eax
lea eax, [ebp - 0x20]
mov ecx, dword [0x40a7ac]
mov edx, dword [0x40a7a8]
call fcn.00403b8c
mov eax, dword [ebp - 0x20]
call fcn.00403d30
mov dword [0x40a7c8], eax
xor eax, eax
mov dword [0x40a7d4], eax
push 0x40a7b8
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x4086cb
push 0xffffffffffffffff
mov eax, dword [0x40a7f0]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [0x40a7f0]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x40870c
cmp dword [0x40a7f4], 0
jne 0x40870c
push 0x408768
push dword [0x40a7ac]
push 0x40879c
mov eax, 0x40a7b4
mov edx, 3
call fcn.00403c00
push 0
push 0x4087a0
mov eax, dword [0x40a7b4]
call fcn.00403d30
push eax
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40872e
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004038d4
ret
Function at 0x401060
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x845368], 0x594
mov dword [ebp - 8], eax
jne 0x40108c
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x4260c8]
mov edx, dword [0x4260cc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
call fcn.00401050
mov eax, dword [0x4260d0]
mov ecx, dword [0x4260d4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov ebx, 0x20
jmp 0x4010d0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x845368]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401156
push edi
lea edx, [ebp - 0x470]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x30
lea ecx, [ebp - 0x6c]
push edi
push ecx
mov dword [ebp - 0x70], edi
call fcn.00403250
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
xor ecx, ecx
xor edx, edx
lea eax, [ebp - 0x3c]
push eax
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], dx
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push str.sulabuwaxase
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x845368]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401170
mov dword [0x844904], 0xedeb2e40
jmp 0x401190
cmp ecx, 0x3eb
jne 0x401190
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x8442b4], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x14], eax
mov dword [0x844900], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401040
sub ebx, 1
jne 0x4010d0
cmp dword [0x845368], 0xa6d
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
jne 0x401233
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401240
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x845368]
sub esp, 0x48
shr eax, 3
push esi
mov esi, dword [0x8442b8]
test eax, eax
jbe 0x4012ad
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov dword [ebp - 4], eax
lea ebx, [ebx]
cmp dword [0x845368], 0x959
jne 0x40129c
push 0
push 0
call edi
lea eax, [ebp - 0x48]
push eax
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call fcn.00401060
add esi, 8
sub dword [ebp - 4], 1
jne 0x401270
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401670
Capabilities:
Get system information on windows
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x845368], 0x400
push esi
push edi
jne 0x4016b5
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.giyefurefotonigukefezofokalapo
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
lea eax, [ebp - 0x24]
call fcn.00401780
lea esi, [ebp - 0x24]
call fcn.004017a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af2a3
jle 0x4016d3
cmp ebx, 0x78abdb45
jne 0x4016dc
inc esi
cmp esi, 0x1c5d
jl 0x4016c1
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x40170d
inc esi
cmp esi, 0x4f6a4
jl 0x4016f0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40172c
cmp ebx, 0x785074d5
jne 0x401735
inc esi
cmp esi, 0x11915
jl 0x401718
mov ecx, dword [0x42630c]
mov dword [0x845368], ecx
call fcn.004013b0
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
cmp dword [0x845368], 0x51f
jne 0x401764
lea edx, [ebp - 0x2c]
push edx
call esi
sub edi, 1
jne 0x401752
mov eax, dword [0x8442b8]
mov dword [0x8448fc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4036c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425248]
jne 0x4036ca
repz ret
jmp fcn.00407a11
Function at 0x406840
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
in al, dx
adc byte [edx], al
add byte [eax], al
push ebx
mov edi, dword [esi + 8]
push esi
push edi
mov eax, dword [ebx + 4]
cmp eax, 0xffffffc0
pminsw mm2, qword [ecx + eax + 0x4b8bea00]
sbb byte [ebp - 0x767bbf37], al
add dword [esi + 0xc75ea93], ebp
mov esi, ebx
popal
lea ebx, [edi + 0x500b5128]
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
seto byte [edi]
dec esi
xchg esi, eax
add byte [ebx + 0x4c1d835], cl
add bh, bh
and al, byte [edx + 0x248437c0]
add byte [edx + 0x5d6ff00], cl
cmp ah, 0xa
add byte [0xbf36c], bh
jne 0x40a7f4
mov edi, dword [ebx + 0x20]
mov ecx, dword [edi + 0x24]
mov ebp, dword [esi + 0xb]
invalid
mov dword [edx], ecx
mov eax, 0x2b
jmp 0x46a916
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x47cc5f21
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e1d0
mov ecx, 0x3fea64d0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5b9c4cfd
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x45e45807
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x466b67
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add esi, dword [edx + 0x18]
pop ecx
add ecx, 1
lodsd eax, dword [esi]
cmp dword [edx + 0x10], ecx
lea edi, [eax + ebx + 4]
je 0x466aa7
mov ebx, ebx
and al, 0xff
xor eax, eax
imul eax, eax, 0xf
push eax
movzx eax, byte [edi - 4]
neg eax
add dword [esp], eax
sub edi, 0xfffffff1
lea edi, [edi - 0xe]
pop eax
cmp byte [edi - 4], 0xa
ja 0x466a37
add al, 0
mov esi, esi
jmp 0x466bc3
ret
push 0xffffffffffffffff
lea edx, [ebx + 8]
push dword [edx + 0x34]
lea esi, [edx - 8]
add dword [esp], ebx
pop ecx
add edx, dword [ecx + 0x78]
jmp 0x466a20
jmp eax
mov eax, 0x35f352c0
xor dword [esp - 4], eax
mov eax, dword [esp + 4]
sub dword [esp - 4], eax
jne 0x466a24
add edx, 0x1b
push dword [edx - 7]
pop edi
add ecx, ecx
add edi, ebx
add ecx, ebx
mov esi, dword [edx + 1]
mov ax, word [ecx + esi]
cwde
push dword [edi + eax*4]
add dword [esp], ebx
pop esi
mov eax, dword [esp]
add esp, 8
jmp 0x466b7e

Function at 0x493c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov esi, dword [edx + 1]
add ecx, ebx
mov ax, word [ecx + esi]
cwde
push dword [edi + eax*4]
add dword [esp], ebx
pop esi
mov eax, dword [esp]
add esp, 8
jmp eax
push 0xffffffffffffffff
lea edx, [ebx + 8]
push dword [edx + 0x34]
lea esi, [edx - 8]
add dword [esp], ebx
pop ecx
add edx, dword [ecx + 0x78]
add esi, dword [edx + 0x18]
pop ecx
add ecx, 1
lodsd eax, dword [esi]
cmp dword [edx + 0x10], ecx
lea edi, [eax + ebx + 4]
je 0x493cfd
and al, 0xff
cmc
cld
xor eax, eax
imul eax, eax, 0xf
push eax
movzx eax, byte [edi - 4]
neg eax
lea edi, [edi - 0xe]
sub edi, 0xfffffff1
add dword [esp], eax
pop eax
cmp byte [edi - 4], 0xa
ja 0x493c89
and al, 0xff
mov esp, esp
mov eax, 0x76da4e65
xor dword [esp - 4], eax
mov eax, dword [esp + 4]
sub dword [esp - 4], eax
jne 0x493c76
cld
nop
mov ecx, ecx
add edx, 0x1b
push dword [edx - 7]
pop edi
add edi, ebx
add ecx, ecx
jmp 0x493c15
ret