joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002fb40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100403ea
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.10006610
push 1
mov ecx, str..Xor_PlusSplashXor_hack.bmp
lea esi, [ebp - 0x2d8]
mov dword [ebp - 4], 0
call fcn.100075e0
push 0
test eax, eax
jne 0x1002fbb1
mov ecx, dword [ebp - 0x2e8]
mov ecx, dword [ecx + 4]
push 2
lea ecx, [ebp + ecx - 0x2e8]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x1002fbc9
mov edx, dword [ebp - 0x2e8]
mov ecx, dword [edx + 4]
push 0
lea ecx, [ebp + ecx - 0x2e8]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov eax, dword [ebp - 0x2e8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x2dc]
lea eax, [ebp + eax - 0x2e8]
and cl, 6
movsx edx, cl
neg edx
sbb edx, edx
not edx
test eax, edx
je 0x1002fcad
push 0x10177394
lea eax, [ebp - 0x110]
push str.Unauthorized_client_language:__s
push eax
mov edx, 0x100
call fcn.10030440
add esp, 0xc
push str..Xor_PlusSplashXor_hack.bmp
lea eax, [ebp - 0x230]
call fcn.10030170
mov ecx, dword [ebp - 0x128]
add ecx, 0xe1
push 0xf
shr ecx, 1
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x230]
call fcn.1002fea0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x1002fc81
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [ebp - 0x12c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.10009890
mov eax, dword [ebp - 0x11c]
mov dword [ebp - method.CSplash.virtual_0], vtable.CSplash.0
test eax, eax
je 0x1002fca1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x11c], 0
jmp 0x1002fcc7
push 0
push 0
push 0
push 0x1002fb20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.10009890
mov edx, dword [ebp - 0x2e8]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x234], ecx
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 4], 1
call fcn.10006830
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ecx + 4]
mov eax, dword [sym.imp.MSVCP100.dll_const_std::basic_istream_char__struct_std::char_traits_char__::vftable]
lea ecx, [ebp - 0x280]
mov dword [ebp + edx - 0x2e8], eax
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x1002fd40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x1005b034]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
sub esp, 0x1c
mov edi, esp
lea eax, [esp + 0x14c]
push str.HardwareID:__s
mov ecx, 7
mov esi, 0x101774f0
push eax
mov edx, 0x100
rep movsd dword es:[edi], dword [esi]
call fcn.10030440
add esp, 0x24
push str..Xor_PlusSplashXor_Ban.bmp
lea eax, [esp + 0x14]
call fcn.10030170
mov eax, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
test eax, eax
je 0x1002fdd1
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
mov dword [esp + 0x118], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x128]
push eax
push ecx
call dword [sym.imp.USER32.dll_UnregisterClassA]
lea eax, [esp + 0x10]
call fcn.10030260
cmp dword [esp + 0x114], 0
je 0x1002fe02
add esi, 0xe1
shr esi, 1
push esi
mov edx, 0xe
lea ecx, [esp + 0x134]
lea ebx, [esp + 0x14]
call fcn.1002ff10
push 1
push str.HardwareID.txt
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x124]
mov dword [esp + 0x10], vtable.CSplash.0
test eax, eax
je 0x1002fe34
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret

Function at 0x100305a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x100
push 0
push 0x101779d0
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
xor eax, eax
sub ecx, 0x101779d0
mov dl, byte [ecx + eax + 0x101779d0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x101779d0], dl
inc eax
cmp eax, 0x100
jl 0x100305c2
mov eax, 0x101779d0
pop ebp
ret
Function at 0x10030620
Capabilities:
Encode data using xor
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
cmp ebx, eax
je 0x100307e5
cmp dword [ebp + 0xc], eax
je 0x100307e5
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0x48]
push 0x1c
lea ecx, [ebp - 0x2c]
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
jne 0x100307bf
cmp esi, dword [ebp - 0x44]
ja 0x100307bf
mov eax, dword [ebp - 0x18]
test al, 0xee
je 0x1003079c
test eax, 0x101
jne 0x1003079c
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x100307a8
lea edx, [ebp - 8]
push edx
push edi
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp eax, 1
jne 0x1003078f
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 8], ecx
jne 0x1003078f
xor eax, eax
test ecx, ecx
je 0x10030705
mov ecx, dword [ebp - 4]
xor byte [eax + ecx], 0x12
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, ecx
jb 0x100306f6
xor eax, eax
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x1003078f
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x10030787
add eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + edi*4]
mov esi, dword [ebp - 0x10]
mov ecx, edx
cmp eax, 4
jb 0x10030746
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x10030772
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x10030732
test eax, eax
je 0x100307cf
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x10030772
cmp eax, 1
jbe 0x100307cf
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x10030772
cmp eax, 2
jbe 0x100307cf
mov cl, byte [ecx + 2]
cmp cl, byte [esi + 2]
je 0x100307cf
inc edi
add edx, 0xc8
cmp edi, dword [ebp + 0x10]
jb 0x10030722
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, ecx
jb 0x10030712
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100307bf
mov esi, dword [ebp - 0x2c]
add esi, eax
push 0x1c
lea edx, [ebp - 0x2c]
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
je 0x10030696
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030df0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040a7d
mov eax, dword fs:[0]
push eax
mov eax, 0x1240
call fcn.1003f530
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
push eax
push ebx
mov dword [ebp - 4], ebx
push 0x410
mov dword [ebp - 0x248], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x238], esi
cmp esi, ebx
je 0x10030f66
lea eax, [ebp - 0x244]
push eax
push 0x1000
lea ecx, [ebp - 0x124c]
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x10030f5f
mov esi, dword [ebp - 0x244]
shr esi, 2
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], ebx
cmp esi, ebx
jbe 0x10030f59
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp + eax*4 - 0x124c]
push 0x104
lea edx, [ebp - 0x218]
push edx
mov edx, dword [ebp - 0x238]
push ecx
push edx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x10030f44
xor eax, eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10030ef3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.1001a050
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.10039960
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], 8
jb 0x10030f3e
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
cmp eax, esi
jb 0x10030ea6
mov esi, dword [ebp - 0x238]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x100310d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040b3b
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.1003f530
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1030]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x10031208
mov eax, dword [ebp - 0x1030]
shr eax, 2
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x102c], eax
mov dword [ebp - 0x1014], edi
cmp eax, ebx
jbe 0x10031208
jmp 0x10031150
mov eax, dword [ebp + edi*4 - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1018], eax
call fcn.10030df0
add esp, 4
lea edx, [ebp - 0x1028]
push edx
push ecx
lea ecx, [ebp - 0x1018]
mov dword [ebp - 4], ebx
call fcn.10039660
add esp, 4
call fcn.100397e0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1028]
cmp esi, ebx
je 0x100311e3
mov edi, dword [ebp - 0x1024]
cmp esi, edi
je 0x100311d3
cmp dword [esi + 0x14], 8
jb 0x100311b7
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
add esi, 0x1c
cmp esi, edi
jne 0x100311a5
mov esi, dword [ebp - 0x1028]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov edi, dword [ebp - 0x1014]
add esp, 4
inc edi
mov dword [ebp - 0x1028], ebx
mov dword [ebp - 0x1024], ebx
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x1014], edi
cmp edi, dword [ebp - 0x102c]
jb 0x10031150
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x100312b0
Capabilities:
Enumerate processes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x23c], esi
cmp esi, 0xffffffff
je 0x1003139c
lea eax, [ebp - 0x238]
push eax
push esi
mov dword [ebp - 0x238], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10031395
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, 0x10031230
test ecx, ecx
je 0x1003137f
mov edx, dword [ebp - 0x230]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10031378
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x10031378
push 0
push 0
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x110]
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x10031372
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x23c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x238]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10031307
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x10036f40
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043070
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
xor ebx, ebx
push 1
push ebx
push ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], ebx
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsA]
test eax, eax
je 0x100370dc
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x50], ebx
jbe 0x10037014
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x68], ebx
mov edx, dword [esi + ecx]
push 8
push edx
push ebx
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationA]
test eax, eax
je 0x10037005
mov eax, dword [ebp - 0x54]
mov edi, dword [eax]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x64], ebx
mov ecx, dword [esi + eax]
push 5
push ecx
push ebx
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationA]
test eax, eax
je 0x10036ffb
cmp edi, 1
jne 0x10036ff1
inc dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, dword [ebp - 0x60]
inc eax
add esi, 0xc
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x50]
jb 0x10036fa0
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
cmp dword [ebp - 0x58], 1
jle 0x100370dc
call fcn.10014f00
mov edi, 0x2c
mov eax, str.fg7G93tDwHtyaehLEucsh5TlGySP6Y3Xe_n6UVzUSh8
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10002d20
mov edx, esi
push edx
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], ebx
call fcn.10002580
add esp, 8
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x1003707b
mov ecx, dword [ebp - 0x2c]
push ecx
call edi
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [0x101768d4], 0x1004e570
cmp dword [ebp - 0x34], esi
jb 0x100370a2
mov edx, dword [ebp - 0x48]
mov dword [0x101768d0], edx
jmp 0x100370aa
lea eax, [ebp - 0x48]
mov dword [0x101768d0], eax
call fcn.10010300
mov eax, 0x1004df8f
push 0xbb8
mov dword [0x101768d0], eax
mov dword [0x101768d4], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10009890
cmp dword [ebp - 0x34], esi
jb 0x100370dc
mov ecx, dword [ebp - 0x48]
push ecx
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x1003c640
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003c65d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1003c68f
call fcn.10014f00
mov dword [0x101768d0], 0x10050994
mov dword [0x101768d4], 0x1004e570
call fcn.10010300
call fcn.10009890
push 0xa763ffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
cmp esi, 1
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003d1a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10043ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, 0x13f4
call fcn.1003f530
mov eax, dword [0x1005b034]
xor eax, esp
mov dword [esp + 0x13f0], eax
push ebx
push esi
push edi
mov eax, dword [0x1005b034]
xor eax, esp
push eax
lea eax, [esp + 0x1438]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov eax, 0x1004df8f
lea esi, [esp + 0x30]
mov dword [esp + 0x4c], 0x1003b220
mov dword [esp + 0x50], 0x1003b220
mov dword [esp + 0x54], 0x1003b220
mov dword [esp + 0x58], 0x1003b220
mov dword [esp + 0x5c], 0x1003b220
mov dword [esp + 0x60], 0x1003b220
mov dword [esp + 0x64], 0x1003b220
mov dword [esp + 0x68], 0x1003b220
mov dword [esp + 0x6c], 0x1003b220
mov dword [esp + 0x70], 0x1003b220
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10002d20
mov dword [esp + 0x1440], ebx
mov esi, dword [sym.imp.MSVCP100.dll_unsigned_int___cdecl_std::tr1::_Random_device_void_]
call esi
or edi, 0xffffffff
mov dword [esp + 0x1440], edi
cmp dword [esp + 0x44], 0x10
jb 0x1003d287
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call esi
mov dword [esp + 0x78], eax
mov ecx, eax
mov dword [esp + 0x13f8], edi
mov eax, 1
jmp 0x1003d2b0
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul ecx, ecx, 0x6c078965
add ecx, eax
mov dword [esp + eax*4 + 0x78], ecx
inc eax
cmp eax, 0x270
jl 0x1003d2b0
fld1
sub esp, 8
xor eax, eax
fstp qword [esp]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x270
call fcn.10027cb0
fld qword [0x10050a70]
fld st(0)
add esp, 8
fldz
fsub st(1), st(0)
fxch st(1)
fadd qword [0x10050a38]
fmulp st(3)
faddp st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x1003d313
fstp st(0)
mov eax, 9
jmp 0x1003d318
call fcn.1003f560
mov eax, dword [esp + eax*4 + 0x4c]
mov ecx, dword [esp + 0x1438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13f0]
xor ecx, esp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret

