joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006af24
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1005e491
xor ebx, ebx
cmp dword [0x1009d03c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1006affa
push 0x1007db3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1006b0da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1007db30
push edi
call esi
cmp eax, ebx
je 0x1006b0da
push eax
call fcn.1005e423
mov dword [esp], 0x1007db20
push edi
mov dword [0x1009d03c], eax
call esi
push eax
call fcn.1005e423
mov dword [esp], 0x1007db0c
push edi
mov dword [0x1009d040], eax
call esi
push eax
call fcn.1005e423
mov dword [0x1009d044], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1005e01f
test eax, eax
pop ecx
pop ecx
je 0x1006afc8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10053a2e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1006affa
push 0x1007daf0
push edi
call esi
push eax
call fcn.1005e423
cmp eax, ebx
pop ecx
mov dword [0x1009d04c], eax
je 0x1006affa
push 0x1007dad8
push edi
call esi
push eax
call fcn.1005e423
pop ecx
mov dword [0x1009d048], eax
mov eax, dword [0x1009d048]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1006b07f
cmp dword [0x1009d04c], ecx
je 0x1006b07f
push eax
call fcn.1005e49a
push dword [0x1009d04c]
mov esi, eax
call fcn.1005e49a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1006b07f
cmp edi, ebx
je 0x1006b07f
call esi
cmp eax, ebx
je 0x1006b04c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1006b04c
test byte [ebp - 0x18], 1
jne 0x1006b07f
lea eax, [ebp - 0x10]
push eax
call fcn.1005e056
test eax, eax
pop ecx
je 0x1006b067
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10053a2e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1006b076
or dword [ebp + 0x10], 0x200000
jmp 0x1006b0ba
or dword [ebp + 0x10], 0x40000
jmp 0x1006b0ba
mov eax, dword [0x1009d040]
cmp eax, dword [ebp - 8]
je 0x1006b0ba
push eax
call fcn.1005e49a
cmp eax, ebx
pop ecx
je 0x1006b0ba
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1006b0ba
mov eax, dword [0x1009d044]
cmp eax, dword [ebp - 8]
je 0x1006b0ba
push eax
call fcn.1005e49a
cmp eax, ebx
pop ecx
je 0x1006b0ba
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1009d03c]
call fcn.1005e49a
cmp eax, ebx
pop ecx
je 0x1006b0da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1006b0dc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10070f44
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1009d1b0], 0
push esi
jne 0x10070eb7
call fcn.10070de2
test eax, eax
je 0x10070efa
mov eax, dword [0x1009d1b0]
cmp eax, 1
jne 0x10070ed8
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10070efa
pop esi
ret
push eax
call dword [0x1009d1b8]
test eax, eax
jne 0x10070f42
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10070efe
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1009d1b0]
call dword [0x1009d1b8]
mov edi, eax
test edi, edi
je 0x10070f25
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10070f41
lea edi, [esi + 0xff0]
push esi
push dword [0x1009d1b0]
call dword [0x1009d1b4]
add esi, 0x10
cmp esi, edi
jb 0x10070f2b
mov eax, esi
pop edi
pop esi
ret
jmp 0x10070ea4

Function at 0x10071070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1009d31c], 0
jne 0x10071108
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.100541d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [0x1009d31c], ecx
xor eax, eax
cmp dword [0x1009d31c], 0
setne al
jmp 0x1007110d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053c51
mov esp, ebp
pop ebp
ret
Function at 0x10072c10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], 0
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.100541d0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10072c65
mov eax, 1
jmp 0x10072cb0
cmp dword [ebp - 0x124], 5
jne 0x10072c9e
cmp dword [ebp - 0x120], 1
jne 0x10072c86
movzx edx, word [ebp - 0x14]
cmp edx, 1
jge 0x10072c86
xor eax, eax
jmp 0x10072cb0
cmp dword [ebp - 0x120], 0
jne 0x10072c9c
movzx eax, word [ebp - 0x14]
cmp eax, 3
jge 0x10072c9c
xor eax, eax
jmp 0x10072cb0
jmp 0x10072cab
cmp dword [ebp - 0x124], 5
jae 0x10072cab
xor eax, eax
jmp 0x10072cb0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053c51
mov esp, ebp
pop ebp
ret

