joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7450
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc8245
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xe3c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x58]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [edi]
test eax, eax
je 0x4b7576
lea ecx, [esi + 0x139]
mov al, 1
xchg byte [ecx], al
sub esp, 0xc
lea ecx, [esi + 0x13c]
call fcn.004c7c10
lea ebx, [esi + 0xd4]
push ebx
call fcn.00d46e4e
add esp, 4
test eax, eax
jne 0x4b7598
mov cl, 1
lea eax, [esi + 0x12c]
xchg byte [eax], cl
lea eax, [esi + 0x104]
push eax
call fcn.00d46f9a
add esp, 4
push ebx
call fcn.00d46e73
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x4b74fb
push eax
mov ecx, esi
call fcn.004b73a0
mov eax, dword [edi]
test eax, eax
je 0x4b7576
push str.___killing_thread_by_force___
lea ecx, [ebp - 0x10]
call fcn.004c6a40
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [0xe457a0]
test ecx, ecx
je 0x4b752a
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax + 4]
jmp 0x4b7532
lea ecx, [ebp - 0x10]
call fcn.004c1920
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
cmp ecx, 0xe3ce50
je 0x4b7556
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x4b7556
push ecx
call fcn.00d491c8
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x4b7567
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
xchg dword [edi], eax
xor ecx, ecx
lea eax, [esi + 0x10]
xchg dword [eax], ecx
xor bl, bl
jmp 0x4b7578
mov bl, 1
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.00d473c0
int3
Function at 0x4bc020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
test ecx, ecx
je 0x4bc1a4
mov esi, dword [ecx + 0x1c]
test esi, esi
je 0x4bc1a4
cmp dword [ecx + 0x20], 0
je 0x4bc1a4
cmp dword [ecx + 0x24], 0
je 0x4bc1a4
mov dword [ecx + 0x14], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x2c], 2
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], eax
test edx, edx
jns 0x4bc07d
neg edx
mov dword [esi + 0x18], edx
test edx, edx
mov eax, 0x71
push edi
mov edi, 0x2a
cmovne eax, edi
mov dword [esi + 4], eax
xor eax, eax
cmp edx, 2
setne al
mov dword [ecx + 0x30], eax
lea eax, [esi + 0x94]
mov dword [esi + 0xb18], eax
mov ecx, esi
lea eax, [esi + 0x988]
mov dword [esi + 0x28], 0
mov dword [esi + 0xb24], eax
lea eax, [esi + 0xa7c]
mov dword [esi + 0xb30], eax
xor eax, eax
mov dword [esi + 0xb20], 0xe3ce3c
mov dword [esi + 0xb2c], 0xe3ce14
mov dword [esi + 0xb38], 0xe3ce28
mov word [esi + 0x16b8], ax
mov dword [esi + 0x16bc], eax
mov dword [esi + 0x16b4], 8
call fcn.004bfda0
mov eax, dword [esi + 0x2c]
xor edx, edx
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.00d9ac00
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0xdf1e22]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0xdf1e20]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0xdf1e24]
mov dword [esi + 0x90], eax
movzx eax, word [ecx*4 + 0xdf1e26]
mov dword [esi + 0x7c], eax
xor eax, eax
pop edi
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x4bcf40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov esi, dword [edi + 0x2c]
mov edx, dword [edi + 0x74]
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub ebx, dword [edi + 0x6c]
add eax, esi
sub ebx, edx
cmp dword [edi + 0x6c], eax
jb 0x4bcfea
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.00d9a680
mov eax, dword [edi + 0x4c]
add esp, 0xc
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x44]
mov edi, dword [ebp - 4]
lea edx, [eax + edi*2]
movzx ecx, word [edx - 2]
lea edx, [edx - 2]
mov eax, ecx
mov dword [ebp - 4], 0
sub eax, esi
cmp ecx, esi
movzx eax, ax
cmovb eax, dword [ebp - 4]
mov word [edx], ax
sub edi, 1
jne 0x4bcf94
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x40]
mov edi, esi
lea edx, [eax + esi*2]
movzx ecx, word [edx - 2]
lea edx, [edx - 2]
mov eax, ecx
mov dword [ebp - 4], 0
sub eax, esi
cmp ecx, esi
movzx eax, ax
cmovb eax, dword [ebp - 4]
mov word [edx], ax
sub edi, 1
jne 0x4bcfc2
mov edi, dword [ebp - 8]
add ebx, esi
mov ecx, dword [edi]
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x4bd0b2
mov ecx, dword [edi + 0x6c]
mov edx, dword [edi + 0x74]
add ecx, edx
add ecx, dword [edi + 0x38]
cmp eax, ebx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
cmovbe ebx, eax
test ebx, ebx
jne 0x4bd018
xor ebx, ebx
jmp 0x4bd071
sub eax, ebx
mov dword [ecx + 4], eax
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4bd035
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x30]
push ebx
call fcn.004bb8e0
jmp 0x4bd04f
cmp eax, 2
jne 0x4bd058
mov edx, dword [ecx]
mov eax, dword [ecx + 0x30]
test edx, edx
jne 0x4bd047
xor eax, eax
jmp 0x4bd055
push ebx
mov ecx, eax
call fcn.004bbb60
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ecx + 0x30], eax
push ebx
push dword [ecx]
push dword [ebp - 0xc]
call fcn.00d9a680
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [eax], ebx
add dword [eax + 8], ebx
mov edx, dword [edi + 0x74]
add edx, ebx
mov dword [ebp - 0xc], edx
mov dword [edi + 0x74], edx
cmp edx, 3
jb 0x4bd09e
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
mov edx, dword [ebp - 0xc]
cmp edx, 0x106
jae 0x4bd0b2
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4bcf54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c1850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc8690
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x41c], esi
xor eax, eax
mov dword [ebp - 0x41c], esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x418]
push eax
push 0x204
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x41c]
call fcn.004c6b30
add esp, 4
lea eax, [ebp - 0x41c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004b0ee0
mov eax, dword [ebp - 0x41c]
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x4c18f5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
cmp ecx, 0xffffffff
jne 0x4c18f5
push eax
call fcn.00d491c8
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret

Function at 0x4c1920
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc86d5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0xe3c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x4c1958
lock inc dword [eax]
push 0xdf3a9c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004b3fa0
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [ebp - 0x10], eax
lea ecx, [eax - 8]
cmp ecx, 0xe3ce50
je 0x4c1997
lock inc dword [ecx]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
cmp eax, esi
jne 0x4c1997
push ecx
call fcn.00d491c8
add esp, 4
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004c3500
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x4c19d1
lock xadd dword [eax], esi
dec esi
cmp esi, 0xffffffff
jne 0x4c19d1
push eax
call fcn.00d491c8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c1c90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc871d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0xe3c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2f
push 0x5c
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 1
call fcn.004b4a60
mov edx, eax
or edi, 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [ebp + 8], ecx
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
cmp ecx, 0xe3ce50
je 0x4c1d0e
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, edi
jne 0x4c1d0e
push ecx
call fcn.00d491c8
add esp, 4
lea eax, [ebp + 8]
mov edx, str.Global_
push eax
lea ecx, [ebp - 0x10]
call fcn.004b4290
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004c3500
push dword [eax]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
mov dword [esi], eax
cmp ecx, 0xe3ce50
je 0x4c1d62
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x4c1d62
push ecx
call fcn.00d491c8
add esp, 4
cmp dword [esi], 0
jne 0x4c1dbc
lea eax, [ebp + 8]
mov edx, str.Local_
push eax
lea ecx, [ebp - 0x10]
call fcn.004b4290
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004c3500
push dword [eax]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
mov dword [esi], eax
cmp ecx, 0xe3ce50
je 0x4c1db7
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x4c1db7
push ecx
call fcn.00d491c8
add esp, 4
cmp dword [esi], 0
je 0x4c1e02
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4c1e02
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c1de7
cmovs eax, edi
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4c1e02
cmp eax, 0x80
je 0x4c1e02
mov eax, dword [esi]
test eax, eax
je 0x4c1e02
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x4c1e22
lock xadd dword [eax], edi
dec edi
cmp edi, 0xffffffff
jne 0x4c1e22
push eax
call fcn.00d491c8
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4c20b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc8804
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xe3c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi], eax
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x4c20ed
lock inc dword [eax]
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xe3ce58
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004c2170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c3200
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc8b05
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.004c2a20
mov dword [ebp - 4], 0
xor ebx, ebx
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
mov al, byte [esi]
mov byte [ebp - 0x19], al
test al, al
je 0x4c326b
lea ecx, [ebp - 0x14]
call fcn.004b02f0
cmp eax, 0x40
je 0x4c326e
mov eax, dword [ebp - 0x14]
inc ebx
cmp byte [eax], 0
jne 0x4c3255
or ebx, 0xffffffff
shr ebx, 0x1f
mov edi, 0xffffffff
xor bl, 1
je 0x4c32e3
xor ebx, ebx
mov dword [ebp - 0x14], esi
cmp byte [ebp - 0x19], bl
je 0x4c329b
lea ecx, [ebp - 0x14]
call fcn.004b02f0
cmp eax, 0x3a
je 0x4c329d
mov eax, dword [ebp - 0x14]
inc ebx
cmp byte [eax], 0
jne 0x4c3285
or ebx, edi
shr ebx, 0x1f
xor bl, 1
jne 0x4c32e3
lea eax, [ebp - 0x18]
mov edx, str.mailto:
push eax
lea ecx, [ebp - 0x14]
call fcn.004b4290
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
mov dword [ebp - 0x18], edx
cmp ecx, 0xe3ce50
je 0x4c32e3
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x4c32e3
push ecx
call fcn.00d491c8
add esp, 4
mov dword [ebp - 0x14], 0xe3ce58
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004c3500
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov esi, dword [eax]
call fcn.004c3500
push 0xa
push 0
push esi
push dword [eax]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x14]
cmp eax, 0x20
seta bl
add ecx, 0xfffffff8
cmp ecx, 0xe3ce50
je 0x4c3340
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x4c3340
push ecx
call fcn.00d491c8
add esp, 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff8
cmp eax, 0xe3ce50
je 0x4c3360
lock xadd dword [eax], edi
dec edi
cmp edi, 0xffffffff
jne 0x4c3360
push eax
call fcn.00d491c8
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret
Function at 0x4c38d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc8b50
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xe3c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00d493ca
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00d481ed
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c9e30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0xdf38ec
mov dword [ebp - 8], 0xdf38e8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
xor ebx, ebx
mov edx, 0xdc00
movzx eax, word [esi]
test ax, ax
je 0x4c9efd
mov ecx, eax
nop
movzx edi, cx
add esi, 2
lea eax, [edi - 0xd800]
cmp eax, 0x7ff
ja 0x4c9e9f
movzx ecx, word [esi]
cmp cx, dx
jb 0x4c9e9f
shl eax, 0xa
lea edi, [ecx - 0xdc00]
or edi, eax
add edi, 0x10000
add esi, 2
test ebx, ebx
jne 0x4c9eb0
push edi
lea ecx, [ebp - 8]
call fcn.004c9550
test eax, eax
jns 0x4c9edd
push edi
lea ecx, [ebp - 4]
call fcn.004c9550
test eax, eax
js 0x4c9ecc
test ebx, ebx
jne 0x4c9ec5
mov ebx, edi
jmp 0x4c9ecc
xor eax, eax
cmp ebx, edi
cmove ebx, eax
movzx eax, word [esi]
mov ecx, eax
test ax, ax
je 0x4c9f01
mov edx, 0xdc00
jmp 0x4c9e70
movzx eax, word [esi - 2]
sub esi, 2
mov ebx, 0xdc00
cmp ax, bx
jb 0x4c9f06
mov ecx, 0xdfff
cmp ax, cx
ja 0x4c9f06
sub esi, 2
jmp 0x4c9f06
mov ebx, edx
jmp 0x4c9f06
mov ebx, 0xdc00
mov edi, 0xdfff
nop dword [eax + eax]
movzx eax, word [esi]
lea ecx, [eax - 0xd800]
cmp ecx, 0x7ff
ja 0x4c9f35
movzx edx, word [esi + 2]
cmp dx, bx
jb 0x4c9f35
lea eax, [edx - 0xdc00]
shl ecx, 0xa
or eax, ecx
push eax
call fcn.00da1a83
add esp, 4
test eax, eax
je 0x4c9f63
movzx eax, word [esi]
mov edx, 0xd800
add esi, 2
mov ecx, eax
cmp ax, dx
jb 0x4c9f10
cmp cx, di
ja 0x4c9f10
cmp word [esi], bx
jb 0x4c9f10
add esi, 2
jmp 0x4c9f10
mov ecx, dword [ebp - 0xc]
push esi
call fcn.004c6b30
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d1010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc9690
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0xe3c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
js 0x4d1120
mov ebx, dword [edx]
test ebx, ebx
jle 0x4d110a
lea esi, [edx + 4]
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
lea ecx, [edx + 4]
lea esi, [esi + ebx*8]
mov dword [ebp - 0x10], ecx
push ebx
mov edx, esi
mov dword [ebp - 0x24], esi
call fcn.005223e0
mov edx, dword [ebp - 0x10]
add esp, 8
xor edi, edi
mov ecx, edx
cmp edx, esi
jae 0x4d10fc
add edi, dword [ecx + 4]
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp - 0x20], eax
cmp ecx, esi
jae 0x4d10a5
cmp dword [ecx], eax
jne 0x4d10a5
add edi, dword [ecx + 4]
dec ebx
add ecx, 8
cmp ecx, esi
jb 0x4d1096
mov eax, edi
cdq
mov esi, eax
xor esi, edx
sub esi, edx
mov eax, esi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test eax, eax
je 0x4d10e4
cmp byte [ebp + 8], 0
je 0x4d10cd
mov esi, 0xff
jmp 0x4d10e4
and esi, 0x1ff
mov eax, esi
cmp esi, 0x100
jb 0x4d10e4
mov esi, 0x1ff
sub esi, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], esi
mov esi, dword [ebp - 0x24]
mov dword [edx], eax
add edx, 8
mov dword [ebp - 0x10], edx
cmp ecx, esi
jb 0x4d1087
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
mov dword [edx - 4], 0
mov edx, eax
sub dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
lea edx, [edx + eax*4]
mov dword [ebp - 0x14], edx
jns 0x4d1051
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0xe3c018]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
mov esi, ecx
movss dword [esp + 0xc], xmm3
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm1
movss xmm0, dword [esi + 0xc]
comiss xmm0, xmm1
jae 0x4d4707
comiss xmm1, dword [esi + 0x10]
jae 0x4d4707
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm2
jae 0x4d4707
comiss xmm2, dword [esi + 0x18]
jae 0x4d4707
push 0x54
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00d9ac00
movaps xmm0, xmmword [0xe205c0]
lea eax, [esp + 0x24]
movss xmm3, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x28], 0x3f800000
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
push eax
push esi
call fcn.004d5410
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ebx
call fcn.004d5490
test al, al
je 0x4d46af
nop word [eax + eax]
movss xmm3, dword [esp + 0x34]
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm3
movss xmm4, dword [esp + 0x3c]
jb 0x4d465c
comiss xmm4, xmm0
ja 0x4d4666
comiss xmm0, xmm4
jb 0x4d46a2
comiss xmm3, xmm0
jbe 0x4d46a2
movss xmm2, dword [esp + 0x38]
subss xmm0, xmm3
subss xmm2, dword [esp + 0x30]
mulss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
divss xmm2, xmm0
movss xmm0, dword [esp + 0x14]
addss xmm2, dword [esp + 0x30]
comiss xmm0, xmm2
jb 0x4d46a2
comiss xmm4, xmm3
jbe 0x4d469e
inc ebx
jmp 0x4d46a2
inc dword [esp + 0xc]
lea ecx, [esp + 0x30]
call fcn.004d5490
test al, al
jne 0x4d4640
cmp byte [esi + 0x1c], 0
je 0x4d46de
cmp dword [esp + 0xc], ebx
push dword [esp + 0x78]
setne bl
call fcn.00d9e0ad
add esp, 4
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret
add bl, byte [esp + 0xc]
push dword [esp + 0x78]
and bl, 1
call fcn.00d9e0ad
add esp, 4
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x8c]
xor al, al
pop esi
pop ebx
xor ecx, esp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret
Function at 0x4d9f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdc992d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], 0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
sub esp, 8
lea eax, [ebp - 0x34]
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
movss dword [esp], xmm0
push esi
push dword [ebx + 8]
push eax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
movss xmm0, dword [eax]
call fcn.004d8210
mov ecx, dword [edi + 4]
add esp, 0x14
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test al, al
jne 0x4da06c
lea ecx, [ebp - 0x34]
call fcn.004d1a20
test al, al
jne 0x4da06c
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x50]
movaps xmm0, xmmword [0xe205c0]
push edx
lea edx, [ebp - 0x34]
mov eax, dword [ecx]
push edx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x3f800000
mov dword [ebp - 0x3c], 0
call dword [eax + 0x60]
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], 0
call fcn.00d9e0ad
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc