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

Disassembly:
push 0xffffffffffffffff
push 0x58acd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0xc], 0
call fcn.0047bc80
push eax
lea ecx, [esp + 0x14]
push ecx
mov ebx, str.ktrashscan.dll
mov dword [esp + 0x28], 0
call fcn.00478cb0
add esp, 0xc
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b7d26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b7d6f
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4b7d6f
push str.GetInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b7d6f
lea ecx, [esp + 8]
push ecx
push str._tFo
call eax
mov eax, dword [esp + 8]
test eax, eax
je 0x4b7d6f
mov edx, dword [eax]
push eax
mov eax, dword [edx]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b7d97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5940b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
push 0x5b2b9c
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00479f80
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 8
push esi
push 0x5b421c
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004b8070
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b8055
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4b8fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58ac9b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], str.EDIT
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0x4e21
mov dword [esi + 0x28], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x54]
push ecx
mov ecx, str.Ctrl__G
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
call fcn.00481430
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esi + 0x58], eax
mov eax, 0x11
mov dword [esi + 0x34], eax
mov eax, 0x12
mov dword [esi + 0x3c], eax
xor ecx, ecx
mov eax, 0x10
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4b9ca0
Capabilities:
Hide graphical window

Disassembly:
test esi, esi
je 0x4b9d6b
lea eax, [esi - 0x380]
test eax, eax
je 0x4b9d6b
cmp dword [esi + 0x10], 0
je 0x4b9d6b
cmp dword [esi + 4], 0
je 0x4b9d22
cmp dword [esi + 8], 1
mov dword [esi + 4], 0
jne 0x4b9cee
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x24], 0
mov dword [esi + 0x10], 0
ret 4
mov ecx, dword [esi + 0x18]
push 0
push 0
push 0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x378], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov dword [esi + 0x24], 0
mov dword [esi + 0x10], 0
ret 4
mov edx, dword [esi + 0x14]
push edi
lea edi, [eax + 4]
mov eax, dword [edi]
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, 0x80000
call fcn.004448e0
cmp dword [esp + 8], 0
jne 0x4b9d5c
push 1
lea eax, [esi + 0x28]
push edi
call fcn.00477830
pop edi
mov dword [esi + 0x24], 0
mov dword [esi + 0x10], 0
ret 4
Function at 0x4b9e80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
cmp dword [esi + 0x5c], 0
mov dword [esi], 0
je 0x4b9f0c
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4b9f0c
cmp edi, 8
jne 0x4b9eda
mov eax, 0x11
mov dword [esi + 0x34], eax
mov eax, 0x12
mov dword [esi + 0x3c], eax
mov eax, 0x10
mov dword [esi + 0x44], eax
lea eax, [esi + 0x4c]
xor ecx, ecx
push eax
xor edx, edx
push esi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x48], ecx
mov dword [eax], ecx
mov dword [eax + 4], edx
call fcn.004ba170
add esp, 0xc
ret
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + 4]
push 0
push 1
push 0x464
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov dword [esp + 4], edi
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [esp]
movsx eax, ax
push ecx
push esi
mov dword [esp + 0xc], eax
call fcn.004ba010
add esp, 0xc
ret

Function at 0x4b9f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov dword [ebp], 0
lea esi, [ebp + 0x38]
mov edi, 4
lea ecx, [ecx]
mov eax, dword [esi - 4]
push eax
call ebx
movsx eax, ax
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x4b9f30
lea ecx, [ebp + 0x4c]
push ecx
push ebp
call fcn.004ba010
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4ba4e0
Capabilities:
Log keystrokes

Disassembly:
push 0xffffffffffffffff
push 0x58abf9
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x14], 0
mov eax, dword [ebx]
sub eax, 0x10
mov dword [esp + 8], 1
je 0x4ba559
sub eax, 1
je 0x4ba552
sub eax, 1
jne 0x4ba563
mov edx, 0x5b5814
jmp 0x4ba55e
mov edx, str.Ctrl
jmp 0x4ba55e
mov edx, str.Shift
call fcn.00481720
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4ba584
mov ecx, dword [ebx]
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x5b5850
call fcn.00481690
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 4
Function at 0x4ba6b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x4ba6dc
mov ecx, esi
mov eax, edi
call fcn.00481530
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
mov ecx, eax
jne 0x4ba70f
mov ecx, dword [edi]
test ecx, ecx
je 0x4ba713
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4ba700
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x4ba727
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x4ba727
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov word [edx + ecx*2], 0
pop esi
ret
push 0x80070057
call fcn.00473d10
int3

