joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b63d9
Capabilities:
Delete file
Terminate process

Disassembly:
mov eax, 0x547adc
call fcn.004f8378
sub esp, 0x114
push ebx
push esi
push edi
mov edi, 0x80a1
push edi
mov esi, ecx
push 5
call fcn.004b7970
cmp al, 0x59
je 0x4b660c
push edi
push 0xc
mov ecx, esi
call fcn.004b7970
cmp al, 0x30
je 0x4b660c
mov eax, dword [0x59fe84]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.004b5f73
mov edi, eax
cmp edi, 5
jne 0x4b652d
push 0x80b0
lea ecx, [ebp - 0x10]
call fcn.00518bf6
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0x80ae
push eax
call fcn.0050f69c
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x14]
call fcn.00521b5c
push str.VirusScan.dll
lea ecx, [ebp - 0x1c]
call fcn.0051379e
mov byte [ebp - 4], 2
call fcn.0052dc74
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x120]
push 0x104
push ecx
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x120]
lea ecx, [ebp + 0xc]
push eax
call fcn.0051379e
push 0x5c
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0050f2e1
inc eax
lea ecx, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0050f269
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00513869
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00513730
lea eax, [ebp + 0xc]
push str.VirusScan.new
push eax
lea eax, [ebp + 8]
push eax
call fcn.005139c5
push dword [ebp + 8]
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 4
mov ecx, esi
call fcn.004b5f73
lea ecx, [ebp + 8]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00513730
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00513730
mov eax, edi
sub eax, ebx
je 0x4b6577
sub eax, 3
je 0x4b6546
dec eax
jne 0x4b65e3
push 0x80ad
jmp 0x4b654b
push 0x80a9
lea ecx, [ebp - 0x10]
call fcn.00518bf6
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0x80a8
push eax
call fcn.0050f69c
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x14]
call fcn.00521b5c
push ebx
call fcn.004fb317
push 0x80af
lea ecx, [ebp - 0x10]
call fcn.00518bf6
lea eax, [ebp + 8]
push eax
call fcn.0050f9f9
lea eax, [ebp + 0xc]
push str._Y__m__d__H:_M:_S
push eax
lea ecx, [ebp + 8]
call fcn.0050fa92
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
push ebx
call fcn.0050ee8e
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
je 0x4b65c3
push ebx
push str.error.log
push dword [ebp - 0x10]
call fcn.004458cc
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0x80b1
push eax
call fcn.0050f69c
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00513730
cmp edi, 3
je 0x4b6567
cmp edi, 4
je 0x4b6567
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00513730
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00513730
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4b7b43
Capabilities:
Copy file

