joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c1150
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ebe7a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], vtable.CCallback.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 0x30]
push eax
mov dword [esp + 0x30], 0x100c1260
mov dword [esp + 0x34], esi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edi, [esi + 0x14]
push edi
lea ecx, [esp + 0x18]
call dword [0x100f4988]
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, 0xffffffff
je 0x100c11fc
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100c1217
mov edx, dword [esp + 0x14]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edi, dword [edi]
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edi
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
xor edx, edx
mov edi, eax
cmp edi, ebx
setne dl
lea ecx, [esp + 0x14]
mov dword [esi + 0x24], edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
cmp edi, ebx
sete al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c3390
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100e9bb2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0x5c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
cmp eax, 0xffffffff
je 0x100c3403
push eax
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100c341f
mov eax, dword [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4
Function at 0x100c7b50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ed258
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x40]
push 0xffffffffffffffff
mov dword [esp + 0x1c], ecx
call edx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x60], ebx
mov edi, dword [esi + 0x10]
cmp edi, dword [esi + 0x14]
jbe 0x100c7ba6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], ecx
lea ecx, [ecx]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jbe 0x100c7bc6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
test ecx, ecx
je 0x100c7bd1
cmp ecx, eax
je 0x100c7bdb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x14]
je 0x100c7c4d
test ecx, ecx
jne 0x100c7c45
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x100c7bf8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
mov ebx, eax
cmp ebx, 0x2714
je 0x100c7c4d
mov ecx, dword [esi + 0x60]
test ecx, ecx
jne 0x100c7c4d
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100c7c49
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x100c7c39
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
add edi, 4
jmp 0x100c7bb0
mov eax, dword [ecx]
jmp 0x100c7bed
mov eax, dword [eax]
jmp 0x100c7c2e
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100d8eb0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100f28ca
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x14]
lea edi, [ebx + 4]
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x18], edi
call edx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d8f07
push esi
call fcn.100d8fa0
test eax, eax
jne 0x100d8f0d
push esi
call fcn.100d9090
mov eax, dword [ebx]
test eax, eax
je 0x100d8f23
push 0
call fcn.100a1bc0
add esp, 4
mov dword [ebx], 0
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0xfde9
lea ecx, [esp + 0x10]
lea esi, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.10022230
push 0
push 6
mov byte [esp + 0x2c], 2
mov eax, dword [eax]
push ebx
push eax
call fcn.100a3620
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x100e7da2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1012007c]
jne 0x100e7dac
repz ret
jmp fcn.100e8698

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4283d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4283e8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x42848c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x428487
mov ecx, dword [ebp - 8]
push ecx
call fcn.004289b0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x428446
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x428446
xor eax, eax
jmp 0x42848c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4283df
mov esp, ebp
pop ebp
ret
Function at 0x405701
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, ecx
mov ecx, 0x40a7a8
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ebx
call fcn.004032e7
test eax, eax
je 0x4058ce
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x40a06c], eax
cmp eax, 0xffffffff
je 0x4058ce
lea ecx, [ebp - 0x24]
call fcn.0040477d
lea ecx, [ebp - 0x24]
call fcn.004047c6
mov esi, eax
test esi, esi
js 0x4058a4
push 0x401e88
lea ecx, [ebp - 0x24]
call fcn.00404846
mov esi, eax
test esi, esi
js 0x4058a4
lea ecx, [ebp - 0x24]
call fcn.004047c6
mov esi, eax
test esi, esi
js 0x4058a4
push 0x401ea0
lea ecx, [ebp - 0x24]
call fcn.00404846
mov esi, eax
test esi, esi
js 0x4058a4
lea ecx, [ebp - 0x24]
call fcn.004047c6
mov esi, eax
test esi, esi
js 0x4058a4
lea edx, [ebp - 0x24]
xor ecx, ecx
call fcn.0040553b
mov esi, eax
test esi, esi
js 0x4058a4
push 0x401ec0
push 0x401dd8
lea ecx, [ebp - 0x24]
call fcn.00405344
mov esi, eax
test esi, esi
js 0x4058a4
lea ecx, [ebp - 0x24]
call fcn.004047e6
mov esi, eax
test esi, esi
js 0x4058a4
lea ecx, [ebp - 0x24]
call fcn.004047e6
mov esi, eax
test esi, esi
js 0x4058a4
push 0x401f40
lea ecx, [ebp - 0x24]
call fcn.00404846
mov esi, eax
test esi, esi
jne 0x405832
push 1
lea eax, [ebp - 0x1c]
push 0x401d70
push eax
call fcn.00404ef6
mov esi, eax
add esp, 0xc
test esi, esi
js 0x4058a4
lea ecx, [ebp - 0x24]
call fcn.004047e6
mov esi, eax
test esi, esi
js 0x4058a4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov edi, ebx
call fcn.00405057
mov esi, eax
test esi, esi
js 0x405899
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004045a4
mov esi, eax
test esi, esi
js 0x405899
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
mov eax, dword [ebp - 4]
add eax, eax
push eax
push edi
push dword [0x40a06c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405899
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
je 0x4058a4
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [0x40a06c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4058bf
mov eax, dword [ecx + 4]
push ecx
mov dword [ebp - 0x24], eax
call fcn.00408fc9
pop ecx
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x4058b2
lea ecx, [ebp - 0x1c]
call fcn.004048f6
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4062d1
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x40a064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push 0x402458
push edi
call fcn.00403282
pop ecx
pop ecx
mov esi, edi
mov ebx, 0x4024a0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push eax
push 0x20006
push edi
push dword [esi + 0x40a030]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4063d4
test byte [esi + 0x40a038], 1
je 0x40636d
push dword [esi + 0x40a034]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esi + 0x40a034]
test eax, eax
jne 0x40635d
push ecx
push ebx
push edi
call fcn.00406718
add esp, 0xc
jmp 0x40636d
push eax
push ecx
push 0x402520
push edi
call fcn.00406718
add esp, 0x10
test byte [esi + 0x40a038], 2
je 0x4063c8
push ecx
mov ecx, dword [esi + 0x40a034]
lea edx, [ebp - 0x20c]
call fcn.00408f2b
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4063b2
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call fcn.00406718
add esp, 0xc
jmp 0x4063c8
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x402520
push edi
call fcn.00406718
add esp, 0x10
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xc
cmp esi, 0x24
jb 0x4062ff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004092a0
mov esp, ebp
pop ebp
ret
Function at 0x403090
Capabilities:
Get disk information

Disassembly:
sub esp, 0x838
mov eax, dword [esp + 0x83c]
mov ecx, dword [eax]
mov edx, dword [0x43ff5c]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x43ff58]
mov dword [esp + 0x38], eax
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x40], 0x9e3779b9
mov dword [esp + 0x38], edx
call fcn.00403060
mov eax, dword [0x43ff60]
mov edx, dword [0x43ff64]
add dword [esp + 0x10], 0x23f
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], 0x20
jmp 0x403114
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov eax, dword [0x2aeca2c]
shl ecx, 4
add ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
cmp eax, 0xfa9
jne 0x403144
mov dword [0x2aeca28], 0xedeb2e40
jmp 0x403155
cmp eax, 0x3eb
jne 0x403155
mov dword [0x2ae9930], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
shr eax, 5
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
mov dword [0x2aeca24], 0xf4ea3dee
call fcn.00403070
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor dword [esp + 0x18], eax
cmp dword [0x2aeca2c], 0x213
jne 0x4031dc
push 0
push 0
call edi
lea ecx, [esp + 0x48]
push ecx
push 0
call ebx
push 0
push 0x402c40
push 0x402ca4
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
sub esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov eax, esi
mov dword [esp + 0x30], esi
call fcn.00403050
mov edx, dword [esp + 0x3c]
add dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
cmp dword [0x2aeca2c], 0x121
jne 0x403248
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
call fcn.00403080
mov eax, dword [esp + 0x40]
sub dword [esp + 0x10], eax
sub dword [esp + 0x2c], 1
jne 0x403110
mov eax, dword [esp + 0x84c]
mov edx, dword [esp + 0x28]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x838
ret 4
Function at 0x409ec0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43fbc0]
jne 0x409eca
repz ret
jmp fcn.0040df3b