Function at 0x4ba740
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
xor ebx, ebx
test edi, edi
mov dword [esp + 4], ebx
je 0x4ba7b3
cmp word [edi], bx
je 0x4ba7b3
push esi
push SysReAllocStringLen
mov edx, str.SoftwareKingsoftKVip10001kybox
lea esi, [esp + 0xc]
call fcn.00481640
test eax, eax
jne 0x4ba7a3
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 8]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push ebx
push edi
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4ba790
lea ebx, [eax + 1]
test esi, esi
je 0x4ba7b2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4ba7b2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x4bb390
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esi + 4]
sub esp, 0xc
push eax
mov dword [esi], 0
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4bb3c8
cmp edi, 8
je 0x4bb3c8
push edi
mov dword [esp + 4], edi
call dword [sym.imp.USER32.dll_GetKeyState]
lea edx, [esp]
movsx ecx, ax
push edx
push esi
mov dword [esp + 0xc], ecx
call fcn.004ba010
add esp, 0xc
ret
Function at 0x4bb6a0
Capabilities:
Get common file path

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x104
or ecx, edx
jge 0x4bb6c9
mov ecx, 0x104
mov eax, edi
call fcn.00481530
mov eax, dword [edi]
push eax
push 1
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x4bb707
mov eax, dword [edi]
cmp dword [eax - 8], 0
jl 0x4bb6fd
mov dword [eax - 0xc], 0
mov eax, dword [edi]
mov word [eax], 0
xor eax, eax
pop edi
ret 4
push 0x80070057
call fcn.00473d10
mov edx, dword [edi]
test edx, edx
push esi
jne 0x4bb712
xor eax, eax
jmp 0x4bb728
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bb717
sub eax, esi
sar eax, 1
js 0x4bb772
cmp eax, dword [edx - 8]
jg 0x4bb772
mov dword [edx - 0xc], eax
mov ecx, dword [edi]
mov word [ecx + eax*2], 0
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
lea esi, [eax - 1]
test esi, esi
jl 0x4bb772
cmp esi, eax
jg 0x4bb772
cmp word [ecx + esi*2], 0x5c
jne 0x4bb754
call fcn.004814e0
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
push str.kingsoftkvip_suserhead
call fcn.004815b0
add esp, 8
pop esi
mov eax, 1
pop edi
ret 4
push 0x80070057
call fcn.00473d10
int3
Function at 0x4bbb30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59c336
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
call fcn.005058b0
mov dword [edi + 4], eax
mov ebx, 1
mov byte [eax + 0x39], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea ecx, [edi + 0xc]
mov dword [esp + 0x24], ebp
call fcn.00549d90
mov byte [esp + 0x24], bl
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebx
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
lea esi, [edi + 0x20]
call edx
add eax, 0x10
mov dword [esi], eax
call fcn.00481760
push edi
mov eax, 0x4bbf40
push eax
mov byte [esp + 0x2c], 3
lea eax, [esp + 0x20]
push eax
push edi
mov dword [edi + 0x24], ebp
mov dword [edi + 0x28], ebp
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebp
mov dword [edi + 0x34], ebp
mov dword [esp + 0x28], 0x4e28
call fcn.004f2310
mov ecx, eax
call fcn.00509f00
push edi
mov eax, 0x4bc350
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x28], 0x4e29
call fcn.004f2310
mov ecx, eax
call fcn.00509f00
push edi
mov eax, 0x4bc8e0
push eax
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], 0x4e2a
call fcn.004f2310
mov ecx, eax
call fcn.00509f00
push edi
mov eax, 0x4bcce0
push eax
lea eax, [esp + 0x20]
push eax
push edi
mov dword [esp + 0x28], 0x4e84
call fcn.004f2310
mov ecx, eax
call fcn.00509f00
mov eax, 0x4bce60
push edi
mov dword [esp + 0x1c], 0x4e85
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.004f2310
mov ecx, eax
call fcn.00509f00
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4bd2a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58aad8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x2c]
push eax
push 0x5ae648
lea edi, [esp + 0x1c]
call fcn.00481690
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push 1
push 0x5ae648
lea edi, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.00481690
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
add esp, 8
sub eax, 0x10
call fcn.00481090
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x20], 2
mov edx, dword [esp + 0x14]
push edx
push str.taskid
lea eax, [esp + 0x30]
push eax
call fcn.00479bd0
mov ebx, dword [esp + 0x2c]
push ebx
push str.errcode
lea ecx, [esp + 0x30]
push ecx
call fcn.00479bd0
mov edi, dword [esp + 0x28]
mov eax, dword [edi - 0xc]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
jne 0x4bd388
call fcn.00473e70
cmp dword [ebp + 0x28], 0
je 0x4bd3c7
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4bd3c7
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bd3c7
cmp dword [ebp + 0x2c], 1
push 0
push esi
jne 0x4bd3b9
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4bd3c7
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bd3e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bd409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bd431
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4bda50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58dde9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], edi
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
mov ecx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x34], edi
mov edx, dword [esi]
lea eax, [esp + 0x28]
add edx, 0x28
push eax
lea ebx, [esp + 0x18]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
call fcn.004bd9b0
mov ebp, eax
mov dword [esp + 0x34], 1
mov ecx, dword [esi]
lea edx, [esp + 0x24]
add ecx, 0x1c
push edx
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], ecx
call fcn.004bd9b0
mov edi, eax
mov byte [esp + 0x34], 2
mov eax, dword [esi]
lea ecx, [esp + 0x20]
add eax, 0x10
push ecx
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.004bd9b0
mov dword [esp + 0x18], eax
mov byte [esp + 0x34], 3
mov edx, dword [esi]
lea eax, [esp + 0x1c]
add edx, 4
push eax
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.004bd9b0
mov byte [esp + 0x34], 4
mov ecx, dword [ebp]
mov edx, dword [edi]
mov eax, dword [eax]
mov edi, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ecx]
push edx
push eax
push str._s__s__s__s
call fcn.00479f80
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdb66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdb8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdbb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdbd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4c1680
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x20]
sub eax, dword [ebp + 0x18]
sub ebx, dword [ebp + 0x14]
mov edx, dword [ebp]
push esi
push edi
push 1
push eax
xor esi, esi
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x70]
push ebx
mov ecx, ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
call eax
mov edi, dword [ebp + 0xec]
cmp edi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
je 0x4c180a
call fcn.004799d0
mov esi, eax
test esi, esi
je 0x4c17be
mov ecx, dword [esi + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 2
mov dword [esp + 0x18], ecx
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
test eax, eax
je 0x4c170f
lea ebx, [esi + 0x14]
call fcn.004a7370
mov ebx, dword [esp + 0x30]
movzx edi, word [esp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
xor eax, eax
movzx ecx, bx
mov dword [esp + 0x18], eax
mov dword [esi + 0xac], eax
lea eax, [esp + 0x18]
push eax
shl edi, 0x10
or edi, ecx
mov ecx, dword [esp + 0x30]
push edi
push ecx
push 0x202
push 0
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
cmp dword [ebp + 0xec], eax
jne 0x4c1782
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4c1772
cmp word [eax], 0
je 0x4c1772
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4c17be
cmp dword [esi + 0x10], 0
je 0x4c17be
mov dword [esp + 0x28], 1
jmp 0x4c17be
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 1
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
test eax, eax
je 0x4c17a4
lea ebx, [esi + 0x14]
call fcn.004a7370
mov ecx, dword [esp + 0x2c]
push edi
push ecx
push 0x2a3
mov ecx, esi
call fcn.00479a50
mov dword [esp + 0x10], 1
xor eax, eax
cmp dword [esp + 0x28], eax
mov dword [ebp + 0xec], eax
je 0x4c17e1
mov ebx, esi
push 0x67
mov esi, ebp
call fcn.004c1140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
cmp dword [esp + 0x10], eax
je 0x4c180a
cmp dword [esp + 0x14], eax
je 0x4c180a
mov edx, dword [esp + 0x20]
cmp edx, dword [ebp + 0xe8]
jne 0x4c17ff
mov dword [ebp + 0xe8], eax
mov ebx, esi
push 0x6a
mov esi, ebp
call fcn.004c1140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
Function at 0x4c41b0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x58a9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00481430
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x1e]
movzx eax, word [esp + 0x1c]
movzx ecx, word [esp + 0x1a]
push edx
movzx edx, word [esp + 0x1c]
push eax
push ecx
push edx
push str.__02d__02d__02d__03d__n
lea edi, [esp + 0x20]
call fcn.004815b0
mov eax, dword [esp + 0x20]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c424d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x24
ret