Function at 0x1003e6b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005b034]
jne 0x1003e6ba
repz ret
jmp fcn.1003ed2b
Function at 0x44b6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov cl, byte [0x65f042]
mov al, byte [0x65f041]
or cl, 0x10
push ebx
shr cl, 3
and ecx, 0xff
mov bl, byte [0x65f04a]
lock add byte gs:[ecx + 0x3204244c], cl
fcomp st(3)
inc esp
and al, 4
mov byte [0x65f04a], bl
mov ebx, dword [esp + 0x10]
test ebx, ebx
fdivr qword [0x6629b0]
push esi
fadd qword [0x65f058]
fstp qword [0x662a20]
je 0x44b793
call fcn.0044b610
push 0x65f0ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x65f030]
mov ecx, dword [0x65f034]
mov esi, eax
mov dword [esp + 0xc], 0
lea eax, [edx + edx]
or eax, ecx
mov dword [esp + 8], eax
fild qword [esp + 8]
test esi, esi
fadd qword [0x65f058]
fstp qword [0x65f058]
je 0x44b793
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65f088
push esi
call edi
push 0x65f064
push esi
call edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44b793
lea ecx, [esp + 0x14]
inc eax
add ecx, 4
cmp eax, 0x36
jae 0x44b79d
cmp dword [ecx], 0
jne 0x44b785
pop esi
xor al, al
pop ebx
add esp, 8
ret 4
mov dword [ebx], esi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 4

