joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x412018]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x40acb0
xor eax, eax
jmp 0x40ad66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ad64
mov dword [ebp - 0x25c], 0
call fcn.00409bd0
test eax, eax
je 0x40ace0
mov eax, 1
jmp 0x40ad66
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea ecx, [ebp - 0x254]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40ad64
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0xffffffff
je 0x40ad3b
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp + 0xc]
je 0x40ad3b
xor eax, eax
jmp 0x40ad66
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040a3e0
add esp, 8
test eax, eax
je 0x40ad64
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40ad5d
mov eax, dword [ebp - 0x238]
jmp 0x40ad66
mov eax, 1
jmp 0x40ad66
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00407668
mov esp, ebp
pop ebp
ret
Function at 0x40b050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40ad50
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00414423
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xffa2ddab
jmp 0x40b0d0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x10], 0x6001ef6c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
cmp eax, 0xe507c6d1
jg 0x40b0f0
cmp eax, 0xa52ef3c8
jne 0x40b0d0
jmp 0x40b0a4
cmp eax, 0xffa2ddaa
jg 0x40b110
cmp eax, 0xe507c6d2
jne 0x40b0d0
mov dword [ebp - 0x10], 0x6001ef6c
jmp 0x40b0d0
cmp eax, 0x24f6bd40
jg 0x40b133
cmp eax, 0xffa2ddab
jne 0x40b0d0
mov eax, 0xe507c6d2
cmp dword [ebp - 4], 0
je 0x40b12e
mov eax, 0xa52ef3c8
mov dword [ebp - 0x10], eax
jmp 0x40b0d0
cmp eax, 0x24f6bd41
je 0x40b159
cmp eax, 0x6001ef6c
jne 0x40b174
mov eax, 0x24f6bd41
cmp dword [ebp - 0xc], 0
jne 0x40b151
mov eax, 0x5c81ddf8
mov dword [ebp - 0x10], eax
jmp 0x40b0d0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x10], 0x5c81ddf8
jmp 0x40b0d0
cmp eax, 0x5c81ddf8
jne 0x40b0d0
add esp, 0x28
pop ebp
ret
Function at 0x40ce00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x40dc50]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0x56ad1b00
jmp 0x40ce50
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x315141a7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x20]
cmp eax, 0x309a38c8
jg 0x40ce70
cmp eax, 0x92f5c123
jne 0x40ce50
jmp 0x40ce33
cmp eax, 0x56ad1aff
jg 0x40cea0
cmp eax, 0x48f43f72
jg 0x40cebc
cmp eax, 0x309a38c9
je 0x40cf28
cmp eax, 0x38f6b621
je 0x40ce33
cmp eax, 0x315141a7
jne 0x40ce50
jmp 0x40cf47
cmp eax, 0x56ad1b00
jne 0x40ce50
mov eax, 0x38f6b621
cmp dword [ebp - 0xc], 0
je 0x40ceb7
mov eax, 0x48f43f73
mov dword [ebp - 0x20], eax
jmp 0x40ce50
cmp eax, 0x48f43f73
jne 0x40ce50
mov dword [esp], 0
call fcn.0040cf60
mov esi, eax
call fcn.00402d80
imul eax, esi
mov dword [esp], eax
call fcn.00413eb2
mov eax, dword [ebp - 0x14]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00404030
mov ecx, dword [ebp - 0x14]
movzx edi, word [ecx + eax*2 - 2]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
neg eax
lea ecx, [esi + edi - 0x224cb9e9]
sub ecx, eax
add ecx, 0x224cb9e9
mov dword [ebp - 0x18], ecx
mov eax, 0x309a38c9
cmp ecx, dword [ebp - 0x1c]
je 0x40cf20
mov eax, 0x92f5c123
mov dword [ebp - 0x20], eax
jmp 0x40ce50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41e11c], eax
call fcn.00413e8f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x315141a7
jmp 0x40ce50
mov eax, dword [ebp - 0x10]
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
Function at 0x41bedd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e690]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00418d33
mov dword [ebp - 0x14], eax
cmp dword [0x46c30c], edi
jne 0x41bfce
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41bf5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41c0ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41c0ae
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c0ae
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x46c30c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x46c310], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x46c314], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46c31c], eax
test eax, eax
je 0x41bfcb
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46c318], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41bff3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41bfe6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41c008
push 4
pop eax
jmp 0x41c0b0
cmp dword [ebp - 0x14], edi
je 0x41c008
push dword [0x46c30c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41bfed
mov eax, dword [0x46c318]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41c066
cmp dword [0x46c31c], esi
je 0x41c066
push eax
call ebx
push dword [0x46c31c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41c066
test eax, eax
je 0x41c066
call ecx
test eax, eax
je 0x41c05b
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 0x41c05b
test byte [ebp - 8], 1
jne 0x41c066
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41c096
mov eax, dword [0x46c310]
cmp eax, esi
je 0x41c093
push eax
call ebx
test eax, eax
je 0x41c093
call eax
mov edi, eax
test edi, edi
je 0x41c093
mov eax, dword [0x46c314]
cmp eax, esi
je 0x41c093
push eax
call ebx
test eax, eax
je 0x41c093
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x46c30c]
call ebx
test eax, eax
je 0x41c0ae
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41c0b0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415e39
leave
ret
Function at 0x100c7ee3
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [0x100ecd7c], 0xb
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x100ecd7c]
add edx, 0xffffd9ce
mov dword [0x100ecd80], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100ecd7c], 0x15bd
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100c7fdc
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x19], cl
mov al, byte [ebp - 0x19]
test al, 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], edx
jne 0x100c7fdc
jmp 0x100c7f6d
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x100c805b
mov eax, dword [ebp - 0x20]
mov dword [0x100ecd7c], 0x10c9
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
jne 0x100c7f63
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100c7ffb
jmp 0x100c7f63
mov dword [0x100ecd80], 0x113b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x100c805b
jmp 0x100c7f63
mov dword [0x100ecd7c], 0xe97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100c7f9a
jmp 0x100c7f63
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
je 0x100c7f6d
jmp 0x100c7f38
mov dword [0x100ecd80], 0x80e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100c7f63
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100c7f63
mov dword [0x100ecd80], 0x8e7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x64
je 0x100c7fc1
jmp 0x100c7f63
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop ebp
ret
Function at 0x100c8063
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x100ecd7c], 0x234d
call fcn.10001087
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x100c81da
lea eax, [esp + 0x40]
mov dword [0x100ecd7c], 0x1e2a
mov dword [esp + 0x28], eax
call fcn.100c7ee3
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x100c81d2
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.100c83c9
lea ecx, [0x100c7e7b]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x70], edx
mov edx, dword [0x100ecd7c]
add edx, 0xdd
mov dword [0x100ecd80], edx
mov dword [esp + 0x80], 0x131400
mov edx, dword [0x100ecd68]
mov dword [esp + 0x88], edx
mov edx, dword [0x100ecd6c]
mov dword [esp + 0x5c], edx
mov edx, dword [0x100ecd70]
mov dword [esp + 0x8c], edx
mov edx, dword [0x100ecd74]
mov dword [esp + 0x94], edx
mov edx, dword [0x100ecd78]
mov dword [esp + 0x64], edx
mov dword [0x100ecd7c], 0xffffe6c3
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x100c816e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], dl
mov al, byte [esp + 0x13]
test al, 1
jne 0x100c818a
jmp 0x100c816e
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
jmp 0x100c813c
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100c8976
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x100ecd7c], 0x239d
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100c8695
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100c8d50
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov eax, dword [eax + esi]
cmp eax, 0x4550
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
je 0x100c86cd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x78]
mov dword [0x100ecd80], 0x1657
mov esi, dword [ebp - 0x14]
add esi, dword [esi + edx + 0x20]
mov dword [0x100ecd7c], 0x91
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx + 0x18]
cmp ebx, 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
je 0x100c8811
jmp 0x100c8743
mov al, byte [ebp - 0x31]
test al, 1
jne 0x100c87ee
jmp 0x100c87ad
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x100c8757
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x100c8727
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x31], cl
je 0x100c8717
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x100c8757
jmp 0x100c8717
mov eax, dword [ebp - 0x44]
add eax, 2
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
setb bl
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x5d], bl
xor eax, eax
mov cl, byte [ebp - 0x5d]
test cl, 1
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
jne 0x100c8727
jmp 0x100c8811
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x100ecd7c], 0x1802
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100c8976
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x100ecd80], 0x15d4
mov dword [0x100ecd7c], 0x407
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x100c8a48
mov eax, dword [ebp - 0x30]
add eax, 0x2020
mov dword [0x100ecd80], 0xffffe86e
mov dword [0x100ecd7c], 0x443
mov dword [ebp - 0x34], eax
jmp 0x100c8aa5
mov eax, dword [ebp - 0x38]
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 - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.100c8213
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x50], ecx
mov dword [0x100ecd7c], 0xeda
cmp ecx, 0
mov dword [ebp - 0x34], eax
je 0x100c8aa5
jmp 0x100c89a6
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x100cb602]
mov dl, byte [eax + 0x100cb5d3]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x100c8a48
lea eax, [ebp - 0x20]
mov dword [0x100ecd80], 0x161a
mov dword [ebp - 0x3c], eax
call fcn.100c9027
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.100c8bd7
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jne 0x100c89ca
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop ebp
ret
Function at 0x100c8e82
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x100ecd80]
add edi, 0xfffffc50
mov dword [0x100ecd7c], edi
mov dword [0x100ecd88], 0
mov byte [0x100ecd8c], 0
mov dword [0x100ecd80], 0x1e29
mov dword [0x100ecd84], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100c8f99
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x100ecd90], 0
mov edx, dword [0x100ecd88]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x100ecd90], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x100ecd88], edx
mov dword [0x100ecd7c], 0x13cc
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x100ecd8c], cl
mov dword [0x100ecd7c], 0x1ae6
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x100ecd8c]
mov edx, dword [0x100ecd88]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x100ecd80]
add edx, 0xffffe7b0
mov dword [0x100ecd7c], edx
mov edx, dword [0x100ecd84]
add edx, 1
mov dword [0x100ecd84], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100c8ede
jmp 0x100c9001
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100ecd80]
mov esi, eax
add esi, 0xffffe676
mov dword [0x100ecd7c], esi
mov esi, dword [0x100ecd84]
add esi, 1
mov dword [0x100ecd84], esi
cmp esi, 0x100
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], esi
jl 0x100c8f99
mov eax, dword [ebp - 0x28]
add eax, 0xfffff1df
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [0x100ecd7c], ecx
mov dword [0x100ecd84], 0
mov dword [ebp - 0x20], eax
jmp 0x100c8ede
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100c9223
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x100ecd84], 0
mov dword [0x100ecd88], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x100ecd94], 0
mov dword [0x100ecd7c], 0x127b
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x100c934a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x100ecd84], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100ecd88], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100ecd8c], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x100ecd8c]
mov edx, dword [0x100ecd88]
mov byte [ebx + edx], cl
mov edx, dword [0x100ecd84]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100ecd88]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x100ecd7c], 0x114e
and ecx, 0xff
mov dword [0x100ecd94], ecx
mov dword [0x100ecd80], 0x2fb
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
jne 0x100c935c
mov dword [0x100ecd80], 0x163b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x100ecd84]
mov ecx, dword [0x100ecd88]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x100c928a

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6baf3262
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5a0b6729
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4b04bc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4b04f4
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4b04e2
mov al, 1
jmp 0x4b0553
cmp dword [ebx + 0x54], ecx
jne 0x4b04eb
mov al, 2
jmp 0x4b0553
cmp dword [ebx + 0x7c], ecx
jne 0x4b0553
mov al, 3
jmp 0x4b0553
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4b0509
mov al, 4
jmp 0x4b0553
cmp ecx, 5
jne 0x4b0529
cmp ebx, 0
jne 0x4b0517
mov al, 5
jmp 0x4b0553
cmp ebx, 1
jne 0x4b0520
mov al, 6
jmp 0x4b0553
cmp ebx, 2
jne 0x4b0529
mov al, 7
jmp 0x4b0553
cmp ecx, 6
jne 0x4b0551
cmp ebx, 0
jne 0x4b0537
mov al, 8
jmp 0x4b0553
cmp ebx, 1
jne 0x4b053e
mov al, 9
cmp ebx, 2
jne 0x4b0545
mov al, 0xa
cmp ebx, 3
jne 0x4b054c
mov al, 0xb
cmp ebx, 4
jne 0x4b0553
mov al, 0xc
pop ebx
leave
ret