joyce8/EMBER2024-capa huggingface dataset:
Function at 0x654b0f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [0x655ae02c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.655584f0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.65526ee0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10]
je 0x654b0fcd
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
movsx edx, al
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], edx
mov ecx, eax
call fcn.654a9ff0
sub esp, 8
movsx edx, al
lea eax, [esp + 0x44]
mov dword [esp], edx
mov ecx, eax
call fcn.65527a60
sub esp, 4
add dword [esp + 0x14], 1
jmp 0x654b0f85
mov dword [esp + 0x38], 0x65567280
mov dword [esp + 0x30], 0x65567280
mov dword [esp + 0x3c], 0x65567480
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x3c]
je 0x654b107b
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.65559074
test al, al
je 0x654b1071
lea eax, [esp + 0x2f]
mov ecx, eax
call fcn.654e9900
mov eax, dword [esp + 0x40]
sub eax, 0x65567280
sar eax, 2
movsx edx, al
mov eax, dword [esp + 0x34]
mov dword [esp], edx
mov ecx, eax
call fcn.654a9f20
sub esp, 4
movsx edx, al
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2f]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 1
mov ecx, eax
call fcn.65526e40
sub esp, 0xc
lea eax, [esp + 0x2f]
mov ecx, eax
call fcn.654e9930
jmp 0x654b1086
add dword [esp + 0x30], 4
jmp 0x654b0fe5
mov eax, dword [esp + 0x1c]
mov ecx, eax
call fcn.65526ee0
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.65527640
mov eax, dword [esp + 0x5c]
sub eax, dword [0x655ae02c]
je 0x654b10a2
call fcn.654815c0
mov eax, dword [esp + 0x1c]
add esp, 0x6c
ret 0xc
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e008]
jne 0x40100a
repz ret
jmp fcn.00401941

Function at 0x404d2a
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.004036bb
and dword [ebp - 4], 0
cmp dword [0x470214], 0
mov ebx, eax
jne 0x404ddb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404e8c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404e8c
push eax
call fcn.00403649
mov dword [esp], 0x46b924
push edi
mov dword [0x470214], eax
call esi
push eax
call fcn.00403649
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x470218], eax
call esi
push eax
call fcn.00403649
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47021c], eax
call esi
push eax
call fcn.00403649
pop ecx
mov dword [0x470224], eax
test eax, eax
je 0x404ddb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403649
pop ecx
mov dword [0x470220], eax
mov eax, dword [0x470220]
cmp eax, ebx
je 0x404e33
cmp dword [0x470224], ebx
je 0x404e33
push eax
call fcn.004036c4
push dword [0x470224]
mov esi, eax
call fcn.004036c4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404e33
test edi, edi
je 0x404e33
call esi
test eax, eax
je 0x404e2a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404e2a
test byte [ebp - 0xc], 1
jne 0x404e33
or dword [ebp + 0x10], 0x200000
jmp 0x404e6c
mov eax, dword [0x470218]
cmp eax, ebx
je 0x404e6c
push eax
call fcn.004036c4
pop ecx
test eax, eax
je 0x404e6c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404e6c
mov eax, dword [0x47021c]
cmp eax, ebx
je 0x404e6c
push eax
call fcn.004036c4
pop ecx
test eax, eax
je 0x404e6c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470214]
call fcn.004036c4
pop ecx
test eax, eax
je 0x404e8c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404e8e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46a290
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x46e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x565e04]
push ebx
push esi
mov esi, dword [0x565c4c]
mov ebx, eax
cmp eax, 0x5dd
jne 0x46a2cd
push 0
lea eax, [ebp - 0x404]
push eax
push str.movuwubojofihopizuzo_tepiguhopasabahaxejoheburujodoli
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x46f000]
call fcn.0046a170
cmp dword [0x565e04], 0x2f
jne 0x46a2e8
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.0046a1b0
add esp, 4
cmp dword [0x565e04], 0x568
pop esi
pop ebx
jne 0x46a31a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x408806
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x408806
lcall 0x5de5, 0x8b10c483
jmp int.00779814
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x5d9070
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x111000]
push edi
jmp 0x5d908a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d9091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d9080
mov eax, 1
add ebx, ebx
jne 0x5d90a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d90b4
jne 0x5d90d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d90d3
dec eax
add ebx, ebx
jne 0x5d90c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5d9098
add ebx, ebx
jne 0x5d90cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5d9125
xor ecx, ecx
sub eax, 3
jb 0x5d90eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d915a
sar eax, 1
mov ebp, eax
jmp 0x5d90f6
add ebx, ebx
jne 0x5d90f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d90c4
inc ecx
add ebx, ebx
jne 0x5d9104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d90c4
add ebx, ebx
jne 0x5d9111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d9106
jne 0x5d9122
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d9106
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d9144
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d9136
jmp 0x5d9086
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d9144
add edi, ecx
jmp 0x5d9086
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d9162
cmp byte [edi], 0x24
jne 0x5d9162
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5d9167
lea edi, [esi + 0x1d6000]
mov eax, dword [edi]
or eax, eax
je 0x5d91df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1de2a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1de3ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d9194
mov ecx, edi
jns 0x5d91c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1de3f4]
or eax, eax
je 0x5d91d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5d91b1
call dword [esi + 0x1de3f0]
mov ebp, dword [esi + 0x1de3f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5d9213
sub esp, 0xffffff80
jmp 0x500098
Function at 0x401020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41900c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401097
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401097
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401289
leave
ret
Function at 0x40467c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00404c12
add esp, 0x10
test eax, eax
jne 0x40469c
xor eax, eax
inc eax
jmp 0x40472f
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40472c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40472c
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.00404c12
add esp, 0x10
test eax, eax
je 0x404694
cmp dword [edi], 0x4550
jne 0x40472c
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x40472c
movzx eax, word [esi + 0x46]
test ax, ax
je 0x40472c
mov edi, eax
imul edi, edi, 0x28
push edi
mov dword [esi + 0x140], edi
call fcn.0042007b
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x404706
push 3
jmp 0x40472e
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.00404c12
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x40472f
push 2
pop eax
pop edi
pop ebp
ret

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

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x406d2d
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x406de1
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 + 0x43ec30]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec30]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec30]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec30]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec30]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec30]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec30]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43ec30]
add ecx, 8
sub edi, 8
dec esi
jne 0x406d44
pop ebx
test edi, edi
je 0x406dfa
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x43ec30]
inc ecx
dec edi
jne 0x406de5
pop esi
not eax
pop edi
ret