Function at 0x10073190
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074e18
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
lea esi, [ebp - 0x2c]
call fcn.100018bb
mov byte [ebp - 4], 1
mov eax, dword [0x1007dc7c]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x1007dc7c]
push ecx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.100371d0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp edx, dword [0x1007dc7c]
je 0x1007325a
mov eax, dword [ebp - 0x30]
push eax
xor ebx, ebx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x2c]
call fcn.100019b7
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x98]
call fcn.100018e4
mov byte [ebp - 4], 1
lea esi, [ebp - 0x4c]
call fcn.100018da
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
call fcn.100018bb
mov dword [ebp - 0x9c], eax
call fcn.10073190
add esp, 0x1c
push 0
lea eax, [ebp + 8]
call fcn.10006430
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1007327c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100732a5
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.100018da
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.100018da
mov eax, dword [ebp - 0x54]
jmp 0x100732e7
mov dword [ebp - 0x58], 0xffffffff
mov byte [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.100018da
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
call fcn.100018da
mov eax, dword [ebp - 0x58]
jmp 0x100732e7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053c51
mov esp, ebp
pop ebp
ret
Function at 0x10073310
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], ecx
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.100541d0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10056fb6
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100733b0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x224], esp
lea edx, [ebp - 0x218]
push edx
call fcn.1000188f
mov dword [ebp - 0x23c], eax
call fcn.10073190
add esp, 0x1c
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ebp - 0x238]
add eax, 0x2c
call fcn.10006430
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x100733ec
mov eax, dword [ebp - 0x238]
add eax, 0x2c
call fcn.10006430
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053c51
mov esp, ebp
pop ebp
ret 8

