joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ea6c
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
inc eax
and dword [esi + 0x24], 0
and dword [ebx], 0
cmp dword [ebp + 0xc], 0
push edi
jbe 0x45ec2c
cmp dword [esi + 0x5c], 0x2710
jbe 0x45eaab
cmp dword [esi + 0x54], 0
je 0x45eaab
mov ecx, esi
call fcn.0045ede2
mov edi, eax
imul edi, edi, 0xf
jmp 0x45eab0
mov edi, 0x5dc
push 1
test edi, edi
pop eax
cmove edi, eax
cmp byte [esi + 0x90], 0
je 0x45eacd
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x45eada
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebx]
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
add eax, dword [ebx]
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x45eb23
mov eax, dword [esi]
push 0
lea ecx, [esi + 0xc]
push ecx
push dword [esi + 0x28]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x45ec33
cmp byte [esi + 0x90], 0
je 0x45eb3e
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
jmp 0x45eb4e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x45ec29
mov ecx, dword [ebp + 0x10]
add dword [ecx], eax
add dword [esi + 0x4c], eax
add dword [esi + 0x54], eax
add dword [esi + 0x60], eax
sub edi, dword [ebp - 0x20]
sbb ebx, dword [ebp - 0x1c]
mov eax, edi
or eax, ebx
jne 0x45eb78
push 5
pop edi
xor ebx, ebx
push 0
push 0x3e8
push ebx
push edi
call fcn.004459f0
mov ecx, dword [esi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0xc], edx
cmp edx, ecx
jl 0x45ebcb
mov edx, dword [ebp - 8]
jg 0x45eba5
cmp edx, eax
jb 0x45ebcb
push ecx
push eax
push dword [ebp - 0xc]
push edx
call fcn.00450a70
add dword [esi + 0x5c], eax
add dword [esi + 0x68], eax
push 0
push 0x3e8
push ebx
push ecx
mov dword [ebp - 0xc], edx
call fcn.00445450
mov edi, eax
mov ebx, edx
push 0
push 0xf4240
push ebx
push edi
call fcn.004459f0
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edx
push eax
call fcn.00445450
add dword [esi + 0x58], eax
add dword [esi + 0x64], eax
mov ecx, 0x3e8
cmp dword [esi + 0x58], ecx
jbe 0x45ec09
mov eax, dword [esi + 0x58]
xor edx, edx
div ecx
add dword [esi + 0x5c], eax
mov dword [esi + 0x58], edx
cmp dword [esi + 0x64], ecx
jbe 0x45ec1b
mov eax, dword [esi + 0x64]
xor edx, edx
div ecx
add dword [esi + 0x68], eax
mov dword [esi + 0x64], edx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ebx], eax
jb 0x45ea8e
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor al, al
jmp 0x45ec2c
Function at 0x45ec71
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.0045e4d9
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x45ed3a
inc dword [esi + 8]
mov eax, dword [esi + 8]
push ebx
xor ecx, ecx
push 2
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044203b
inc dword [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044203b
inc dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044203b
inc dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x28]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044203b
inc dword [esi + 0x30]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044203b
inc dword [esi + 0x38]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044203b
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x45ed7d
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 4
call fcn.0045e85a
movzx edi, al
test al, al
je 0x45edb4
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
jne 0x45edc6
or dword [ebp - 4], 0xffffffff
jmp 0x45edcc
mov eax, dword [esi + 0x48]
add dword [ebp - 4], eax
mov ecx, esi
call fcn.0045e0fb
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45ede2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
sub eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, 0x7530
jbe 0x45ee1f
mov eax, dword [esi + 0x60]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], edi
call ebx
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jne 0x45ee2b
mov eax, dword [esi + 0x54]
jmp 0x45ee77
push 0xa
pop ebx
mov dword [ebp - 4], edi
test edi, edi
jne 0x45ee75
or eax, 0xffffffff
xor edx, edx
div ebx
mov edi, dword [esi + 0x54]
cmp edi, eax
jbe 0x45ee4d
shr edi, 1
shr ecx, 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x5c]
imul eax, ebx
xor edx, edx
div ecx
xor edx, edx
imul eax, eax, 0x3e8
div ebx
imul ebx, ebx, 0xa
mov edi, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 3
jb 0x45ee31
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x460a00
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472228
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x49e850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
or esi, 0xffffffff
mov dword [ebp - 4], 0
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x460ab9
push edi
push edi
push edi
push 2
push edi
mov esi, ebx
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x460ab9
push 0
push 0
push 0
push 4
mov edi, eax
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 8], eax
test eax, eax
je 0x460ab9
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ebx
call fcn.004607a0
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp + 0xb], 1
test eax, eax
je 0x460abd
push ebx
call eax
jmp 0x460abd
mov byte [ebp + 0xb], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x460ace
test ebx, ebx
je 0x460ace
push edi
call ebx
cmp esi, 0xffffffff
je 0x460ada
test ebx, ebx
je 0x460ada
push esi
call ebx
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4062cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
push 0x14
call sub.MSVCRT.dll_malloc
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4062fd
xor eax, eax
jmp 0x406407
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], 1
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x40632e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.00407ddc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
jne 0x40634a
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCRT.dll_free
add esp, 4
xor eax, eax
jmp 0x406407
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x406374
push 2
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40637c
jmp 0x4063d8
push 0x40f14c
push 0x40f150
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4063bf
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4063bf
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call fcn.00405ca0
add esp, 4
test eax, eax
jne 0x4063d3
jmp 0x4063d8
mov eax, dword [ebp - 0xc]
jmp 0x406407
cmp dword [ebp - 4], 0
jl 0x4063ea
mov ecx, dword [ebp - 4]
push ecx
call fcn.00407de2
add esp, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call sub.MSVCRT.dll_free
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_free
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x406992
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x4069d8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x406a09
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
cmp eax, dword [ebp + 0xc]
ja 0x406a07
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 8]
add edx, dword [eax + 8]
cmp dword [ebp + 0xc], edx
jae 0x406a07
mov eax, dword [ebp - 8]
jmp 0x406a0b
jmp 0x4069c6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402030
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45f21b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x18
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], 1
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x60], 1
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, ebx
mov dword [esp + 0x18], ebx
je 0x4020c4
push 0x804
mov dword [edi + 0x10], ebx
mov dword [edi + 8], ebx
mov dword [edi], ebx
mov dword [edi + 0xc], 0x804
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
mov dword [edi + 0x14], eax
jne 0x4020a5
mov dword [edi + 0xc], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x4020b6
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], edi
jmp 0x4020b9
mov dword [edi + 4], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4020c6
mov dword [eax], edi
jmp 0x4020c6
xor edi, edi
or eax, 0xffffffff
xor ecx, ecx
cmp edi, ebx
mov dword [esi + 0x20], edi
mov dword [esi], edi
mov edx, dword [esi + 0x20]
sete cl
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 4], edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], 1
mov dword [esi + 0x40], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x7c], ebx
mov byte [esi + 0x84], bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x85], bl
mov byte [esi + 0x8c], 1
mov byte [esi + 0x9c], 1
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41c7e0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x488
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
test edx, edx
je 0x41c8a0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41c8a0
push eax
lea eax, [esp + 0x98]
push eax
push edx
call fcn.0044fa20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x41c8a0
push esi
call fcn.0044aa30
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
push edi
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
push eax
lea ecx, [esp + 0x18]
push str.CIMCOEDITSTARTFM_08X
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x14]
inc ecx
push edx
push ecx
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41c8a0
push 0
push 0
push 0
push 2
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x41c8ad
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x488
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x470090
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.CIMCOEDITSTART
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x488
ret
Function at 0x421720
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x421733
pop esi
ret
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [esi + 0xc84], eax
jne 0x42174f
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
pop esi
ret
Function at 0x42f940
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 0x42f9a2
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 0x42f9b0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42fa9d
lea ecx, [esp + 0xc]
push ecx
push str..htm
push 0x80000000
call fcn.0042f940
add esp, 0xc
test eax, eax
jne 0x42fa9d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0xc]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 0xc]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0x80000000
call fcn.0042f940
add esp, 0xc
test eax, eax
jne 0x42fa9d
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x10]
push str.__1_
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fa70
lea eax, [esp + 0x10]
push 0x47066c
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fa70
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x42fa73
mov byte [esi], 0
push 0x470090
push esi
call edi
mov edx, dword [esp + 0x21c]
push edx
push esi
call edi
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x208
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x208
ret
Function at 0x448980
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x47009c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x448a49
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call ebx
push esi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call ebx
mov eax, dword [esp + 0x38]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x3c]
mov ebp, eax
lea eax, [edx*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 0x28
mov dword [0x483a50], eax
test eax, eax
push esi
jne 0x448a02
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x1c]
push ecx
push 4
push ebp
call ebx
mov ecx, dword [esp + 0x28]
add esp, 0x10
cmp eax, ecx
je 0x448a20
mov edx, dword [0x483a50]
push edx
jmp 0x448a3a
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
test edi, edi
jne 0x448a51
mov ecx, dword [0x483a50]
push ecx
call sub.MFC42.DLL_operatordelete
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
push esi
push edx
push 1
push edi
call ebx
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ecx
jae 0x448a8a
mov eax, dword [0x483a50]
push eax
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
test ecx, ecx
jbe 0x448aa2
mov bl, byte [eax + edi]
xor bl, 0x75
mov byte [eax + edi], bl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jb 0x448a90
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
jbe 0x448ac4
mov ecx, dword [ebp + eax*4]
mov edx, dword [0x483a50]
add ecx, edi
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
jb 0x448aac
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
push ebp
call sub.MFC42.DLL_operatordelete
mov eax, dword [0x483a50]
add esp, 8
mov esi, 0x471798
mov eax, dword [eax + 0x8d8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x448b1c
test cl, cl
je 0x448b08
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x448b1c
add eax, 2
add esi, 2
test cl, cl
jne 0x448ae4
mov ecx, dword [esp + 0x18]
xor eax, eax
neg eax
sbb eax, eax
pop edi
not eax
pop esi
pop ebp
and eax, ecx
pop ebx
pop ecx
ret
sbb eax, eax
mov ecx, dword [esp + 0x18]
sbb eax, 0xffffffff
pop edi
neg eax
sbb eax, eax
pop esi
not eax
pop ebp
and eax, ecx
pop ebx
pop ecx
ret
Function at 0x448bc0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ebp, [esi + 0x408]
mov ecx, 0x20
xor eax, eax
mov edi, ebp
mov byte [esi + 0x50c], bl
mov dword [esi + 0x508], ebx
mov dword [esi + 0x510], ebx
push 0x4711c8
rep stosd dword es:[edi], eax
mov ecx, 0x20
lea edi, [esi + 0x488]
rep stosd dword es:[edi], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x448c66
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
push edi
push 1
push 0x80
push ebp
call ebx
add esp, 0x10
cmp eax, 1
push edi
je 0x448c3a
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
push 1
push 0x80
push ebp
call ebx
add esp, 0x10
cmp eax, 1
push edi
je 0x448c5d
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov byte [esi + 0x50c], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret

Function at 0x448c80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x180
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 4]
push 0x401
push eax
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x18]
push 0x47009c
rep stosd dword es:[edi], eax
push esi
mov byte [ebp + 0x404], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x448d22
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push esi
push 1
lea ecx, [ebp + 0x408]
push 0x80
push ecx
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x10
cmp eax, 1
push esi
je 0x448cf6
call ebx
add esp, 4
jmp 0x448d1b
push 1
lea edx, [esp + 0x18]
push 0x80
push edx
call edi
add esp, 0x10
cmp eax, 1
je 0x448d14
push esi
call ebx
add esp, 4
jmp 0x448d1b
mov byte [ebp + 0x50c], 1
push esi
call ebx
add esp, 4
pop ebx
mov al, byte [ebp + 0x50c]
test al, al
jne 0x448d43
mov ecx, ebp
call fcn.00448bc0
test al, al
jne 0x448d43
pop edi
pop esi
pop ebp
add esp, 0x180
ret 8
mov byte [ebp + 0x50c], 1
xor eax, eax
lea ecx, [esp + 0x90]
lea edx, [esp + 0xc]
mov esi, dword [edx]
inc eax
mov dword [ecx - 4], esi
mov dword [ecx], eax
add edx, 4
add ecx, 8
cmp eax, 0x20
jl 0x448d57
push 0x448b40
push 8
lea eax, [esp + 0x94]
push 0x20
push eax
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
xor eax, eax
lea ecx, [esp + 0x8c]
cmp dword [ecx], 0
jne 0x448d9b
inc eax
add ecx, 8
cmp eax, 0x20
jl 0x448d8d
cmp eax, 0x20
jge 0x448dcc
mov esi, 0x20
lea edx, [esp + eax*8 + 0x90]
lea ecx, [ebp + 0x488]
sub esi, eax
mov eax, dword [edx - 4]
test eax, eax
je 0x448dbf
mov eax, dword [edx]
jmp 0x448dc1
xor eax, eax
mov dword [ecx], eax
add ecx, 4
add edx, 8
dec esi
jne 0x448db4
mov eax, dword [ebp + 0x488]
test eax, eax
je 0x448ddc
mov eax, dword [esp + eax*4 + 8]
jmp 0x448dde
xor eax, eax
mov ecx, dword [esp + 0x194]
mov dword [ebp + 0x510], eax
mov al, byte [ebp + 0x50c]
pop edi
mov dword [ebp + 0x508], ecx
pop esi
pop ebp
add esp, 0x180
ret 8