Function at 0x406dff
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 + 0x43ec30]
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 + 0x43ec30]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x415c85
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x433717
call fcn.00423a09
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
mov edi, ecx
cmp ebx, esi
jne 0x415ca7
xor eax, eax
call fcn.00423a53
ret 4
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x415ccd
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x415ccd
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 0x415c9f
cmp dword [edi + 0x54], 0
jne 0x415cd7
mov eax, esi
jmp 0x415c9f
mov eax, edi
call fcn.0041661e
cmp dword [edi + 0x44], 0
jne 0x415cfa
push dword [edi + 0x54]
movsx eax, bl
push eax
call fcn.004223b8
pop ecx
cmp eax, esi
pop ecx
mov eax, ebx
jne 0x415c9f
jmp 0x415cd3
lea esi, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
call fcn.0041631a
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x415da8
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 0x415dd0
cmp eax, 1
jg 0x415db0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x415d57
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
sub esi, eax
je 0x415d7d
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x415d6a
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.00422fdb
add esp, 0x10
cmp esi, eax
jne 0x415dd0
lea eax, [ebp - 0x2d]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x38], eax
jne 0x415dcb
test esi, esi
jne 0x415d09
cmp dword [ebp - 0x1c], 0x20
jae 0x415dd0
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.0040d44e
jmp 0x415d09
mov edx, dword [ebp - 0x2c]
jmp 0x415d1b
cmp eax, 3
jne 0x415dd0
movsx eax, byte [ebp - 0x2d]
push dword [edi + 0x54]
push eax
call fcn.004223b8
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x415dd3
mov esi, dword [ebp + 8]
jmp 0x415dd3
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404d9d
jmp 0x415cd3
Function at 0x416535
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x4336ea
call fcn.00423a09
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x416616
cmp byte [edi + 0x49], bl
je 0x416616
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x41656a
xor al, al
jmp 0x416618
lea esi, [ebp - 0x2c]
call fcn.0041631a
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4165b8
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 0x4165bd
dec eax
je 0x4165c1
dec eax
dec eax
je 0x416612
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404d9d
mov al, bl
jmp 0x416618
mov edx, dword [ebp - 0x2c]
jmp 0x416583
mov byte [edi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4165cd
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x4165f3
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4165e0
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.00422fdb
add esp, 0x10
cmp esi, eax
jne 0x4165a6
cmp byte [edi + 0x49], 0
je 0x416612
test esi, esi
jne 0x416575
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.0040d44e
jmp 0x416575
mov bl, 1
jmp 0x4165a8
mov al, 1
call fcn.00423a53
ret

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

Disassembly:
push 0x28
mov eax, 0x433999
call fcn.00423a09
xor esi, esi
mov dword [ebp - 4], esi
mov edi, ecx
push 0x43d112
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call fcn.00404d06
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.0041fac0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00404de1
call fcn.004174aa
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d276
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], ebx
call fcn.00404d59
push 0
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00404d9d
lea eax, [ebp - 0x2c]
push str._rv:107.0__Gecko___20100101_Firefox___107.0
push eax
call fcn.0040d276
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 4], 2
call fcn.00404d59
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00404d9d
mov eax, edi
call fcn.00423a53
ret
Function at 0x4182bd
Capabilities:
Enumerate files on windows