Function at 0x40d794
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409220
and dword [ebp - 4], 0
cmp dword [0x441d30], 0
mov ebx, eax
jne 0x40d845
push 0x401b28
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d8f6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b1c
push edi
call esi
test eax, eax
je 0x40d8f6
push eax
call fcn.004091ae
mov dword [esp], 0x401b0c
push edi
mov dword [0x441d30], eax
call esi
push eax
call fcn.004091ae
mov dword [esp], 0x401af8
push edi
mov dword [0x441d34], eax
call esi
push eax
call fcn.004091ae
mov dword [esp], 0x401adc
push edi
mov dword [0x441d38], eax
call esi
push eax
call fcn.004091ae
pop ecx
mov dword [0x441d40], eax
test eax, eax
je 0x40d845
push 0x401ac4
push edi
call esi
push eax
call fcn.004091ae
pop ecx
mov dword [0x441d3c], eax
mov eax, dword [0x441d3c]
cmp eax, ebx
je 0x40d89d
cmp dword [0x441d40], ebx
je 0x40d89d
push eax
call fcn.00409229
push dword [0x441d40]
mov esi, eax
call fcn.00409229
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d89d
test edi, edi
je 0x40d89d
call esi
test eax, eax
je 0x40d894
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d894
test byte [ebp - 0xc], 1
jne 0x40d89d
or dword [ebp + 0x10], 0x200000
jmp 0x40d8d6
mov eax, dword [0x441d34]
cmp eax, ebx
je 0x40d8d6
push eax
call fcn.00409229
pop ecx
test eax, eax
je 0x40d8d6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d8d6
mov eax, dword [0x441d38]
cmp eax, ebx
je 0x40d8d6
push eax
call fcn.00409229
pop ecx
test eax, eax
je 0x40d8d6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x441d30]
call fcn.00409229
pop ecx
test eax, eax
je 0x40d8f6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d8f8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401545
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a4bf4], 1
mov ecx, 0x8328
jne 0x4015cc
or dword [0x4a4bf4], 1
lea eax, [ecx - 0x1b]
mov edx, eax
add eax, 0x67
mov word [0x49e9e8], ax
mov word [0x49e9dc], dx
add edx, 0x6f
lea eax, [ecx + 0x24]
mov word [0x49e9ea], ax
add eax, 0x11
mov word [0x49e9ec], ax
mov word [0x49e9de], dx
lea edx, [ecx + 0x45]
lea eax, [ecx + 0x1d]
mov word [0x49e9ee], ax
mov word [0x49e9e0], dx
add edx, 0xfffffff8
add eax, 0x13
mov word [0x49e9f0], ax
lea eax, [ecx + 0x4f]
mov word [0x49e9f2], ax
mov eax, ecx
mov word [0x49e9e2], dx
mov dword [0x49e9e4], 0x830d8378
mov word [0x49e9f4], ax
xor eax, eax
mov edx, ecx
xor dx, word [eax + 0x49e9dc]
add eax, 2
mov word [eax + 0x49f066], dx
cmp eax, 0x1a
jb 0x4015ce
mov eax, 0x49f068
ret

