joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68ad84
Capabilities:
Hash data using sha1

Disassembly:
test eax, eax
jne 0x68ad8e
mov eax, 1
ret
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x60], edx
xor edx, edx
mov dword [eax + 0x64], edx
xor eax, eax
ret

Function at 0x68aebc
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff0c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x49]
xor ecx, ecx
mov edx, 0x41
call fcn.00403708
lea eax, [ebp - 0x8a]
xor ecx, ecx
mov edx, 0x41
call fcn.00403708
cmp ebx, 0x40
jle 0x68af45
lea eax, [ebp - 0xf4]
call fcn.0068ad84
mov edx, esi
lea eax, [ebp - 0xf4]
mov ecx, ebx
call fcn.0068ae38
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
call fcn.0068adcc
lea edx, [ebp - 0x49]
mov eax, dword [ebp + 8]
mov ecx, 0x14
call fcn.00402e10
lea edx, [ebp - 0x8a]
mov eax, dword [ebp + 8]
mov ecx, 0x14
call fcn.00402e10
jmp 0x68af60
lea edx, [ebp - 0x49]
mov eax, esi
mov ecx, ebx
call fcn.00402e10
lea edx, [ebp - 0x8a]
mov eax, esi
mov ecx, ebx
call fcn.00402e10
mov ecx, 0x40
lea eax, [ebp - 0x49]
lea edx, [ebp - 0x8a]
xor byte [eax], 0x36
xor byte [edx], 0x5c
inc edx
inc eax
dec ecx
jne 0x68af6e
lea eax, [ebp - 0xf4]
call fcn.0068ad84
lea edx, [ebp - 0x49]
lea eax, [ebp - 0xf4]
mov ecx, 0x40
call fcn.0068ae38
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xf4]
mov ecx, dword [ebp - 8]
call fcn.0068ae38
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
call fcn.0068adcc
lea eax, [ebp - 0xf4]
call fcn.0068ad84
lea edx, [ebp - 0x8a]
lea eax, [ebp - 0xf4]
mov ecx, 0x40
call fcn.0068ae38
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
mov ecx, 0x14
call fcn.0068ae38
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
call fcn.0068adcc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6d6508
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405278
xor eax, eax
push ebp
push 0x6d65d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.006cda9c
call fcn.005dc978
xor eax, eax
push ebp
push 0x6d65ae
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0x6d65dc
lea edx, [ebp - 0x10]
mov eax, dword [0x6f3f24]
mov eax, dword [eax]
call fcn.00474f28
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040a840
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.005d89cc
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405090
mov eax, dword [ebp - 8]
call fcn.00405288
push eax
push 0x6d65e4
mov eax, ebx
call fcn.0045a2f4
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d65b5
call fcn.005dc990
ret