Function at 0x494fde
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov al, 0xaa
cmpsd dword [esi], dword es:[edi]
dec edi
rcr dword [ebx - 0x206adae5], 0xb6
push ds
sbb al, 0xf
sbb eax, 0xbc28ddea
invalid

Function at 0x4a2812
Capabilities:
Encode data using xor

Disassembly:
in eax, dx
push esp
fild qword [edx*8 + 0x775af270]
adc bh, dl
and dword [edx - 0x6f], eax
inc esp
xor ch, cl
push edx
imul ecx, dword [edx], 0x19
stosb byte es:[edi], al
sal byte [ecx], 0xde
xchg ebx, eax
push 0xffffffffffffff9c
insd dword es:[edi], dx
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
and cl, byte [esi]
push 0x8b003317
xchg edi, eax
aas
in al, dx
add cl, dh
ror al, 0x21
invalid

Function at 0x4d3662
Capabilities:
Encode data using xor

Disassembly:
pop ebx
mov edx, 0x9ac5ccff
mov cl, 0x80
cld
mov dword [eax - 0x16], ebx
cmp al, 0x81
xor eax, 0xdd614d4d
cmp dl, al
or cl, byte [bp + si + 0x50]
push edi
xchg edx, eax
insb byte es:[edi], dx
fistp dword [ebx - 0x27cdfb8e]
and bh, byte [ebp - 0x15267d]
inc edi
or byte [esi], ah
movsd dword es:[edi], dword [esi]
fldl2e
inc dword [edi + 8]
movsd dword es:[edi], dword es:[esi]
out 0x18, al
dec ecx
sbb eax, 0x28762fd6
jne 0x4d36d2
mov ebx, 0x26dc0247
sub ebx, dword [edx - 0x3d4f9c31]
mov dh, byte [ecx - 0x65]
pushal
dec ecx
call 0xa29589a6
js 0x4d3688
out dx, al
inc esp
add eax, 0x3931773d
pop ds
xor dl, dl
push 0xec0741
cli
jl 0x4d3721
rol dword [edx + 0x77], cl
mov eax, 0x2094af9e
int3
inc esi
xor esi, ebp
mov bl, 2
jle 0x4d36d2
cwde
in al, 0x33
cwde
mov bl, 0xa
xor dword [ecx + 0x11827e47], eax
or dword [ecx + 0x895f3f3], eax
and ch, byte [ebx + esi*4 - 0x28]
xchg ebp, eax
or byte [edx], ah
insb byte es:[edi], dx
mov bl, 0xd8
retf
bound edi, qword [esi + ecx - 0x24a57564]
invalid
bound edi, qword [esi + esi*8]
ja 0x4d36ff
test dword [edx - 0x41], 0xc7dae972
jb 0x4d36e8
mov ch, 0x27
test dword [ebp - 0x27], esi
add byte [edi], dl
push ss
int 0xa8
jno 0x4d373d
add ah, ch
pop esp
int3