joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40794e
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.00402b18
and dword [ebp - 4], 0
cmp dword [0x47a798], 0
mov ebx, eax
jne 0x4079ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407ab0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407ab0
push eax
call fcn.00402aa6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47a798], eax
call esi
push eax
call fcn.00402aa6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47a79c], eax
call esi
push eax
call fcn.00402aa6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47a7a0], eax
call esi
push eax
call fcn.00402aa6
pop ecx
mov dword [0x47a7a8], eax
test eax, eax
je 0x4079ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402aa6
pop ecx
mov dword [0x47a7a4], eax
mov eax, dword [0x47a7a4]
cmp eax, ebx
je 0x407a57
cmp dword [0x47a7a8], ebx
je 0x407a57
push eax
call fcn.00402b21
push dword [0x47a7a8]
mov esi, eax
call fcn.00402b21
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407a57
test edi, edi
je 0x407a57
call esi
test eax, eax
je 0x407a4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407a4e
test byte [ebp - 0xc], 1
jne 0x407a57
or dword [ebp + 0x10], 0x200000
jmp 0x407a90
mov eax, dword [0x47a79c]
cmp eax, ebx
je 0x407a90
push eax
call fcn.00402b21
pop ecx
test eax, eax
je 0x407a90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407a90
mov eax, dword [0x47a7a0]
cmp eax, ebx
je 0x407a90
push eax
call fcn.00402b21
pop ecx
test eax, eax
je 0x407a90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47a798]
call fcn.00402b21
pop ecx
test eax, eax
je 0x407ab0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407ab2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46f3e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x182
jne 0x46f40b
push 0
push 0
push 0
push str.sukeje
push str.nakefajijihi
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
jmp 0x46f423
cmp ebp, 0x19f
jne 0x46f423
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x46f476
push esi
lea ebx, [ebx]
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.0046f3d0
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x46f430
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x46f491
mov dword [0x2b789c0], 0xa62e7790
mov dword [0x2b789c4], 0xffffffff
add esp, 8
ret
Function at 0x401000
Capabilities:
Create process on windows
Create thread
Get common file path
Resume thread
Suspend thread

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, section.NewSec
push 0x40d048
push edi
call fcn.00402c10
mov esi, 0x12c
push esi
call fcn.00402d7b
push esi
mov dword [0x40e00c], eax
call fcn.00402d7b
push esi
mov dword [0x40e004], eax
call fcn.00402d7b
push esi
mov dword [0x40e008], eax
call fcn.00402d7b
push dword [0x40e004]
mov dword [0x40e010], eax
push dword [0x40e00c]
call fcn.00401c03
push dword [0x40e00c]
call fcn.00402d00
mov ecx, eax
mov eax, dword [0x40e00c]
add esp, 0x24
xor ebx, ebx
cmp byte [ecx + eax - 1], 0x22
jne 0x401085
push eax
call fcn.00402d00
pop ecx
mov ecx, dword [0x40e00c]
mov byte [eax + ecx - 1], bl
push dword [0x40e004]
call fcn.00402d00
pop ecx
mov ecx, eax
mov eax, dword [0x40e004]
cmp byte [ecx + eax - 1], 0x22
jne 0x4010b0
push eax
call fcn.00402d00
pop ecx
mov ecx, dword [0x40e004]
mov byte [eax + ecx - 1], bl
push esi
push dword [0x40e008]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push dword [0x40e010]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x3e8
call fcn.00402d7b
push dword [0x40e00c]
mov esi, eax
push esi
call fcn.00402c10
add esp, 0xc
push edi
push esi
call fcn.00402d00
pop ecx
lea eax, [eax + esi - 3]
push eax
call fcn.00402c10
push esi
call fcn.00402d00
add eax, dword [0x40e004]
push eax
push esi
call fcn.00402c20
push dword [0x40e00c]
call fcn.00401701
add esp, 0x18
push 1
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
push str.gogo
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push eax
call esi
test eax, eax
jne 0x4011a5
call fcn.00401508
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 0x4014ba
push 0x1000
push ebx
call edi
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 0x4016d6
push 0x400
push ebx
call edi
mov edi, eax
push ebx
push edi
call esi
test eax, eax
je 0x4011a5
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x384
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
push edi
call esi
test eax, eax
jne 0x401183
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x401a15
Capabilities:
Move file