Function at 0x6dcc5c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x6f896c
test esi, esi
jne 0x6dcc76
xor eax, eax
jmp 0x6dcd78
cmp dword [ebp], 0
jne 0x6dcc81
call fcn.006dcbec
xor ebx, 0xffffffff
cmp edi, 8
jb 0x6dcd51
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x6dcc8d
test edi, edi
jbe 0x6dcd73
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x6dcd55
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402960
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d44d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x234], eax
push ebp
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], ebp
lea edi, [ebx + 4]
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebp
xor eax, eax
mov word [edi + 4], ax
mov dword [esp + 0x38], ebx
mov dword [ebx], vtable.TString.0
push 0x206
lea edx, [esp + 0x42]
mov dword [esp + 0x254], ebp
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x20], 1
mov word [esp + 0x48], cx
call fcn.0043ad60
mov ecx, dword [0x468228]
add esp, 0xc
push 0x104
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor edx, edx
lea eax, [esp + 0x3c]
mov word [esp + 0x20], dx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x402a14
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
lea esi, [esp + 0x20]
call fcn.00401760
mov esi, vtable.TString.0
mov dword [esp + 0x18], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x258], 1
call fcn.00401670
cmp dword [esp + 0x34], 8
mov dword [esp + 0x18], esi
jb 0x402a6b
mov eax, dword [esp + 0x20]
push eax
call fcn.00438e12
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.00438b17
add esp, 0x244
ret
Function at 0x402db0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x194
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x162]
push ecx
mov word [esp + 0x164], ax
call fcn.0043ad60
add esp, 0xc
push 0xf4
lea edx, [esp + 0x20]
push 0
push edx
mov dword [esp + 0x24], 0
call fcn.0043ad60
add esp, 0xc
lea ebx, [esp + 0x110]
call fcn.00402960
mov eax, dword [esp + 0x118]
mov ebx, 8
cmp dword [esp + 0x12c], ebx
jae 0x402e29
lea eax, [esp + 0x118]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
test esi, esi
jne 0x402e73
mov dword [esp + method.TString.virtual_0], vtable.TString.0
cmp dword [esp + 0x12c], ebx
jb 0x402e6c
mov eax, dword [esp + 0x118]
push eax
call fcn.00438e12
add esp, 4
xor eax, eax
jmp 0x402ff4
mov ebp, dword [sym.imp.KERNEL32.DLL_ReadFile]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x40
lea edx, [esp + 0x164]
push edx
push esi
mov dword [esp + 0x28], 0
call ebp
mov eax, 0x5a4d
cmp word [esp + 0x158], ax
je 0x402ed6
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + method.TString.virtual_0], vtable.TString.0
cmp dword [esp + 0x12c], ebx
jb 0x402e6c
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00438e12
add esp, 4
xor eax, eax
jmp 0x402ff4
mov edx, dword [esp + 0x194]
push 0
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push 0xf8
lea ecx, [esp + 0x24]
push ecx
push esi
call ebp
cmp dword [esp + 0x18], 0x4550
je 0x402f21
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x110]
call fcn.004010f0
xor eax, eax
jmp 0x402ff4
movzx eax, word [esp + 0x1e]
mov edi, dword [esp + 0x6c]
test eax, eax
jbe 0x402fbe
mov ebx, eax
xor eax, eax
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x139], eax
mov word [esp + 0x13d], ax
mov byte [esp + 0x13f], al
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
push 0x28
lea eax, [esp + 0x13c]
push eax
push esi
mov byte [esp + 0x144], 0
call ebp
sub ebx, 1
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
lea edi, [ecx + edx]
jne 0x402f34
mov ebx, 8
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [0x468230], edi
mov dword [esp + method.TString.virtual_0], vtable.TString.0
cmp dword [esp + 0x12c], ebx
jb 0x402fef
mov eax, dword [esp + 0x118]
push eax
call fcn.00438e12
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00438b17
add esp, 0x194
ret
Function at 0x4032b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x4681f4
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor edi, edi
xor eax, eax
mov word [esp + 0x18], ax
mov eax, esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x403300
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x18]
call fcn.00401760
mov esi, vtable.TString.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], edi
lea ebx, [esp + 0x10]
mov edi, 0x46833c
call fcn.00403e70
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x10], esi
jb 0x40334e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00438e12
add esp, 4
push 0x4681f4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x403b00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d37d
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x234], eax
push ebp
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], ebp
lea edi, [ebx + 4]
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebp
xor eax, eax
mov word [edi + 4], ax
mov dword [esp + 0x38], ebx
mov dword [ebx], vtable.TString.0
push 0x206
lea edx, [esp + 0x42]
mov dword [esp + 0x258], ebp
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x20], 1
mov word [esp + 0x48], cx
call fcn.0043ad60
mov ecx, dword [esp + 0x268]
mov edx, dword [0x468228]
add esp, 0xc
push 0x208
lea eax, [esp + 0x40]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x403bc0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
lea esi, [esp + 0x20]
call fcn.00401760
mov esi, vtable.TString.0
mov dword [esp + 0x18], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x25c], 1
call fcn.00401670
cmp dword [esp + 0x34], 8
mov dword [esp + 0x18], esi
jb 0x403c17
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00438e12
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.00438b17
add esp, 0x248
ret 4
Function at 0x409490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cacb
mov eax, dword fs:[0]
push eax
sub esp, 0x69c
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x698], eax
push ebx
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x6a8]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x90]
push 0
push eax
call fcn.0043ad60
push 0x410
lea ecx, [esp + 0x2a4]
push 0
push ecx
call fcn.0043ad60
xor edx, edx
add esp, 0x18
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], dx
mov dword [esp + 0x68], vtable.TString.0
mov dword [esp + 0x88], edx
mov dword [esp + 0x6b0], edx
mov edi, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 0x4681f4
call edi
push 0xffffffffffffffff
push 0
mov eax, 0x468304
lea ecx, [esp + 0x74]
call fcn.00401670
mov eax, dword [0x468320]
mov ebx, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0x4681f4
mov dword [esp + 0x8c], eax
call ebx
push 0x58
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0043ad60
add esp, 0xc
push 0x4681f4
call edi
mov edi, dword [0x468228]
push 0x4681f4
call ebx
push 0x208
lea edx, [esp + 0x90]
push edx
push 0xa4
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [esp + 0xc]
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x294]
push edx
mov dword [esp + 0x10], 0x58
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], 0x801004
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
cmp eax, 1
jne 0x4095f7
push 0xf03
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x84], 8
mov dword [esp + 0x68], vtable.TString.0
jb 0x409616
mov edx, dword [esp + 0x70]
push edx
call fcn.00438e12
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x6a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x698]
xor ecx, esp
call fcn.00438b17
add esp, 0x6a8
ret
Function at 0x40b050
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d008
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [edi + 0x98], eax
mov eax, dword [ebp + 0xc]
mov word [esp + 0x14], cx
mov ecx, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40b0a5
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x14]
call fcn.00401760
mov esi, vtable.TString.0
mov dword [esp + 0xc], esi
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0xa0]
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.00401670
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], esi
jb 0x40b0fa
mov edx, dword [esp + 0x14]
push edx
call fcn.00438e12
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40c9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d980
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x2c], eax
mov eax, edi
mov esi, edx
mov dword [esp + 0x24], edi
lea edx, [eax + 2]
jmp 0x40ca40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ca40
sub eax, edx
sar eax, 1
mov ebx, 0
mov dword [esp + 0x28], eax
mov edx, ebx
mov eax, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
je 0x40cb96
add esi, 0xfffffffc
jmp 0x40ca7b
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
movzx edi, word [edi + eax*2]
cmp di, 0x7b
jne 0x40ca96
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], ebx
jmp 0x40cb83
cmp di, 0x7d
jne 0x40cbd6
mov ecx, 7
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
mov dword [esp + 0x50], vtable.TString.0
mov dword [esp + 0x80], ebx
cmp edx, 1
jne 0x40cbb4
mov eax, dword [esi + 4]
add esi, 4
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov word [esp + 0x38], cx
mov ecx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], ebx
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40caf0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x38]
call fcn.00401760
mov esi, vtable.TString.0
mov dword [esp + 0x30], esi
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], 1
call fcn.00401670
mov byte [esp + 0x80], bl
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x30], esi
jb 0x40cb49
mov edx, dword [esp + 0x38]
push edx
call fcn.00438e12
add esp, 4
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
lea ebx, [esp + 0x50]
call fcn.00403e70
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x50], vtable.TString.0
jb 0x40cb81
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00438e12
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x28]
jb 0x40ca73
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00438b17
mov esp, ebp
pop ebp
ret
cmp edx, 2
jne 0x40cb4d
mov eax, dword [esi + 4]
add esi, 4
push eax
push 0x45a6fc
lea edi, [esp + 0x58]
call fcn.0040be00
add esp, 8
jmp 0x40cb4d
cmp dword [esp + 0x18], ebx
je 0x40cb83
push edi
call fcn.0043a29f
add esp, 4
test eax, eax
jne 0x40cb83
cmp di, 0x73
je 0x40cbff
cmp di, 0x53
je 0x40cbff
mov dword [esp + 0x14], 2
jmp 0x40cb83
mov dword [esp + 0x14], 1
jmp 0x40cb83
Function at 0x40cf70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x40
push esi
mov esi, eax
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cf80
sub eax, edx
sar eax, 1
jne 0x40cf98
xor eax, eax
pop esi
add esp, 0x40
ret
push 0x38
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0043ad60
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
add esp, 0xc
cmp byte [esp + 0x50], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
je 0x40cfd4
mov dword [esp + 0x14], str.runas
push edi
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp byte [esp + 0x58], 0
mov edi, eax
je 0x40d02c
mov ecx, dword [esp + 0x44]
mov esi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0x46
push ecx
call esi
cmp eax, 0x102
jne 0x40d02c
call fcn.0040d040
mov edx, dword [esp + 0x44]
push 0x46
push edx
call esi
cmp eax, 0x102
je 0x40d017
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x40
ret
Function at 0x40de20
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x40de27
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.0040de30
Function at 0x4143c0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x180
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x188]
push ebx
push ebp
mov ebp, dword [esp + 0x18c]
push esi
push 0x3e
xor ebx, ebx
lea edx, [esp + 0x146]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x24], eax
mov word [esp + 0x14c], cx
call fcn.0043ad60
add esp, 0xc
push 0xf4
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x2c], ebx
call fcn.0043ad60
add esp, 0xc
push 0x40
lea ecx, [esp + 0x144]
push ecx
push ebp
lea esi, [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x1c], ebx
call fcn.00421396
test al, 1
je 0x414594
cmp dword [esp + 0x10], 0x40
jne 0x414594
mov edx, 0x5a4d
cmp dx, word [esp + 0x140]
jne 0x414594
mov eax, dword [esp + 0x17c]
push ebx
cdq
push ebx
push edx
push eax
push ebp
mov eax, edi
call fcn.0042141d
test al, 1
je 0x414594
push 0xf8
lea eax, [esp + 0x24]
push eax
push ebp
mov eax, edi
call fcn.00421396
test al, 1
je 0x414594
cmp dword [esp + 0x10], 0xf8
jne 0x414594
cmp dword [esp + 0x20], 0x4550
jne 0x414594
movzx ecx, word [esp + 0x26]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], 0
test ecx, ecx
jbe 0x414570
xor eax, eax
push 0x28
lea ecx, [esp + 0x11c]
push ecx
mov dword [esp + 0x121], eax
mov word [esp + 0x125], ax
mov byte [esp + 0x127], al
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
push ebp
lea esi, [esp + 0x1c]
mov eax, edi
mov byte [esp + 0x124], 0
call fcn.00421396
test al, 1
je 0x41455d
cmp dword [esp + 0x10], 0x28
jne 0x414594
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
add ecx, edx
cmp ecx, ebx
jbe 0x41455d
mov ebx, ecx
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x4144ce
test al, 1
je 0x414594
xor esi, esi
push esi
push esi
push esi
push ebx
push ebp
mov eax, edi
call fcn.0042141d
test al, 1
je 0x414594
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], esi
lea eax, [esi + 1]
jmp 0x414596
xor eax, eax
mov ecx, dword [esp + 0x184]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00438b17
add esp, 0x180
ret 8
Function at 0x42477a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
lea edi, [eax + 0x78]
mov esi, dword [edi + 0x10]
sub esi, dword [edi + 0xc]
xor ebx, ebx
sar esi, 2
mov dword [esp + 0x10], 0x4245e5
mov dword [esp + 0x14], 0x4245f0
mov dword [esp + 0x18], 0x4245fb
mov dword [esp + 0x1c], 0x424606
mov dword [esp + 0x20], 0x424611
mov dword [esp + 0x24], 0x42461c
mov dword [esp + 0x28], 0x424627
mov dword [esp + 0x2c], 0x424632
mov dword [esp + 0x30], 0x424641
mov dword [esp + 0x34], 0x424650
mov dword [esp + 0x38], 0x42465b
mov dword [esp + 0x3c], 0x424666
mov dword [esp + 0x40], 0x424671
mov dword [esp + 0x44], 0x42467c
mov dword [esp + 0x48], 0x42468b
mov dword [esp + 0x4c], 0x42469a
mov dword [esp + 0x50], 0x4246a5
mov dword [esp + 0x54], 0x4246b0
mov dword [esp + 0x58], 0x4246bb
mov dword [esp + 0x5c], 0x4246c6
mov dword [esp + 0x60], 0x4246d1
mov dword [esp + 0x64], 0x4246dc
mov dword [esp + 0x68], 0x4246e7
mov dword [esp + 0x6c], 0x4246f2
mov dword [esp + 0x70], 0x4246fd
mov dword [esp + 0x74], 0x424708
mov dword [esp + 0x78], 0x424713
mov dword [esp + 0x7c], 0x42471e
test esi, esi
jbe 0x4248b2
add eax, 8
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
cmp ebx, eax
jb 0x424891
call fcn.00438e02
mov eax, dword [edi + 0xc]
push dword [eax + ebx*4]
lea eax, [esp + 0x14]
push dword [esp + 0x10]
push eax
push str.Kernel32.dll
call fcn.004249ac
add esp, 0x10
inc ebx
cmp ebx, esi
jb 0x42487f
mov eax, edi
call fcn.0041f136
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret