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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4517a3
push esi
call fcn.00454870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45179c
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 0x451829
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451812
mov eax, dword [esi + 8]
test eax, eax
je 0x4517c7
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 0x45180e
cmp eax, 2
je 0x451812
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4517ba
cmp eax, 3
je 0x4517ed
cmp eax, 1
jne 0x4517ba
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 0x4517ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4517ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451850
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451838
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451850
add esp, 4
pop esi
ret

Function at 0x45d8e0
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 0x45d983
test eax, eax
jbe 0x45d983
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45d983
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 0x45d92e
xor esi, esi
jmp 0x45d934
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45d95f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00461ca0
add esi, eax
push esi
mov ebx, esi
call fcn.00461ca0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45d940
pop ebp
test edi, edi
pop edi
jne 0x45d983
test ebx, ebx
je 0x45d983
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00473910
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45dae5
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 0x45dbfd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45dbfd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004854fb
mov esi, eax
test esi, esi
je 0x45dbfd
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 0x45dbfd
mov ecx, esi
call fcn.0045da70
cmp edi, eax
jge 0x45dbfd
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 0x45db83
mov dword [esp + 0x34], 1
jmp 0x45dbde
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45dbfd
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.0045cfd0
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 0x485e9f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x485ed7
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.00483f2c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00483f04
jmp 0x485ee3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48758d
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 0x4875cf
call fcn.0048d276
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4875cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4875c6
xor eax, eax
jmp 0x4875d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004875dd
pop edi
pop esi
pop ebx
ret 4
Function at 0x48d7a6
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 0x48d7d4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48d7f2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048d70c
jmp 0x48d7f2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48d7f2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048d70c
test edi, edi
mov eax, edi
jne 0x48d7dc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41f0d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41f0f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f0f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f0e8
mov eax, 1
add ebx, ebx
jne 0x41f10b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f100
jne 0x41f11c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f100
xor ecx, ecx
sub eax, 3
jb 0x41f130
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f1a2
mov ebp, eax
add ebx, ebx
jne 0x41f13b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f16c
inc ecx
add ebx, ebx
jne 0x41f158
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f14d
jne 0x41f169
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f14d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f18c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f17d
jmp 0x41f0ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f18c
add edi, ecx
jmp 0x41f0ee
pop esi
mov edi, esi
mov ecx, 0x7b7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f1aa
cmp byte [edi], 5
jne 0x41f1aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41f1af
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f227
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x208f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f1dc
mov ecx, edi
jns 0x41f20b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2099c]
or eax, eax
je 0x41f221
mov dword [ebx], eax
add ebx, 4
jmp 0x41f1f9
call dword [esi + 0x209a0]
popal
jmp section.UPX0
Function at 0x401df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4564b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.00437f18
push eax
lea ecx, [esp + 0x30]
call fcn.0043fa7c
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.00437f18
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0043f932
mov eax, dword [esi + 0x105]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x401f26
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x101]
call fcn.0043f1e2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x111]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0043fd24
test edi, edi
je 0x401ed2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x105]
push edi
push eax
call fcn.0043f323
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x119], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x105]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x101]
sub ecx, edi
test edx, edx
je 0x401f47
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043faee
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4