Disassembly:
mov eax, 0x409fe8
call fcn.004032bc
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 8]
push esi
call fcn.0040197e
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push ebx
push esi
call fcn.0040197e
add esp, 0x10
cmp eax, 0x989680
mov dword [ebp - 0x14], eax
jg 0x401bdd
push ebx
call fcn.00402d00
inc eax
push eax
call fcn.00402d7b
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x18], edi
call fcn.00402c10
add esp, 0x10
push section.NewSec
push edi
call fcn.00402d00
pop ecx
lea eax, [eax + edi - 3]
push eax
call fcn.00402c10
pop ecx
pop ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x401bdd
push 0x40
call fcn.00402d7b
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov dword [ebp - 4], esi
mov ebx, 0xa0
je 0x401ac0
push 1
mov ecx, eax
push dword [0x40b150]
push ebx
push dword [ebp + 8]
call fcn.00401ee6
mov edi, eax
jmp 0x401ac2
xor edi, edi
or dword [ebp - 4], 0xffffffff
push 0x3c
call fcn.00402d7b
pop ecx
mov dword [ebp + 8], eax
push 1
cmp eax, esi
pop ecx
mov dword [ebp - 4], ecx
je 0x401af3
push ecx
mov ecx, eax
push dword [0x40b150]
push 0x80
push dword [ebp + 0xc]
call fcn.00401dc2
mov esi, eax
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
inc eax
push eax
call fcn.00402d7b
pop ecx
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00402051
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040200e
push dword [ebp + 8]
call fcn.00402d89
pop ecx
mov ecx, edi
call fcn.00401e8c
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.00402d7b
pop ecx
mov dword [ebp + 8], eax
push dword [0x40b150]
mov ecx, edi
push ebx
push dword [ebp - 0x18]
call fcn.00401fb0
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.00402051
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040200e
mov ecx, edi
call fcn.00401e8c
push dword [ebp + 8]
call fcn.00402d89
pop ecx
lea eax, [ebp - 0x10]
push 4
push eax
mov ecx, esi
call fcn.0040200e
lea eax, [ebp - 0x14]
push 4
push eax
mov ecx, esi
call fcn.0040200e
push 9
push str.shomosant
mov ecx, esi
call fcn.0040200e
mov ecx, esi
call fcn.00401e8c
test edi, edi
je 0x401bb8
mov eax, dword [edi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + edi]
mov eax, dword [eax + edi]
call dword [eax]
test esi, esi
je 0x401bcb
mov eax, dword [esi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + esi]
mov eax, dword [eax + esi]
call dword [eax]
push dword [ebp - 0x18]
call fcn.00401bec
push dword [ebp - 0x18]
call fcn.00402d89
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x401bec
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x20
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret
Function at 0x401c03
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 0x1f4
push edi
call fcn.00402d7b
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
call fcn.00402c10
cmp byte [esi], 0x22
pop ecx
pop ecx
jne 0x401c49
push esi
call fcn.00402d00
dec eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00401cee
push eax
push esi
call fcn.00402c10
add esp, 0x14
xor eax, eax
cmp byte [eax + esi], 0x22
jne 0x401c55
and byte [eax + esi], 0
inc eax
cmp eax, edi
jl 0x401c4b
push esi
xor edi, edi
call fcn.00402d00
dec eax
pop ecx
dec eax
test eax, eax
jle 0x401c9a
mov al, byte [edi + esi]
cmp al, 0x65
je 0x401c74
cmp al, 0x45
jne 0x401c8c
mov al, byte [edi + esi + 1]
cmp al, 0x78
je 0x401c80
cmp al, 0x58
jne 0x401c8c
mov al, byte [edi + esi + 2]
cmp al, 0x65
je 0x401c9a
cmp al, 0x45
je 0x401c9a
push esi
inc edi
call fcn.00402d00
dec eax
pop ecx
dec eax
cmp edi, eax
jl 0x401c69
push esi
call fcn.00402d00
dec eax
pop ecx
dec eax
cmp edi, eax
jl 0x401cbe
push esi
push dword [ebp + 8]
call fcn.00402c10
push esi
push dword [ebp + 0xc]
call fcn.00402c10
add esp, 0x10
jmp 0x401ce3
lea eax, [ebp - 4]
add edi, 3
push eax
push esi
mov dword [ebp - 4], edi
call fcn.00401d4b
push eax
push dword [ebp + 8]
call fcn.00402c10
push esi
push dword [ebp + 0xc]
call fcn.00402c10
add esp, 0x18
push esi
call fcn.00402d89
pop ecx
pop edi
pop esi
leave
ret

Function at 0x405e05
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d6d8
cmp edx, dword [eax]
je 0x405e27
add eax, 8
inc ecx
cmp eax, 0x40d768
jl 0x405e18
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d6d8]
jne 0x405f55
mov eax, dword [0x40e040]
cmp eax, 1
je 0x405f2f
test eax, eax
jne 0x405e58
cmp dword [0x40d378], 1
je 0x405f2f
cmp edx, 0xfc
je 0x405f55
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405e8f
lea eax, [ebp - 0x1a4]
push 0x40b5b8
push eax
call fcn.00402c10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405ed2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b5b4
push edi
call fcn.00408340
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x40b598
push eax
call fcn.00402c10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402c20
lea eax, [ebp - 0xa0]
push 0x40b594
push eax
call fcn.00402c20
push dword [esi + 0x40d6dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402c20
push 0x12010
lea eax, [ebp - 0xa0]
push 0x40b56c
push eax
call fcn.004082ae
add esp, 0x2c
pop edi
jmp 0x405f55
lea eax, [ebp + 8]
lea esi, [esi + 0x40d6dc]
push 0
push eax
push dword [esi]
call fcn.00402d00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x787647a4
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..rsrc_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x541e570b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40107b
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x444664]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.0041f660
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp eax, 1
jne 0x4010c0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
jmp 0x4010c4
xor ecx, ecx
xor eax, eax
test eax, eax
ja 0x4010da
jb 0x4010d2
cmp ecx, 0x3d4
jae 0x4010da
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f64e
leave
ret

Function at 0x404114
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x444664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x210], eax
push edi
mov dword [ebp - 0x218], esi
mov ecx, 0x208
lea eax, [ebp - 0x20c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x404146
lea eax, [ebp - 0x20c]
push str.Nor_again_is_there_anyone_who_loves_or_pursues_or_desires_to_obtain_pain_of_itself__because_it_is_pain
push eax
call fcn.0041f6da
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
add esp, 0x18
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
mov byte [esi + edi], 0
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
add esp, 0x20
xor ebx, ebx
test esi, esi
je 0x40427d
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
push dword [ebp - 0x210]
lea esi, [ebx + edi]
call fcn.0041f710
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x214]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
mov byte [esi], al
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
add esp, 0x14
inc ebx
cmp ebx, dword [ebp - 0x218]
jb 0x404217
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f79b
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041f660
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f64e
leave
ret 8
Function at 0x4042be
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00404854
add esp, 0x10
test eax, eax
jne 0x4042de
xor eax, eax
inc eax
jmp 0x404371
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40436e
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40436e
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.00404854
add esp, 0x10
test eax, eax
je 0x4042d6
cmp dword [edi], 0x4550
jne 0x40436e
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x40436e
movzx eax, word [esi + 0x46]
test ax, ax
je 0x40436e
mov edi, eax
imul edi, edi, 0x28
push edi
mov dword [esi + 0x140], edi
call fcn.0041fb5b
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x404348
push 3
jmp 0x404370
movzx ecx, word [esi + 0x54]
push dword [ebp + 8]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00404854
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x404371
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x40695a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x406965
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x406a19
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec28]
add ecx, 8
sub edi, 8
dec esi
jne 0x40697c
pop ebx
test edi, edi
je 0x406a32
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x43ec28]
inc ecx
dec edi
jne 0x406a1d
pop esi
not eax
pop edi
ret

Function at 0x406a37
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x43ec28]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x43ec28]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4158e1
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x433377
call fcn.00423669
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
mov edi, ecx
cmp ebx, esi
jne 0x415903
xor eax, eax
call fcn.004236b3
ret 4
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x415929
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x415929
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [edi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x4158fb
cmp dword [edi + 0x54], 0
jne 0x415933
mov eax, esi
jmp 0x4158fb
mov eax, edi
call fcn.00416253
cmp dword [edi + 0x44], 0
jne 0x415956
push dword [edi + 0x54]
movsx eax, bl
push eax
call fcn.00422028
pop ecx
cmp eax, esi
pop ecx
mov eax, ebx
jne 0x4158fb
jmp 0x41592f
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
call fcn.00415f4f
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x415a04
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x1c]
add ebx, eax
push ebx
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x14]
test eax, eax
js 0x415a2c
cmp eax, 1
jg 0x415a0c
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4159b3
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, eax
je 0x4159d9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4159c6
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.00422c4b
add esp, 0x10
cmp esi, eax
jne 0x415a2c
lea eax, [ebp - 0x2d]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x38], eax
jne 0x415a27
test esi, esi
jne 0x415965
cmp dword [ebp - 0x1c], 0x20
jae 0x415a2c
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.0040d038
jmp 0x415965
mov edx, dword [ebp - 0x2c]
jmp 0x415977
cmp eax, 3
jne 0x415a2c
movsx eax, byte [ebp - 0x2d]
push dword [edi + 0x54]
push eax
call fcn.00422028
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x415a2f
mov esi, dword [ebp + 8]
jmp 0x415a2f
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004049d5
jmp 0x41592f
Function at 0x41616a
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x43334a
call fcn.00423669
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x41624b
cmp byte [edi + 0x49], bl
je 0x41624b
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41619f
xor al, al
jmp 0x41624d
lea esi, [ebp - 0x2c]
call fcn.00415f4f
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4161ed
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x4161f2
dec eax
je 0x4161f6
dec eax
dec eax
je 0x416247
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004049d5
mov al, bl
jmp 0x41624d
mov edx, dword [ebp - 0x2c]
jmp 0x4161b8
mov byte [edi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x416202
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x416228
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x416215
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.00422c4b
add esp, 0x10
cmp esi, eax
jne 0x4161db
cmp byte [edi + 0x49], 0
je 0x416247
test esi, esi
jne 0x4161aa
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.0040d038
jmp 0x4161aa
mov bl, 1
jmp 0x4161dd
mov al, 1
call fcn.004236b3
ret

Function at 0x417696
Capabilities:
Reference http user-agent string

Disassembly:
push 0x28
mov eax, 0x4335f9
call fcn.00423669
xor esi, esi
mov dword [ebp - 4], esi
mov edi, ecx
push 0x43d106
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call fcn.00404948
mov dword [ebp - 4], esi
xor ebx, ebx
mov esi, str.Mozilla_5.0__Windows_NT_10.0_
inc ebx
push esi
mov dword [ebp - 0x30], ebx
call fcn.0041f710
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00404a19
call fcn.004170df
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040ce60
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], ebx
call fcn.00404991
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004049d5
lea eax, [ebp - 0x2c]
push str._rv:107.0__Gecko___20100101_Firefox___107.0
push eax
call fcn.0040ce60
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], 2
call fcn.00404991
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004049d5
mov eax, edi
call fcn.004236b3
ret