Function at 0x401637
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4a4be8], 1
mov edx, 0x8328
jne 0x4016f7
push esi
lea ecx, [edx - 0x1e]
mov eax, ecx
mov word [0x49ea10], ax
add eax, 0xfffffffe
or dword [0x4a4be8], 1
mov word [0x49ea12], ax
lea eax, [edx - 0x23]
mov esi, eax
mov word [0x49ea14], si
mov word [0x49ea16], ax
add eax, 0x46
mov word [0x49ea18], ax
lea eax, [edx + 0x32]
mov esi, eax
mov word [0x49ea1a], si
add esi, 0xffffffef
mov word [0x49ea1c], si
lea esi, [edx + 0x33]
mov word [0x49ea1e], si
add esi, 0xffffffe5
mov word [0x49ea20], si
lea esi, [edx + 0x4f]
mov word [0x49ea22], si
mov esi, eax
mov word [0x49ea24], si
add esi, 0xfffffff3
add eax, 2
mov word [0x49ea26], si
lea esi, [edx + 0x30]
mov word [0x49ea2e], ax
mov eax, edx
mov word [0x49ea28], si
mov dword [0x49ea2a], 0x835a8347
mov dword [0x49ea30], 0x830a8315
mov word [0x49ea34], ax
pop esi
xor eax, eax
mov ecx, edx
xor cx, word [eax + 0x49ea10]
add eax, 2
mov word [eax + 0x49f09a], cx
cmp eax, 0x26
jb 0x4016f9
mov eax, 0x49f09c
ret