joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488a90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x488ac3
push esi
call fcn.00496e40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x488abc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x488b49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x488b32
mov eax, dword [esi + 8]
test eax, eax
je 0x488ae7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x488b2e
cmp eax, 2
je 0x488b32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x488ada
cmp eax, 3
je 0x488b0d
cmp eax, 1
jne 0x488ada
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x488ada
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x488ada
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00488b70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x488b58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00488b70
add esp, 4
pop esi
ret

Function at 0x4893e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x489401
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x489401
mov eax, dword [eax + 0x44]
test eax, eax
je 0x489401
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4a3ff0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4a4093
test eax, eax
jbe 0x4a4093
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4a4093
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4a403e
xor esi, esi
jmp 0x4a4044
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4a406f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004a5fa0
add esi, eax
push esi
mov ebx, esi
call fcn.004a5fa0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4a4050
pop ebp
test edi, edi
pop edi
jne 0x4a4093
test ebx, ebx
je 0x4a4093
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004d0330
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4a41b5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4a42cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a42cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004e45a1
mov esi, eax
test esi, esi
je 0x4a42cd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4a42cd
mov ecx, esi
call fcn.004a4140
cmp edi, eax
jge 0x4a42cd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4a4253
mov dword [esp + 0x34], 1
jmp 0x4a42ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4a42cd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004a3730
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4a7c40
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
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 + 0x5e5a7c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4a7c53
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4a7c94
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5e5b24]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4a7cc6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4a7cca
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4a7cbb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4a7ce8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4a7cec
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4a7cdd
xor ecx, ecx
mov eax, 0x5e5a8c
xor ebx, ebx
mov bl, byte [ecx + 0x5e5b34]
cmp byte [esp + ebx + 0x14], 0
je 0x4a7d17
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5e5b4c]
cmp byte [esp + ebx + 0x14], 0
je 0x4a7d2e
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 0x4a7cfe
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4a7c87
lea edx, [esp + 0x84]
push edx
call fcn.004a7d70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4b9e30
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x4b9e40
mov esi, 1
push esi
call fcn.004d0517
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b9e92
call fcn.004d103d
mov edi, eax
call fcn.004bc980
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x4b9e76
mov edx, dword [0x5ea010]
mov dword [0x5ea00c], edx
test al, 0x18
je 0x4b9e87
push esi
push 0x24
push 5
call fcn.004bd1d0
add esp, 0xc
test edi, edi
je 0x4b9ead
push 1
call fcn.004d2118
test byte [esp + 0x14], 0x20
je 0x4b9ead
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4bafb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x4bb0a4
cmp byte [edx], 0
je 0x4bb097
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.004baf30
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.004baf30
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004baea0
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x4bb061
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004baee0
fmul qword [0x5ca4c0]
push ecx
fstp qword [esp]
call fcn.004cee68
fadd qword [0x5ca4b8]
add esp, 8
call fcn.004cef38
mov byte [ebx], al
inc ebx
dec edi
jne 0x4bb034
lea ecx, [esp + 0x20]
push ecx
call fcn.004baee0
fmul qword [0x5ca4c0]
push ecx
fstp qword [esp]
call fcn.004cee68
add esp, 8
call fcn.004cef38
cmp esi, ebx
je 0x4bb08d
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x4bb086
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bb470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x4bb4a0
mov byte [edi + esi], 2
jmp 0x4bb4d7
test al, 4
je 0x4bb4aa
mov byte [edi + esi], 0xd
jmp 0x4bb4d7
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x4bb4c3
mov byte [edi + esi], 2
jmp 0x4bb4d7
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x4bb4d3
mov byte [edi + esi], 0x19
jmp 0x4bb4d7
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x4bb487
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x4bb54b
cmp dl, 0xd
je 0x4bb54b
xor edx, edx
jmp 0x4bb550
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x4bb53b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x4bb570
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.004b9e30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bb591
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.004bcbc0
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x4bb5b6
push esi
call fcn.004b9ec0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.004d38d0
push ebx
push edi
mov ebp, eax
call fcn.004bcc30
push 0x4bb5f0
push ebp
push esi
call fcn.004bdf60
push esi
call fcn.004b9ec0
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4bc8f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x6d23a0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6d22d0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4bc96b
push 0x4c
push 1
call fcn.004d1465
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bc933
push 0x6d23a0
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x6d22d0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x6c7778]
inc eax
lea edx, [esi + 0xc]
mov dword [0x6c7778], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004c03f0
add esp, 8
mov byte [esi + 0x3c], 1
push 0x6d23a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4bcdf0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004d103d
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004d38d0
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4bceea
call fcn.004d103d
cmp dword [eax], 0
je 0x4bce37
call fcn.004d103d
mov ebp, dword [eax]
jmp 0x4bce3a
or ebp, 0xffffffff
call fcn.004bc980
test esi, esi
mov dword [eax], ebp
jne 0x4bce4f
call fcn.004d103d
cmp dword [eax], 4
je 0x4bce9f
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4bce82
cmp esi, 0xffffffff
je 0x4bcec4
test al, 6
je 0x4bce82
call fcn.004bc980
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004c0420
add esp, 4
push eax
push 0x24
push 9
call fcn.004bd1d0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4bcee2
test al, 6
je 0x4bce90
test ah, 2
je 0x4bcee2
test esi, esi
jbe 0x4bceee
test ah, 2
je 0x4bceee
add dword [esp + 0x18], esi
sub edi, esi
call fcn.004d103d
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004d38d0
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4bceea
jmp 0x4bce24
call fcn.004bc980
mov eax, dword [eax]
push eax
push ebx
call fcn.004c0420
add esp, 4
push eax
push 0x24
push 2
call fcn.004bd1d0
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4bcefb
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4bcf04
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4d1bb8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4d1bd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d0fca
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4d1bfb
test byte [esp + 8], 2
je 0x4d1bfb
call fcn.004d103d
mov dword [eax], 0xd
call fcn.004d1046
mov dword [eax], 5
jmp 0x4d1bd4
xor eax, eax
ret
Function at 0x4e4f45
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e4f7d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e2fd2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e2faa
jmp 0x4e4f89
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e6633
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e6675
call fcn.004ec0ef
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e6675
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e666c
xor eax, eax
jmp 0x4e667d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e6683
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ec61f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ec64d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ec66b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ec585
jmp 0x4ec66b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ec66b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ec585
test edi, edi
mov eax, edi
jne 0x4ec655
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1000189a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
xor eax, eax
mov dword [esp + 0x54], eax
jmp 0x100018f2
mov eax, esp
mov dword [eax + 4], 0x80f
mov dword [eax], 0xd41816
mov eax, dword [sym.imp.GDI32.dll_SetPolyFillMode]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0xc8a
mov dword [ecx + 4], 0x100101ea
mov dword [ecx], 0x100101ea
mov ecx, dword [sym.imp.SHLWAPI.dll_StrStrNIW]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x10001a35
mov eax, dword [esp + 0x54]
mov ecx, esp
mov dword [ecx], 0x942a02
mov ecx, dword [sym.imp.GDI32.dll_BeginPath]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x58]
mov dword [ecx + 4], edx
mov dword [ecx], 0x7e1740
mov ecx, dword [sym.imp.GDI32.dll_GetBitmapDimensionEx]
mov dword [esp + 0x44], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x6ecbfe
mov ecx, dword [sym.imp.KERNEL32.dll_HeapUnlock]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
jmp 0x100019a0
mov eax, esp
mov dword [eax + 0xc], 0x71e
mov dword [eax + 8], 0xfbb
mov dword [eax + 4], 0x100101e2
mov dword [eax], 0x100101e2
call sub.OLEAUT32.dll_VarR8Pow
sub esp, 0x10
mov ecx, dword [esp + 0x48]
sub ecx, 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
je 0x100018ab
jmp 0x1000198a
mov eax, dword [esp + 0x48]
sub eax, 0x3a
mov dword [esp + 0x2c], eax
je 0x100018ab
jmp 0x10001a35
mov eax, dword [esp + 0x38]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x28], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
sub eax, 7
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
je 0x100019e3
jmp 0x100019cc
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10001a10
jmp 0x100019d6
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov dword [esp + 0x1c], eax
jmp 0x100019e3
mov eax, esp
mov dword [eax], 0xa1b04
mov eax, dword [sym.imp.GDI32.dll_DeleteMetaFile]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x747
mov ecx, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x32c
mov dword [esp + 0x38], eax
je 0x1000194e
jmp 0x100019a0
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0x29
mov dword [esp + 0x54], eax
jne 0x100018f2
mov esp, ebp
pop ebp
ret
Function at 0x1000defa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x149
mov dword [0x10014cc8], 0
mov dword [0x10014ccc], 0
mov dword [0x10014cd4], 0
mov dword [0x10014cc0], 0x54d
mov dword [0x10014cc4], 0x149
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x1000df8f
jmp 0x1000df97
mov eax, dword [0x10014cc8]
mov ecx, dword [0x10014cc4]
mov edx, dword [0x10014ccc]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
jmp 0x1000df97
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x10014cc8], edx
mov ecx, dword [ebp - 0x38]
add ecx, 0xffffff3b
mov dword [0x10014cc0], ecx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x10014ccc], edx
mov esi, dword [ebp - 0x38]
add esi, 0x2bc
mov dword [0x10014cc0], esi
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10014cd0], cl
mov edi, dword [ebp - 0x38]
add edi, 0xffffecdd
mov dword [0x10014cc4], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10014cd0]
mov edx, dword [0x10014ccc]
mov byte [edi + edx], cl
mov edx, dword [0x10014cc8]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10014ccc]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10014cd4], ebx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x30], edx
je 0x1000df8f
jmp 0x1000df6d
Function at 0x1000e077
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10014cc4]
add eax, 0x1700
mov dword [0x10014cc0], eax
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000e0dc
mov eax, 1
mov dword [0x10014cc0], 0x882
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000e1c8
jmp 0x1000e1b1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x1000e110
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, 0x104
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ecx
jl 0x1000e0dc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1000e1b1
mov dword [0x10014cc0], 0x2137
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x6f
jne 0x1000e1b1
mov dword [0x10014cc0], 0x949
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x61
jne 0x1000e1b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000e1b1
mov dword [0x10014cc0], 0x1996
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000e1b1
mov dword [0x10014cc0], 0x1a94
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000e0b2
xor eax, eax
mov ecx, dword [0x10014cc4]
add ecx, 0x109a
mov dword [0x10014cc0], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x2c
pop ebp
ret
Function at 0x1000e47c
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 [0x10014ccc], 0
mov dword [0x10014cc0], 0x25ca
mov byte [0x10014cd0], 0
mov dword [0x10014cc8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000e4d5
mov dword [0x10014cc4], 0x1255
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10014cc0], 0x262f
mov eax, dword [0x10014cc8]
add eax, 1
mov dword [0x10014cc8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000e4d5
xor eax, eax
mov dword [0x10014cc8], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10014cc4], 0xfde
mov edx, dword [0x10014ccc]
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 eax, edi
cdq
idiv ecx
mov dword [0x10014ccc], edx
mov dword [0x10014cc4], 0xeda
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10014cd0], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10014cd0]
mov edx, dword [0x10014ccc]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10014cc0], 0x1c74
mov edx, dword [0x10014cc8]
add edx, 1
mov dword [0x10014cc8], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1000e514
jmp 0x1000e4c3