Function at 0x10073aa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov word [ebp - 0x420], 0
push 0x410
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.100541d0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2f
mov edx, dword [ebp + 8]
push edx
call fcn.10054067
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x10073b73
push str.QMDownload
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x428], esp
lea ecx, [ebp - 0x420]
push ecx
call fcn.1000188f
mov dword [ebp - 0x46c], eax
call fcn.10073190
add esp, 0x1c
mov edx, dword [ebp - 0x424]
add edx, 2
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x420]
push ecx
mov esi, dword [ebp + 0xc]
call fcn.1000922d
mov edx, dword [ebp - 0x424]
add edx, 2
push edx
mov esi, dword [ebp + 0x10]
call fcn.1000922d
jmp 0x10073b8d
push 0x10083cb8
mov esi, dword [ebp + 0xc]
call fcn.1000922d
push 0x10083cbc
mov esi, dword [ebp + 0x10]
call fcn.1000922d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053c51
mov esp, ebp
pop ebp
ret
Function at 0x10073ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x8c], 0
je 0x10073bbd
xor eax, eax
jmp 0x10073d7a
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 4], 0
jne 0x10073bcd
xor eax, eax
jmp 0x10073d7a
mov edx, dword [ebp + 8]
push edx
mov esi, dword [ebp - 0x40]
add esi, 0x10
call fcn.1000922d
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
jne 0x10073bf9
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 0
jne 0x10073c09
xor eax, eax
jmp 0x10073d7a
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x88], 0
je 0x10073c61
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x10073c4d
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x44], eax
jmp 0x10073c54
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x88], 0
call fcn.10072c10
test eax, eax
je 0x10073caf
call fcn.10072bf0
cmp eax, 1
jne 0x10073caf
push 0x58
call fcn.100539ba
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10073c94
mov ecx, dword [ebp - 0x14]
call fcn.10072180
mov dword [ebp - 0x48], eax
jmp 0x10073c9b
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x88], ecx
jmp 0x10073ce8
push 0x30
call fcn.100539ba
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10073ccf
mov ecx, dword [ebp - 0x1c]
call fcn.10071a60
mov dword [ebp - 0x4c], eax
jmp 0x10073cd6
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x88], ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x64], eax
push 0x10072cc0
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x64]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x8c], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
push 0x10073440
push 0
push 0
call fcn.100574ae
add esp, 0x18
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc], 0
jne 0x10073d6e
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 0x40]
xor eax, eax
cmp dword [ecx + 0xc], 0
setne al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100740b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x10], 0
jne 0x100740c6
xor eax, eax
jmp 0x10074205
mov dword [ebp - 0xc], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10030be0
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10031100
push eax
lea ecx, [ebp - 8]
call fcn.10032670
movzx eax, al
test eax, eax
je 0x10074149
lea ecx, [ebp - 0x18]
call fcn.1002fcc0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10030b20
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x10074202
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10030c90
add eax, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx]
jbe 0x100741f9
cmp dword [ebp - 0x20], 0x12c
jbe 0x100741f9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x100741f9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x10089188]
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x4c]
fdiv qword [ebp - 0x30]
fnstcw word [ebp - 0x4e]
movzx eax, word [ebp - 0x4e]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp qword [ebp - 0x5c]
fldcw word [ebp - 0x4e]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x10074202
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x432005
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x5b41dc], 1
mov dword [0x5b41d8], 1
mov dword [0x5b41d4], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x5b400c], eax
mov eax, dword [0x5b41e8]
test eax, eax
jne 0x4010a0
mov dword [esp], 1
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x5b41fc]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x5b41e4]
mov dword [eax], edx
call sym.__setargv
cmp dword [0x4a60e8], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 2
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f2
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], sym.__matherr
call sym.___mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056
Function at 0x402e30
Capabilities:
Encrypt data using rc4 via systemfunction032
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
call sub.kernel32.dll_CreateTimerQueue
test eax, eax
je 0x402e65
mov esi, eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x402e65
push 0
call sub.kernel32.dll_GetModuleHandleA
test eax, eax
je 0x402e65
add eax, dword [eax + 0x3c]
jne 0x402e6d
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
push str.ntdll
call sub.kernel32.dll_LoadLibraryA
push str.RtlCaptureContext
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x18], eax
push str.ntdll
call sub.kernel32.dll_GetModuleHandleA
push str.NtContinue
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x14], eax
push str.Advapi32
call sub.kernel32.dll_LoadLibraryA
push str.SystemFunction032
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x10], eax
push str.kernel32.dll
call sub.kernel32.dll_LoadLibraryA
push str.VirtualProtect
push eax
call sub.kernel32.dll_GetProcAddress
mov edi, eax
push str.kernel32.dll
call sub.kernel32.dll_LoadLibraryA
push str.WaitForSingleObject
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
push str.kernel32.dll
call sub.kernel32.dll_LoadLibraryA
push str.SetEvent
push eax
call sub.kernel32.dll_GetProcAddress
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
movd xmm3, dword [ebp - 0x10]
movd xmm2, edi
punpckldq xmm1, xmm0
punpckldq xmm3, xmm2
punpcklqdq xmm1, xmm3
pxor xmm3, xmm3
pcmpeqd xmm3, xmm1
movmskps ecx, xmm3
test ecx, ecx
jne 0x402e65
test ebx, ebx
je 0x402e65
test eax, eax
je 0x402e65
push 0
push 0
push 1
push 0
call sub.kernel32.dll_CreateEventW
test eax, eax
je 0x402e65
mov edi, eax
push dword [ebp + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x402e65
push edi
call sub.kernel32.dll_SetEvent
push esi
call sub.kernel32.dll_DeleteTimerQueue
jmp 0x402e65
Function at 0x403130
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword fs:[0x18]
mov edi, esp
lea ebx, [esp + 0x14]
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0xc]
add esi, 0xc
nop word cs:[eax + eax]
nop dword [eax + eax]
mov esi, dword [esi]
cmp dword [esi + 0x18], 0
je 0x4031ff
mov eax, dword [esi + 0x30]
movzx ecx, word [esi + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
push 0
push edi
push ebx
call sym.murmur3::murmur3_32::murmur3_32::hc4e535d71fcd3773
add esp, 0xc
cmp byte [esp + 0x14], 4
jne 0x403207
cmp dword [esp + 0x18], 0xaddfe535
jne 0x403160
mov esi, dword [esi + 0x18]
mov ecx, esp
mov edx, esi
push 0xa2b1807f
call sym.__ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h00e46e2dd68e5950E.llvm.3199526345401251745
add esp, 4
mov ecx, esp
mov edx, esi
push 0xced7e31f
call sym.__ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h00e46e2dd68e5950E.llvm.3199526345401251745
add esp, 4
mov ecx, esp
mov edx, esi
push 0x91c3ed4a
call sym.__ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h00e46e2dd68e5950E.llvm.3199526345401251745
add esp, 4
mov ecx, esp
mov edx, esi
push 0xb2036547
call sym.__ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h00e46e2dd68e5950E.llvm.3199526345401251745
add esp, 4
mov ecx, esp
mov edx, esi
push 0xa596d8ce
call sym.__ZN10crypt_file11ssn_solving25hells_halos_tartarus_gate17h00e46e2dd68e5950E.llvm.3199526345401251745
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0x1c], xmm0
lea edi, [esp + 0x1c]
push 0x5804b8
push 0x580458
push edi
push 0
push 1
call sym.core::result::unwrap_failed::h5441fa6e1130b119
add esp, 0x14
ud2
Function at 0x403250
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
movzx eax, word [edx]
mov edi, edx
xor edx, edx
cmp eax, 0x5a4d
jne 0x403391
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x403391
mov eax, dword [edi + eax + 0x78]
mov dword [esp + 4], ecx
mov esi, dword [eax + edi + 0x20]
mov edx, dword [eax + edi + 0x1c]
mov ecx, dword [eax + edi + 0x14]
mov ebx, dword [eax + edi + 0x18]
mov eax, dword [eax + edi + 0x24]
add eax, edi
add edx, edi
add esi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], edx
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, dword [esp + 0x14]
je 0x40338b
mov ebx, eax
mov eax, dword [esi + eax*4]
mov ecx, 0xffffffff
add eax, edi
nop word cs:[eax + eax]
cmp byte [eax + ecx + 1], 0
lea ecx, [ecx + 1]
jne 0x4032e0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
call sym.murmur3::murmur3_32::murmur3_32::hc4e535d71fcd3773
add esp, 0xc
cmp byte [esp + 0x18], 4
jne 0x40339b
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
cmp dword [esp + 0x1c], ecx
jne 0x4032c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ebx*2]
cmp ecx, eax
jbe 0x4033c4
mov ecx, dword [esp + 8]
mov edx, 0
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 4]
cmp byte [eax + edi], 0x4c
jne 0x403391
add eax, edi
cmp byte [eax + 1], 0x8b
jne 0x403391
cmp byte [eax + 2], 0xd1
jne 0x403391
cmp byte [eax + 3], 0xb8
jne 0x403391
cmp byte [eax + 6], 0
jne 0x403391
cmp byte [eax + 7], 0
jne 0x403391
movzx edx, byte [eax + 4]
or dl, byte [eax + 5]
mov dword [ecx + 4], eax
movzx edx, dl
mov word [ecx + 8], dx
mov edx, 1
jmp 0x403391
mov ecx, dword [esp + 4]
xor edx, edx
mov dword [ecx], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x34], xmm0
lea edi, [esp + 0x34]
push 0x5804b8
push 0x580458
push edi
push 0
push 1
call sym.core::result::unwrap_failed::h5441fa6e1130b119
add esp, 0x14
ud2
push 0x5804c8
push ecx
push eax
call sym.core::panicking::panic_bounds_check::haf27547f44996d48
mov esi, eax
push edi
call sym.__ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17he99783b2cabace8dE.llvm.3199526345401251745
add esp, 4
push esi
call sym.__Unwind_Resume
call sym.core::panicking::panic_in_cleanup::hbacea214a6920ce1
nop word cs:[eax + eax]