Disassembly:
mov eax, 0x547cd8
call fcn.004f8378
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
push str.WT_SERVER
lea ecx, [ebp - 0x28]
call fcn.0051379e
mov esi, 0x5a4c3c
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0xd]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push str.tcp_ip_server_num
call fcn.004225f8
sub esp, 0x10
lea eax, [ebp - 0xe]
mov ebx, esp
mov dword [ebp - 0x24], esp
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00423bc7
push eax
mov ecx, ebx
call fcn.004225f8
xor ebx, ebx
lea ecx, [edi + 0xc8]
mov byte [ebp - 4], bl
call fcn.004b8749
cmp eax, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 1
jg 0x4b7bc8
mov dword [ebp - 0x24], ebx
jmp 0x4b7c94
cmp eax, ebx
mov dword [ebp - 0x18], ebx
jle 0x4b7c94
mov eax, dword [0x59fe84]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push str.tcp_ip_address_d
push eax
call fcn.0050f689
add esp, 0xc
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0x1c]
push esi
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00423bc7
push eax
mov ecx, ebx
call fcn.004225f8
sub esp, 0x10
lea eax, [ebp - 0xd]
mov ebx, esp
mov dword [ebp - 0x34], esp
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00423bc7
push eax
mov ecx, ebx
call fcn.004225f8
lea ecx, [edi + 0xc8]
mov byte [ebp - 4], 2
call fcn.00422647
push eax
lea ecx, [ebp - 0x20]
call fcn.0051379e
mov eax, dword [ebp - 0x20]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x4b7c7a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00513730
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jl 0x4b7bd3
jmp 0x4b7c94
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
call fcn.00513730
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00513730
push dword [edi + 0x90]
lea ecx, [ebp - 0x14]
call fcn.0051379e
push str._bak
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00513b0c
cmp dword [ebp - 0x24], ebx
je 0x4b7cca
push ebx
push dword [ebp - 0x14]
push dword [edi + 0x90]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x4b7d0a
lea ecx, [ebp - 0x50]
call fcn.004f0cff
push ebx
lea ecx, [ebp - 0x50]
push dword [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004f0dc2
test eax, eax
je 0x4b7cfe
push ebx
push dword [edi + 0x90]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
mov ecx, edi
call fcn.004b7f09
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.004f0d3c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00513730
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00513730
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4ba476
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x5481d4
call fcn.004f8378
sub esp, 0x18
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0052dc74
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ba4b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4ba4ba
or eax, 0xffffffff
jmp 0x4ba535
call fcn.0042fbee
test eax, eax
mov dword [ebp - 0x14], eax
jle 0x4ba528
mov eax, dword [0x59fe84]
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push edi
call fcn.0051a5fc
add esp, 0xc
test eax, eax
je 0x4ba51c
push edi
lea ecx, [ebp - 0x24]
call fcn.0051a44b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.0051a66b
lea ecx, [ebp - 0x24]
call fcn.0051a4e8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov edi, eax
call fcn.0051a4da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00513730
mov ecx, dword [ebp - 0x18]
push esi
push dword [ebp + 0xc]
push edi
call fcn.00518525
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4bb3e0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x5a5ad4]
test eax, eax
jne 0x4bb3f7
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x5a5ad4], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4bc750
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, 1
mov dword [0x5f439c], ebx
jl 0x4bc768
cmp esi, 9
jle 0x4bc775
push str.bad_pack_level
call fcn.004bba10
add esp, 4
push edi
mov ecx, 0x4000
xor eax, eax
mov edi, 0x5e4360
rep stosd dword es:[edi], eax
lea eax, [esi + esi*2]
push 0x10000
push 0x5d4340
lea eax, [esi + eax*4]
mov ecx, dword [eax + 0x597b3c]
mov edx, dword [eax + 0x597b38]
mov dword [0x5c09cc], ecx
mov ecx, dword [eax + 0x597b40]
mov dword [0x5e4340], edx
mov dword [0x5d4320], ecx
movzx dx, byte [eax + 0x597b44]
mov eax, dword [esp + 0x1c]
or word [eax], dx
mov dword [0x5c431c], ebx
mov dword [0x5e4348], ebx
call fcn.004bb5b0
add esp, 8
cmp eax, ebx
mov dword [0x5c09d8], eax
pop edi
jne 0x4bc7f8
mov dword [0x5c09d8], ebx
pop esi
mov dword [0x5c09d4], 1
pop ebx
ret
mov esi, 0x106
mov dword [0x5c09d4], ebx
cmp eax, esi
jae 0x4bc81c
cmp dword [0x5c09d4], ebx
jne 0x4bc81c
call fcn.004bc950
cmp dword [0x5c09d8], esi
jb 0x4bc807
xor ecx, ecx
xor eax, eax
xor edx, edx
and ecx, 0x3ff
mov dl, byte [eax + 0x5d4340]
and edx, 0x7fff
shl ecx, 5
xor ecx, edx
inc eax
cmp eax, 2
jb 0x4bc820
pop esi
mov dword [0x5c09d0], ecx
pop ebx
ret
Function at 0x4be399
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x54829a
call fcn.004f8378
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ebx
cmp dword [esi], ebx
jne 0x4be461
push 8
call fcn.00513471
mov edi, eax
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x4be3d8
mov ecx, edi
call fcn.00530eb8
mov ecx, edi
jmp 0x4be3da
xor ecx, ecx
or dword [ebp - 4], 0xffffffff
push ebx
push str.HexinSSLCnt.SocksProxy
mov dword [esi], ecx
call fcn.00530f64
test eax, eax
jne 0x4be461
push 0xffffffffffffffff
push 4
push 0x14d
call fcn.00521b94
cmp eax, 6
jne 0x4be447
lea ecx, [ebp - 0x18]
call fcn.0042229e
push 1
lea ecx, [ebp - 0x18]
pop edi
push 0x166
mov dword [ebp - 4], edi
call fcn.00422350
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
neg eax
sbb eax, eax
push edi
and eax, ecx
push ebx
push ebx
mov eax, dword [eax]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004222cc
mov edi, dword [esi]
or dword [ebp - 0x10], 0xffffffff
cmp edi, ebx
je 0x4be45f
mov ecx, edi
call fcn.00530fb7
push edi
call fcn.0051349a
pop ecx
mov dword [esi], ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4c12d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c1350
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x4c12ed
pop ebp
ret
push esi
lea ecx, [ebp + 0xc]
push edi
push ecx
lea ecx, [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push ecx
push 0
push dword [ebp + 0x14]
push eax
call esi
mov edi, eax
test edi, edi
jne 0x4c133c
cmp dword [ebp + 0x10], 1
jne 0x4c1339
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push dword [ebp + 0x18]
push eax
push edi
push dword [ebp + 0x14]
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x4c133c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
and byte [eax + ecx], 0
jmp 0x4c133c
or edi, 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebp
ret

Function at 0x4c13b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c1350
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4c1410
lea eax, [ebp + 0x10]
push edi
push eax
lea eax, [ebp + 0xc]
push dword [ebp + 0x18]
mov dword [ebp + 0x10], 4
push eax
push 0
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x4c13fe
cmp dword [ebp + 0xc], 4
je 0x4c1401
or edi, 0xffffffff
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
pop ebx
pop ebp
ret
Function at 0x4c1528
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5484eb
call fcn.004f8378
push ecx
mov eax, dword [0x59fe84]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x14]
mov dword [ebx], eax
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], edi
call fcn.004b7f44
mov eax, dword [0x59fe84]
mov dword [esi + 0x6c], eax
mov eax, dword [0x59fe84]
mov dword [esi + 0x70], eax
mov eax, dword [0x59fe84]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov ecx, dword [0x59fe84]
lea eax, [esi + 0x84]
mov dword [eax], ecx
mov ecx, dword [0x59fe84]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov eax, dword [0x59fe84]
mov dword [esi + 0x90], eax
mov ecx, dword [0x59fe84]
lea eax, [esi + 0x98]
mov dword [eax], ecx
mov ecx, dword [0x59fe84]
mov dword [eax + 4], ecx
mov ecx, dword [0x59fe84]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
mov dword [esi], 0x55bbdc
mov dword [esi + 0x28], 0x1f42
mov dword [esi + 0x2c], 0x1f41
mov dword [esi + 0x30], 0x1f43
call fcn.005136bb
mov ecx, ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x78], 0x438
mov dword [esi + 0x80], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.005136bb
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, 0x5c0a38
jmp 0x4c1517
Function at 0x4c1725
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
push str.RasAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xb0], eax
je 0x4c184c
push 0x28
push 0
push 0x5c0af0
call fcn.004f8540
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
push str.RasEnumEntriesA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0af0], eax
je 0x4c1845
push str.RasGetEntryDialParamsA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0af4], eax
je 0x4c1845
push str.RasSetEntryDialParamsA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0af8], eax
je 0x4c1845
push str.RasDialA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0afc], eax
je 0x4c1845
push str.RasHangUpA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0b00], eax
je 0x4c1845
push str.RasGetErrorStringA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0b04], eax
je 0x4c1845
push str.RasEnumConnectionsA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0b08], eax
je 0x4c1845
push str.RasGetConnectStatusA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0b0c], eax
je 0x4c1845
push str.RasGetEntryPropertiesA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0b10], eax
je 0x4c1845
push str.RasSetEntryPropertiesA
push dword [esi + 0xb0]
call edi
test eax, eax
mov dword [0x5c0b14], eax
jne 0x4c1850
mov ecx, esi
call fcn.004c1708
xor eax, eax
jmp 0x4c1853
push 1
pop eax
pop edi
pop esi
ret
Function at 0x4c63d8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x548c8f
call fcn.004f8378
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [0x59fe84]
lea ecx, [esi + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ecx], edx
mov edx, dword [0x59fe84]
mov dword [esi + 0x10], edx
mov edx, dword [0x59fe84]
mov dword [esi + 0x18], edx
mov edx, dword [0x59fe84]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov edx, dword [0x59fe84]
mov dword [esi + 0x68], edx
mov edx, dword [0x59fe84]
mov dword [esi + 0x6c], edx
mov edx, dword [0x59fe84]
mov dword [esi + 0x7c], edx
mov edx, dword [ebp + 0x14]
or dword [esi + 0x14], 0xffffffff
mov dword [esi + 8], edx
mov edx, dword [ebp + 8]
mov dword [esi + 0x20], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x24], edx
mov edx, dword [ebp + 0x10]
push 0x5a4c3c
mov byte [ebp - 4], 9
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 4], eax
call fcn.005138b9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4cc6ed
Capabilities:
Create thread

