joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446c22
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x457758
call fcn.00439778
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x46596c], edi
jne 0x446c66
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x446c51
mov dword [0x46596c], ebx
jmp 0x446c66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x446c66
mov dword [0x46596c], 2
mov eax, dword [0x46596c]
cmp eax, ebx
jne 0x446c86
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x446d49
cmp eax, 2
je 0x446c8f
cmp eax, edi
jne 0x446cb7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x446ca2
mov eax, dword [0x465918]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x446cbe
xor eax, eax
jmp 0x446d49
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.004398d0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x446cf1
cmp esi, edi
jne 0x446d07
push dword [ebp - 0x20]
call fcn.00439612
pop ecx
mov esi, eax
cmp esi, edi
je 0x446cb7
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x446d3a
cmp dword [ebp + 0x14], edi
jne 0x446d24
push edi
push edi
jmp 0x446d2a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x446d46
push esi
call fcn.00439624
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.004397b3
ret
Function at 0x446d52
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x457768
call fcn.00439778
xor esi, esi
cmp dword [0x465970], esi
jne 0x446d96
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x446d81
mov dword [0x465970], edi
jmp 0x446d96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x446d96
mov dword [0x465970], 2
mov eax, dword [0x465970]
cmp eax, 2
je 0x446e77
cmp eax, esi
je 0x446e77
cmp eax, 1
jne 0x446ddb
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x446dc4
mov eax, dword [0x465918]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x446de2
xor eax, eax
jmp 0x446e89
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.004398d0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x446e18
cmp edi, esi
jne 0x446e33
lea eax, [ebx + ebx]
push eax
call fcn.00439612
pop ecx
mov edi, eax
cmp edi, esi
je 0x446ddb
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x446e66
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x446e50
push esi
push esi
jmp 0x446e56
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x446e72
push edi
call fcn.00439624
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x446e89
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.004397b3
ret
Function at 0x447598
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4475b1
or eax, 0xffffffff
jmp 0x447612
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x44760e
push 0x3d
push esi
call fcn.004477d9
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x44760e
cmp esi, eax
je 0x44760e
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4654c4]
sete cl
cmp eax, dword [0x4654c8]
mov dword [ebp - 8], ecx
jne 0x4475f4
mov edi, eax
call fcn.00447537
mov dword [0x4654c4], eax
cmp eax, ebx
jne 0x44764d
cmp dword [ebp + 0xc], ebx
je 0x447616
cmp dword [0x4654cc], ebx
je 0x447616
call fcn.00446a51
test eax, eax
je 0x44764d
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x44761f
xor eax, eax
jmp 0x447611
push 4
call fcn.00439612
cmp eax, ebx
pop ecx
mov dword [0x4654c4], eax
je 0x44760e
mov dword [eax], ebx
cmp dword [0x4654cc], ebx
jne 0x44764d
push 4
call fcn.00439612
cmp eax, ebx
pop ecx
mov dword [0x4654cc], eax
je 0x44760e
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4654c4]
call fcn.004474ea
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4476ae
cmp dword [esi], ebx
je 0x4476ae
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00439624
cmp dword [ebp - 8], ebx
pop ecx
jne 0x447691
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4476ef
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x447688
mov eax, edi
shl eax, 2
push eax
push dword [0x4654c4]
call fcn.00439f0b
cmp eax, ebx
pop ecx
pop ecx
je 0x4476ef
jmp 0x4476ea
cmp dword [ebp - 8], ebx
jne 0x44775a
cmp edi, ebx
jge 0x4476bd
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4654c4]
call fcn.00439f0b
cmp eax, ebx
pop ecx
pop ecx
je 0x44760e
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4654c4], eax
cmp dword [ebp + 0xc], ebx
je 0x447744
push dword [ebp - 4]
call fcn.00438210
inc eax
inc eax
push eax
call fcn.00439612
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x447744
push dword [ebp - 4]
push esi
call fcn.004382b0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x44773d
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00439624
pop ecx
cmp dword [ebp - 8], ebx
je 0x447752
push dword [ebp - 4]
call fcn.00439624
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x447611
push dword [ebp - 4]
call fcn.00439624
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x44761b
Function at 0x405e30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x426e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40410c
call fcn.00406a91
push 4
mov dword [esp + 0x18], 0
call fcn.00407a84
mov edi, eax
add esp, 4
test edi, edi
je 0x405ea4
push ebx
call fcn.00406969
mov dword [edi], eax
call fcn.00406728
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406a52
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405e98
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406a7a
pop ebx
jmp 0x405ea6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4084f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42af10]
jne 0x4084fb
repz ret
jmp fcn.0040d34c
Function at 0x4117b2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42af10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040a61a
and dword [ebp - 0x14], 0
cmp dword [0x42f64c], 0
mov dword [ebp - 0x18], eax
jne 0x411865
push 0x40379c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41190d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403790
push ebx
call edi
test eax, eax
je 0x41190d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403780
push ebx
mov dword [0x42f64c], eax
call edi
push eax
call esi
push 0x40376c
push ebx
mov dword [0x42f650], eax
call edi
push eax
call esi
push 0x403750
push ebx
mov dword [0x42f654], eax
call edi
push eax
call esi
mov dword [0x42f65c], eax
test eax, eax
je 0x411865
push 0x403738
push ebx
call edi
push eax
call esi
mov dword [0x42f658], eax
mov eax, dword [0x42f658]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4118be
cmp dword [0x42f65c], ecx
je 0x4118be
push eax
call esi
push dword [0x42f65c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4118be
test ebx, ebx
je 0x4118be
call edi
test eax, eax
je 0x4118b5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4118b5
test byte [ebp - 8], 1
jne 0x4118be
or dword [ebp + 0x10], 0x200000
jmp 0x4118f1
mov eax, dword [0x42f650]
cmp eax, dword [ebp - 0x18]
je 0x4118f1
push eax
call esi
test eax, eax
je 0x4118f1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4118f1
mov eax, dword [0x42f654]
cmp eax, dword [ebp - 0x18]
je 0x4118f1
push eax
call esi
test eax, eax
je 0x4118f1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42f64c]
call esi
test eax, eax
je 0x41190d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41190f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004084f1
leave
ret
Function at 0x424d60
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.00412100
cmp dword [0x7b33e4], 0x37
jne 0x424dfa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0x7b43d8]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x434434]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x425080
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b33e4]
sub esp, 0x43c
push ebx
push ebp
push esi
mov esi, dword [0x434434]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x425286
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jmp 0x4250c6
mov esi, dword [esp + 0x24]
xor edi, edi
cmp dword [0x7b33e4], 0x1c
jne 0x4250dd
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x42b2d0]
mov ebx, dword [0x42b2d8]
mov ebp, dword [0x42b2dc]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42b2d4]
mov dword [esp + 0x1c], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 0x20
jmp 0x425126
mov eax, dword [esp + 0x1c]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x20], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x7b3354], edi
mov eax, dword [esp + 0x20]
add dword [0x7b3354], eax
mov eax, dword [0x7b3354]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x38]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
cmp dword [0x7b33e4], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x4251bd
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0x7b33e4], 0x979
mov dword [0x7b3358], 0xff6b3619
mov dword [0x7b335c], 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4251f7
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
sub esi, dword [esp + 0x18]
dec dword [esp + 0x2c]
jne 0x425120
cmp dword [0x7b33e4], 0x8d4
jne 0x42523b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x7b33e4], 0x17
jne 0x425275
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x48]
push ecx
push 0x403f40
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x24], esi
jne 0x4250c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret
Function at 0x4012c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407120
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x40a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0x18], ecx
cmp ecx, ebx
je 0x401378
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x401378
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
sub ecx, 4
dec edx
mov dword [ebp - 0x14], ecx
mov edi, 0x9b02d660
mov dword [ebp - 0x10], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x40136e
nop
movsx esi, bl
lea ecx, [ecx + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [ecx - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x401340
cmp edi, 0xfdc18981
je 0x40137c
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x401325
mov eax, dword [eax]
jmp 0x401300
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push 0
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
call ecx
mov ebx, dword [ebp - 0x20]
lea ecx, [ebx + 4]
mov dword [ebx], eax
push ecx
mov ecx, ebx
call fcn.004013d0
mov eax, ebx
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 0x4059a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40743d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x40a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.004061b6
mov dword [ebp - 0x14], eax
mov dword [eax], 0x4019c0
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x405ff0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x405a21
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004060c8
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x406a4e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406a8d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406a8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406a8d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406a8d
cmp dword [ecx + 0x74], 0xe
jbe 0x406a8d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42f270
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49f44b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048fc1c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42f2f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048d0ed
mov eax, dword [eax]
push 0x4be204
push eax
call fcn.0047fdb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048fea7
test bl, bl
je 0x42f2f2
push 0x4be204
lea ecx, [esp + 0xc]
call fcn.00490283
push 0x4c1d7c
lea ecx, [esp + 0xc]
call fcn.00490283
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42f32e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048fea7
jmp 0x42f3f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42f3b2
lea edx, [esp + 0x7c]
push 0x4c1d78
push edx
call fcn.0047fdb4
add esp, 8
test eax, eax
je 0x42f3b2
lea eax, [esp + 0x7c]
push 0x4c1d74
push eax
call fcn.0047fdb4
add esp, 8
test eax, eax
je 0x42f3b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42f342
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048fea7
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42fbf0
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 0x42fc52
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 0xc
Function at 0x42fc60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49f4cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c83d0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42fd98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42fcc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048fea7
xor eax, eax
jmp 0x42fe0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00490030
push esi
lea ecx, [esp + 0xc]
call fcn.004902bf
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42fded
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0042fbf0
test eax, eax
jne 0x42fded
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0042fbf0
test eax, eax
jne 0x42fded
lea eax, [esp + 0x14]
push 0x4c1d90
push eax
call fcn.00480f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fdcc
lea ecx, [esp + 0x14]
push 0x4c1d8c
push ecx
call fcn.00480ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fdcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42fdcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048ffe0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42fcde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048fea7
xor eax, eax
jmp 0x42fe0f
mov byte [esi], 0
push 0x4c1d88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048fea7
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4