joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035f0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x40855c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
mov eax, dword [esp + 0x2d8]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_4
push 1
push 0x5c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2e4], 0
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e4], 1
call sub.MFC42u.DLL_CString::Right
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
push edx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.00407b56
lea ecx, [esp + 0x14]
mov byte [esp + 0x2dc], 0
call fcn.00407b56
test bl, bl
je 0x4036bd
push 0x40e504
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2dc], 2
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2dc], 0
call fcn.00407b56
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x101
lea edx, [esp + 0x24]
push 0x2b4
push edx
push 0
push eax
call esi
test eax, eax
je 0x403710
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_DestroyIcon]
push edx
mov dword [esp + 0x1c], ecx
call ebx
mov ecx, dword [esp + 0x10]
push 0x103
lea eax, [esp + 0x24]
push 0x2b4
push eax
push 0
push ecx
call esi
test eax, eax
jne 0x403738
push str.Error_Gettting_SystemFileInfo_
lea ecx, [edi + 0x44]
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x2dc], 0xffffffff
call fcn.00407b56
xor eax, eax
jmp 0x403815
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push edx
call ebx
push 0x40e504
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_1
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e4], 3
call sub.MFC42u.DLL_CString::Right
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push edx
call ebp
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.00407b56
lea ecx, [esp + 0x14]
mov byte [esp + 0x2dc], 0
call fcn.00407b56
test bl, bl
je 0x4037ad
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
dec eax
push eax
call sub.MFC42u.DLL_CString::SetAt
mov ebx, dword [esp + 0x2e4]
cmp ebx, 0xffff0000
jne 0x4037d5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 0xffff0002
push ebx
push 0
push 0
push 0
push esi
push ecx
push edx
jmp 0x4037f4
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.00403830
mov ecx, dword [esp + 0x18]
push 0xffff0002
push ebx
push 0
push 0
push 0
push esi
push ecx
push eax
push 0x23
mov ecx, edi
call sub.MFC42u.DLL_CTreeCtrl::InsertItem
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x2dc], 0xffffffff
call fcn.00407b56
mov eax, esi
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret 8
Function at 0x4039e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4085ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x34]
mov bl, 2
push 0x40e790
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::operator_2
test esi, esi
je 0x403ae6
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
push esi
push eax
mov ecx, edi
call sub.MFC42u.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00407b56
push 0x40e504
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], bl
call fcn.00407b56
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.00407b56
mov edx, dword [edi + 0x20]
push esi
push 3
push 0x110a
push edx
call ebp
mov esi, eax
test esi, esi
jne 0x403a46
pop ebp
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::TrimRight
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.00407b56
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00407b56
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x403eb0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
push esi
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, dword [sym.imp.MSVCRT.dll_rand]
add esp, 8
xor esi, esi
call edi
cdq
mov ecx, 0x3e
idiv ecx
cmp edx, 0xa
jge 0x403ee3
add dl, 0x30
jmp 0x403ef0
cmp edx, 0x24
jge 0x403eed
add dl, 0x37
jmp 0x403ef0
add dl, 0x3d
mov byte [esp + esi + 0xa], dl
inc esi
cmp esi, 2
jl 0x403ecf
mov al, 0x32
lea edx, [esp + 0x14]
mov byte [esp + 0x11], al
mov byte [esp + 0xd], al
push 3
push edx
lea eax, [esp + 0x14]
push 0xffffffffffffffff
push eax
mov cl, 0x33
push 0
push 0
mov byte [esp + 0x28], cl
mov byte [esp + 0x2a], 0
mov byte [esp + 0x24], cl
mov byte [esp + 0x26], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x138580
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x403f4c
mov ecx, eax
call fcn.00401850
mov esi, eax
jmp 0x403f4e
xor esi, esi
mov ecx, esi
call fcn.00401a10
test eax, eax
je 0x403f7d
mov edx, dword [esi + 8]
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0
lea ecx, [esp + 0xe]
push 2
push ecx
push edx
call edi
mov ecx, dword [esi + 8]
push 0
lea eax, [esp + 0x14]
push 3
push eax
push ecx
call edi
mov eax, dword [esi + 0x9c2d0]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x403f9b
push 0x64
call edi
mov eax, dword [esi + 0x9c2d0]
test eax, eax
je 0x403f8d
push 0xffffffffffffffff
call edi
push 0x186a0
call edi
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 0x10
Function at 0x4048c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4087a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea edx, [eax + 0xd]
mov eax, dword [edi]
lea esi, [ecx + 0xd]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x40]
test eax, eax
je 0x40491b
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x404931
mov eax, dword [edi + 4]
test eax, eax
je 0x404938
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::Draw3dRect
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x38]
push 1
mov ecx, esi
call sub.MFC42u.DLL_CDC::SetBkMode
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x409dc8
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
push 0x40e590
push eax
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CFont::CreatePointFont
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 0x40e58c
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call sub.MFC42u.DLL_CString::CString_4
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 3
push edi
add edx, 3
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [ebx + 0x64]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00407b56
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CDC::SetBkMode
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x38]
mov dword [esp + 0x18], 0x409df0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 2
call sub.MFC42u.DLL_CGdiObject::DeleteObject
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x100b44a4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x100c1da4], 0x40e
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100c1da4], 0x12e5
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100b4552
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100b4541
jmp 0x100b45cb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100b4586
jmp 0x100b45cb
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x100b4552
jmp 0x100b4568
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100b44f8
jmp 0x100b45cb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x100b45b4
jmp 0x100b45cb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x100b450c
mov eax, dword [ebp - 0x1c]
mov dword [0x100c1da0], 0x1e8e
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x100b452d
jmp 0x100b45cb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100b45cb
mov dword [0x100c1da0], 0x2d6d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100b44e4
jmp 0x100b45cb
mov eax, 1
mov dword [0x100c1da4], 0x273
mov dword [ebp - 0x20], eax
jmp 0x100b4525
xor eax, eax
mov dword [0x100c1da0], 0x1ce9
mov dword [ebp - 0x20], eax
jmp 0x100b4525
Function at 0x100b4600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100b40c3
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100b463c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x100c1da4], 0x18f9
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x100c1da0], 0x163f
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x100b476b
jmp 0x100b46cf
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [0x100c1da0], 0x1c5f
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x100c1da4], 0xfffffd31
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x100b476b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x100b470d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x100b46b3
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x100b470d
jmp 0x100b4736
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
jne 0x100b46e3
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x100b4681
jmp 0x100b4743
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x34]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
jb 0x100b46b3
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100b4857
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov ecx, dword [0x100c1da4]
add ecx, 0xffffdc36
mov dword [0x100c1da0], ecx
cmp eax, 0
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jne 0x100b48eb
lea eax, [0x100b4441]
mov dword [0x100c1da4], 0x794
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
jmp 0x100b48d6
mov eax, dword [ebp - 0x14]
add esp, 0x28
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [ebp - 0x14], eax
je 0x100b489a
mov eax, dword [ebp - 0x1c]
add eax, 0x1abe
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [0x100c1da0], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x100b48a2
jmp 0x100b48b4
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x20], eax
call fcn.100b3a9b
mov dword [ebp - 0x14], eax
jmp 0x100b489a