Disassembly:
mov eax, 0x5497ec
call fcn.004f8378
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
push 0x10
call fcn.00513471
test eax, eax
pop ecx
je 0x4cc71e
mov ecx, dword [0x59fe84]
mov esi, eax
mov dword [eax], ecx
mov ecx, dword [0x59fe84]
mov dword [eax + 4], ecx
jmp 0x4cc720
xor esi, esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
call fcn.005134a5
lea eax, [ebp + 0xc]
push eax
call fcn.004cb988
pop ecx
pop ecx
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 4]
call fcn.00513869
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00513730
mov eax, dword [ebp + 0x10]
add ebx, 0x44
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
push ebx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00513869
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x4cc79a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4cc78a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc

Function at 0x4cd04c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x186], edi
je 0x4cd061
xor eax, eax
jmp 0x4cd08e
cmp dword [esi + 0x60], edi
jne 0x4cd05d
mov eax, dword [ebp + 8]
mov dword [esi + 0x186], eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x4cd094
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 0x64], eax
mov eax, ecx
pop edi
pop esi
pop ebp
ret 4

Function at 0x4cf4d1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x549d83
call fcn.004f8378
push ecx
mov eax, dword [0x59fe84]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], eax
xor edi, edi
lea ecx, [esi + 0x34]
push edi
push edi
push edi
mov dword [ebp - 4], edi
call fcn.004f0c1b
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 4], edi
mov dword [esi], 0x55d144
mov dword [esi + 0x18], 0x2710
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4d0ed0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ebp
push edi
mov eax, ecx
sub esi, ecx
mov edi, 8
mov dl, byte [esi + eax]
or dl, 0x80
mov byte [eax], dl
inc eax
dec edi
jne 0x4d0ee7
mov eax, 1
mov dl, byte [eax + ebp - 1]
mov bl, byte [eax + ecx]
xor bl, dl
mov byte [eax + ecx], bl
inc eax
cmp eax, 8
jl 0x4d0ef8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4d1370
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf0
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5988f8]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x48], al
inc ecx
cmp ecx, 0x38
jl 0x4d1383
xor edx, edx
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x84]
lea ebp, [esp + eax*4 + 0x80]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5989a0]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4d13e3
mov bl, byte [esp + ecx + 0x48]
jmp 0x4d13e7
mov bl, byte [esp + ecx + 0x2c]
mov byte [esp + eax + 0x10], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4d13d8
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4d1405
mov bl, byte [esp + ecx + 0x48]
jmp 0x4d1409
mov bl, byte [esp + ecx + 0x2c]
mov byte [esp + eax + 0x10], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4d13fa
xor ecx, ecx
mov eax, 0x598908
xor ebx, ebx
mov bl, byte [ecx + 0x5989b0]
cmp byte [esp + ebx + 0x10], 0
je 0x4d1434
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5989c8]
cmp byte [esp + ebx + 0x10], 0
je 0x4d144b
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4d141b
inc edx
cmp edx, 0x10
jl 0x4d13ae
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x104]
lea eax, [esp + 0x80]
push edx
push eax
push ecx
call fcn.004d1490
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret
Function at 0x4d29d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4d3d80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
lea esi, [esp + 0x20]
lea ebp, [esp + 0x30]
sub esi, edi
sub ebx, edi
mov eax, edi
sub ebp, edi
mov dword [esp + 0x44], 0x10
mov dl, byte [eax]
mov cl, byte [ebx + eax]
mov byte [esi + eax - 0x10], dl
mov byte [esi + eax], cl
xor cl, dl
mov byte [eax + ebp], cl
mov ecx, dword [esp + 0x44]
inc eax
dec ecx
mov dword [esp + 0x44], ecx
jne 0x4d3da7
xor eax, eax
xor edx, edx
xor ecx, ecx
mov al, byte [eax + str._.C]
mov bl, byte [esp + ecx + 0x10]
xor bl, al
mov al, bl
mov byte [esp + ecx + 0x10], bl
and eax, 0xff
inc ecx
cmp ecx, 0x30
jb 0x4d3dca
add eax, edx
and eax, 0xff
inc edx
cmp edx, 0x12
jb 0x4d3dc8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
xor ecx, ecx
sub esi, eax
mov cl, byte [eax + 0xf]
mov edi, 0x10
xor edx, edx
mov dl, byte [esi + eax]
xor edx, ecx
mov cl, byte [edx + str._.C]
mov dl, byte [eax]
xor dl, cl
mov cl, dl
mov byte [eax], dl
and ecx, 0xff
inc eax
dec edi
jne 0x4d3e23
push 0x30
lea edx, [esp + 0x14]
push 0
push edx
call fcn.004d3e80
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x4d6080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.00513471
add esp, 4
mov ebx, eax
call fcn.004d6110
mov byte [ebx], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 1]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea eax, [esi - 1]
test eax, eax
jle 0x4d60ed
mov cl, byte [eax + ebx - 1]
mov dl, byte [eax + ebx]
xor dl, cl
mov byte [eax + ebx], dl
dec eax
test eax, eax
jg 0x4d60dc
push 0x100
push 0x5c0dec
push esi
push ebx
call fcn.004d5f50
push ebx
call fcn.0051349a
add esp, 0x14
mov eax, 0x5c0dec
pop edi
pop esi
pop ebx
ret