Disassembly:
push 0x298
mov eax, 0x433e39
call fcn.00423a09
and dword [ebp - 0x2a0], 0
mov dword [ebp - 0x2a4], ebx
lea eax, [ebp - 0x48]
xor esi, esi
push eax
inc esi
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00418107
cmp dword [eax + 0x14], 8
jb 0x4182f3
mov eax, dword [eax]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
xor edi, edi
lea esi, [ebp - 0x48]
mov dword [ebp - 0x29c], eax
call fcn.0040d1d1
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x26c]
inc edi
push eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x2a0], edi
call fcn.00417afd
mov ecx, esi
mov esi, ebx
mov byte [ebp - 4], 2
call fcn.004191a4
push edi
jmp 0x418360
lea eax, [ebp - 0x26c]
push eax
lea esi, [ebp - 0x2c]
call fcn.00417afd
mov ecx, esi
mov esi, ebx
mov byte [ebp - 4], 3
call fcn.004191a4
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040d1d1
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418342
push eax
push 1
lea ecx, [ebp + 8]
call fcn.00404d9d
mov eax, ebx
call fcn.00423a53
ret 0x1c

Function at 0x41c9d7
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x41ca05
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.0041fa40
mov eax, ebx
movzx ecx, word [eax*8 + 0x43d2b2]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x43d2b0]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x43d2b4]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x43d2b6]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x41ca68
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x41ca74
cmp ebx, 8
jl 0x41ca74
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x41cad9
cmp eax, 0xffffffff
je 0x41cad9
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41cab4
call fcn.0041cc2f
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x41cabc
jmp 0x41cae9
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41cd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x41cf3e
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x41cdba
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x41cdfd
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x41cdfd
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x41cde4
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.0041caee
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp ebx, eax
jbe 0x41cdfd
mov ebx, eax
cmp ebx, 3
jb 0x41cebe
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.0041c4c9
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x41ce8b
cmp eax, 3
jb 0x41ce8b
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x41ce39
jmp 0x41cede
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x41cee4
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.0041c4c9
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x41cf1f
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41cefd
lea edx, [ecx + esi + 0x1af70]
jmp 0x41ceff
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041c300
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x41cf30
call fcn.0041cc2f
cmp dword [esi + 0x6af90], 0
jne 0x41cd6a
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41cf51
lea edx, [ecx + esi + 0x1af70]
jmp 0x41cf53
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041c300
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x41dafb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x41db06
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x41dbba
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 + 0x43d300]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d300]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d300]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d300]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d300]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d300]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d300]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x43d300]
add ecx, 8
sub edi, 8
dec esi
jne 0x41db1d
pop ebx
test edi, edi
je 0x41dbd3
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x43d300]
inc ecx
dec edi
jne 0x41dbbe
pop esi
not eax
pop edi
ret

Function at 0x41dbd8
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 + 0x43d300]
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 + 0x43d300]
pop esi
mov dword [ecx + 8], eax
ret