Function at 0x100b4aea
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100c1dac], 0
mov byte [0x100c1db0], 0
mov dword [0x100c1da4], 0x1f36
mov dword [0x100c1da8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100b4bf1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x100c1da8], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x100c1db4], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x100c1dac]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x100c1db4], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x100c1dac], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x100c1db0], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x100c1da4], 0x13be
mov cl, byte [0x100c1db0]
mov esi, dword [0x100c1dac]
mov byte [ebx + esi], cl
mov dword [0x100c1da0], 0x1950
mov esi, dword [0x100c1da8]
add esi, 1
mov dword [0x100c1da8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100b4b4b
jmp 0x100b4b34
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100c1da4]
add eax, 0xffffee4c
mov dword [0x100c1da4], eax
mov eax, dword [0x100c1da8]
add eax, 1
mov dword [0x100c1da8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100b4bf1
jmp 0x100b4b3c
Function at 0x100b4e3e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x100c1da0], 0x2670
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100b4e6a
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x100b629d]
mov dl, byte [eax + 0x100b626e]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x100b4f3e
jmp 0x100b4e6a
mov dword [0x100c1da4], 0x143e
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100b4f75
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x100c1da4], 0xffffea5e
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov dword [0x100c1da0], 0x9c6
add ecx, 0x17d3
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x100b4f35
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x100c1da0], 0x3070
mov dword [ebp - 0x44], eax
call fcn.100b4cba
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.100b4252
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x100b4e62
jmp 0x100b4e96
Function at 0x100b5182
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100c1da0], 0x82b
mov dword [0x100c1da8], 0
mov dword [0x100c1dac], 0
mov dword [0x100c1db8], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100b51fc
jmp 0x100b5204
mov eax, dword [0x100c1da8]
mov ecx, dword [0x100c1dac]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x100b5204
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x100c1da8], edx
mov dword [0x100c1da0], 0x2616
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100c1dac], edx
mov dword [0x100c1da0], 0x10e9
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100c1db0], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x100c1db0]
mov edx, dword [0x100c1dac]
mov byte [ebx + edx], cl
mov dword [0x100c1da0], 0x16fa
mov edx, dword [0x100c1da8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100c1dac]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x100c1da0], 0x205d
and ecx, 0xff
mov dword [0x100c1db8], ecx
mov dword [0x100c1da4], 0x8a6
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
je 0x100b51fc
jmp 0x100b51e3
Function at 0x4850a1
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x7c]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
add dword [esp], 0x32133
xchg dword [esp], edx
lea esi, [esi]
xchg dword [esp + 4], edx
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 3]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
xchg dword [esp], edx
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x5b]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
popfd
push ebp
mov ebp, esp
leave
jmp 0x489970
call 0x4a2000
mul cl
jecxz 0x4899f2
cmp dword [eax - 0x27c552e5], esi
add al, 0xdb
xor cl, byte [0xd87e241a]
out 0xdd, al
sbb cl, byte [ebx - 0x5a]
test al, 0x34
xlatb
je 0x4899eb
or esp, ebp
in al, 0x98
outsd dx, dword [esi]
call fcn.00573e24
test byte fs:[edx - 0x1c], bh
aad 0xd8
sbb ch, al
loope 0x4899b0
add al, byte [eax]
and al, 0xd9
xor eax, 0x115538b
add ah, byte [eax + 0x7b]
inc eax
jnp 0x4899f2
add eax, 0x5b2be861
add dword [eax], eax
sub al, 5
sub al, 0x43
inc ebx
movsb byte es:[edi], byte [esi]
dec ebx
ficom word [eax - 0x4f17fe0a]
xor byte [ecx], al
add byte [eax - 0x60], dl
xor bh, al
mov edi, 0xdb23fa23
ja 0x4899bc
hlt
loopne 0x489a52
jmp 0x489a6e
xchg ebx, eax
mov dh, 0x6c
call fcn.0055366c
sbb eax, 0xc66ceb21
invalid
and al, 4
mov ebx, dword [esp]
lea esp, [esp + 4]
pushfd
push edx
mov edx, dword [esp + 4]
lea edx, [edx + 0x42]
xchg dword [esp + 4], edx
mov dword [esp + 4], edx
mov edx, dword [esp]
lea esp, [esp + 4]
and al, 0x8d
and al, 4
call 0x489a78
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x54]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
add dword [esp], 0x166ac
xchg dword [esp], eax
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x31]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], eax
pushfd
add ebp, 0x2a
popfd
lea ebp, [ebp - 0x2a]
xchg dword [esp], eax
push ebx
mov ebx, dword [esp + 4]
lea ebx, [ebx + 0x56]
xchg dword [esp + 4], ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp]
lea esp, [esp + 4]
popfd
lea edx, [edx]
ret