Function at 0x404310
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x24e]
test eax, eax
je 0x404323
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x404333
xor eax, eax
pop esi
ret 4
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
push 0
push esi
push 0x404370
push 0
push 0
mov dword [esi + 0x24e], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
mov dword [esi + 0x130], eax
test eax, eax
setne dl
mov eax, edx
pop esi
ret 4
Function at 0x406b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x456f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x475730]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi + 0x10], eax
xor edi, edi
lea ecx, [esi + 0x34]
push edi
push edi
push edi
mov dword [esp + 0x20], edi
call fcn.0041a037
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 4], edi
mov dword [esi], 0x45beac
mov dword [esi + 0x18], 0x2710
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407b50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x457078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x479cb0]
test eax, eax
jne 0x407bfb
mov eax, dword [0x475730]
push esi
mov dword [esp + 4], eax
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.0043bddf
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.0043be2e
push str.winhlp32.exe
lea ecx, [esp + 8]
call fcn.0043bd8b
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x407be2
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x407be2
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [0x479cb0], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0043b9af
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407c10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407c72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x407e80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x407f69
lea eax, [esp + 0x10]
push eax
push str..htm
push SysReAllocStringLen
call fcn.00407c10
add esp, 0xc
test eax, eax
jne 0x407f69
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x10]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push eax
push SysReAllocStringLen
call fcn.00407c10
add esp, 0xc
test eax, eax
jne 0x407f69
lea ecx, [esp + 0x10]
push str.__1_
push ecx
call fcn.00422a20
mov esi, eax
add esp, 8
test esi, esi
jne 0x407f43
lea edx, [esp + 0x10]
push 0x4706c4
push edx
call fcn.004229a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x407f43
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x407f46
mov byte [esi], 0
push 0x470224
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x40aa90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4575a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
xor ecx, ecx
push esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ecx
lea edx, [esp + 4]
mov dword [esp + 0x18], 1
mov eax, dword [eax - 8]
push edx
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0043bddf
push eax
call fcn.00419a50
add esp, 0xc
lea ecx, [esp + 0x24]
mov esi, eax
push 0xffffffffffffffff
call fcn.0043be2e
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push eax
push esi
call fcn.00434951
mov esi, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.0043b724
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.0043b9af
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call fcn.0043b9af
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40bf80
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4578f8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
push 0x10
call fcn.0043b6f0
add esp, 4
test eax, eax
je 0x40bfbf
mov ecx, dword [0x475730]
mov esi, eax
mov dword [eax], ecx
mov edx, dword [0x475730]
mov dword [eax + 4], edx
jmp 0x40bfc1
xor esi, esi
mov eax, dword [esp + 0x24]
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.0043b724
lea ecx, [esp + 0x28]
push ecx
call fcn.0040aa90
add esp, 8
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
call fcn.0043bae8
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.0043b9af
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add edi, 0x44
mov ecx, esi
push edi
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
call fcn.0043bae8
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x40c050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40c03c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0xc
Function at 0x4107c0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x458160
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [esp + 0x78]
xor ebx, ebx
cmp esi, ebx
je 0x41094e
cmp byte [esi], bl
je 0x41094e
push esi
lea ecx, [esp + 0x7c]
call fcn.0043ba1d
push 0x5c
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], ebx
call fcn.00434df1
inc eax
lea ecx, [esp + 0x78]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00434d79
push ebx
push esi
mov byte [esp + 0x78], 1
call fcn.004239b0
add esp, 8
test eax, eax
jne 0x410930
call fcn.004199c0
test eax, eax
je 0x410860
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x7c]
push 1
push ecx
push edx
push esi
push str.RunAs
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0xffffffff
je 0x410930
jmp 0x4108f5
push edi
lea eax, [esp + 0x7c]
push 0x470224
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0043bc44
mov edx, dword [esp + 0x80]
mov byte [esp + 0x74], 2
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0043bc44
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 4
call fcn.0043b9af
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
lea ecx, [esp + 0x18]
call fcn.0043bddf
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.0043bddf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
pop edi
mov byte [esp + 0x70], 1
lea ecx, [esp + 0xc]
jne 0x41092b
call fcn.0043b9af
lea ecx, [esp + 8]
mov byte [esp + 0x70], bl
call fcn.0043b9af
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.0043b9af
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
call fcn.0043b9af
lea ecx, [esp + 8]
mov byte [esp + 0x70], bl
call fcn.0043b9af
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.0043b9af
mov ecx, dword [esp + 0x68]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
Function at 0x4116d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
lea ecx, [esp + 4]
push eax
call fcn.0043ba1d
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41172b
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0043b9af
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
mov edx, dword [esp + 0x3c]
lea ecx, [esp]
push edx
call fcn.0043ba1d
mov eax, dword [esp]
mov byte [esp + 0x2c], 1
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411757
push str._____t_r_n_____t_r_n____t_r_n_____t_r_n_____t_r_n__
lea ecx, [esp + 4]
call fcn.0043bb38
mov eax, dword [0x475730]
push ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 4]
mov byte [esp + 0x30], 3
push ecx
lea ecx, [esp + 0x14]
call fcn.00402e60
mov edx, dword [esp + 8]
mov bl, 4
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call fcn.00403140
test eax, eax
je 0x411824
push esi
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x44]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00403240
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 5
call fcn.0043bae8
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], bl
call fcn.0043b9af
lea ecx, [esp + 0x3c]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403240
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 6
call fcn.0043bae8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], bl
call fcn.0043b9af
lea ecx, [esp + 0x40]
call fcn.0043bed1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.00437614
mov ecx, eax
call fcn.0043bb38
lea ecx, [esp + 0x14]
call fcn.004031a0
test eax, eax
jne 0x411799
pop esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.00403100
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.0043b9af
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call fcn.0043b9af
lea ecx, [esp + 4]
mov byte [esp + 0x30], 0
call fcn.0043b9af
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043b9af
mov ecx, dword [esp + 0x28]
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x416150
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x458780
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push esi
push edi
mov edi, ecx
push 0
push 0
mov eax, dword [edi + 0x9c]
push 0x188
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
call fcn.0044e911
mov ebp, dword [eax + 4]
test esi, esi
jl 0x4162cd
test ebp, ebp
je 0x4162cd
lea ecx, [esp + 0x18]
call fcn.00436f4a
push esi
lea ecx, [edi + 0x80]
mov dword [esp + 0x38], 0
call fcn.004094e0
mov esi, eax
test esi, esi
je 0x4162bc
mov ecx, dword [0x475730]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [ebp + 0x140]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._sDownloadwtid__s.exe
push ecx
mov byte [esp + 0x44], 1
call fcn.00435199
mov eax, dword [esp + 0x4c]
add esp, 0x10
test eax, eax
je 0x416203
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0043b724
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.0043527d
lea ecx, [esp + 0x10]
call fcn.004351ee
add esi, 0x18
lea ecx, [esp + 0xc]
push esi
call fcn.0043b724
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 3
call fcn.0043527d
lea ecx, [esp + 0xc]
call fcn.004351ee
test edi, edi
je 0x416252
mov edi, dword [edi + 0x1c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push edi
mov ecx, ebp
call fcn.004103b0
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x34], 2
call fcn.0043b9af
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.0043b9af
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.0043b9af
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.00436f7d
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.00436f7d
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret 4