joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10280f90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
mov dword [0x102ab394], 0x16de
mov dword [0x102ab398], 0x1d5d
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10280650
lea ecx, [0x1027f260]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x84], 0x135400
mov edx, dword [0x102ab380]
mov dword [esp + 0x54], edx
mov edx, dword [0x102ab384]
mov dword [esp + 0x28], edx
mov edx, dword [0x102ab388]
mov dword [esp + 0x70], edx
mov edx, dword [0x102ab38c]
mov dword [esp + 0x30], edx
mov dword [0x102ab394], 0x2af1
mov edx, dword [0x102ab390]
mov dword [esp + 0x5c], edx
mov dword [0x102ab398], 0xb9a
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1028104d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x102810b3
jmp 0x1028109f
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x10281033
jmp 0x1028109f
lea eax, [esp + 0x28]
mov ecx, dword [0x102ab394]
add ecx, 0xfffff7cd
mov dword [0x102ab394], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1027fd50
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
jmp 0x102810e7
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1028104d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [0x102ab394], 0xffffece3
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x4c], eax
call fcn.1027f0d0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x1028105e
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x4e1b5036
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x4cd04b71
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, reloc.avifil32.dll_AVIStreamRelease
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
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10798058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x107981a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1079807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1079806a
add dl, dl
jne 0x10798089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107980dc
xor eax, eax
add dl, dl
jne 0x10798096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1079817d
add dl, dl
jne 0x107980a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107980b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107980bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107980c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107980d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10798075
mov eax, 1
add dl, dl
jne 0x107980ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107980f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107980e1
sub eax, ebx
mov ebx, 1
jne 0x10798128
mov ecx, 1
add dl, dl
jne 0x1079810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10798119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10798105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10798075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1079813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1079814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10798136
cmp eax, 0x7d00
jae 0x1079816d
cmp eax, 0x500
jb 0x10798168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10798075
cmp eax, 0x7f
ja 0x10798170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10798075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1079819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10798075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401f02
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jb 0x401edb
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402d90
add esp, 4
and eax, 0xff
test eax, eax
jne 0x401ee9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403210
add esp, 4
push str._temp_
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401880
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401f29
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 0x5c
mov eax, dword [ebp - 4]
push eax
call fcn.00401650
add esp, 8
mov byte [eax], 0
mov esp, ebp
pop ebp
ret
Function at 0x401db0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
movzx eax, si
push edi
mov edi, edx
test eax, eax
je 0x401dd6
sub esi, eax
add esi, 0x10000
cmp esi, edi
jae 0x401e70
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop dword [eax]
nop dword [eax + eax]
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x401e04
mov esi, 0x80010000
jmp 0x401e6c
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x401e70
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x401e57
cmp ecx, 0x10000
jb 0x401e57
push 0x40
push 0x3000
push 0x10000
push esi
call ebx
test eax, eax
jne 0x401e72
add esi, 0x10000
jmp 0x401e6c
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x401e6c
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x401df0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret

Function at 0x401e90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
add edx, 0xffff0000
push ebx
push esi
movzx eax, dx
mov esi, edx
sub esi, eax
test eax, eax
push edi
mov edi, ecx
cmove esi, edx
cmp esi, edi
jbe 0x401f4e
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop word [eax + eax]
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x401ee4
mov esi, 0x4fff0000
jmp 0x401f4a
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x401f4e
cmp dword [ebp - 0x10], 0x10000
jne 0x401f35
cmp dword [ebp - 0x14], 0x10000
jb 0x401f35
push 0x40
push 0x3000
push 0x10000
push esi
call ebx
test eax, eax
jne 0x401f50
sub esi, 0x10000
jmp 0x401f4a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov esi, ecx
movzx eax, si
sub esi, eax
test eax, eax
cmove esi, ecx
cmp esi, edi
ja 0x401ed0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
Function at 0x401f70
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x401f92
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x401f97
mov ebx, 0xfff80000
jmp 0x401f9d
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x49d00c]
mov eax, dword [0x49d014]
test edx, edx
jne 0x401fb8
test eax, eax
je 0x401fcb
mov edx, eax
mov dword [0x49d00c], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x401fcb
cmp ecx, edi
jb 0x401fcb
cmp ecx, ebx
jbe 0x4020c0
mov edx, eax
mov dword [0x49d00c], edx
test eax, eax
je 0x401ffd
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x401fec
cmp eax, edi
jb 0x401fec
cmp eax, ebx
jbe 0x4020c0
mov edx, dword [edx + 4]
mov eax, edx
mov dword [0x49d00c], edx
mov ecx, edx
test eax, eax
jne 0x401fd9
and esi, 0xffff0000
lea eax, [esi - 0x40000000]
cmp esi, 0x40000000
jbe 0x4020e7
mov edx, eax
mov ecx, edi
call fcn.00401e90
mov edx, eax
test edx, edx
jne 0x40207e
lea eax, [esi - 0x40000000]
cmp esi, 0x40000000
jbe 0x402047
mov edx, esi
mov ecx, eax
call fcn.00401db0
mov edx, eax
test edx, edx
jne 0x40207e
cmp esi, 0x40000000
jae 0x40205c
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.00401e90
mov edx, eax
test edx, edx
jne 0x40207e
mov edx, esi
mov ecx, edi
call fcn.00401e90
mov edx, eax
test edx, edx
jne 0x40207e
mov edx, ebx
mov ecx, esi
call fcn.00401db0
mov edx, eax
test edx, edx
je 0x402109
mov dword [edx], 0x52727464
xor ecx, ecx
mov dword [edx + 8], 0
mov esi, 0x38b
mov eax, dword [0x49d014]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x49d00c], edx
mov dword [0x49d014], edx
nop dword [eax]
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x4020b0
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x402109
cmp esi, ebx
ja 0x402109
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.0040e790
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
jae 0x40202a
lea ecx, [esi + 0x40000000]
mov edx, ebx
call fcn.00401db0
mov edx, eax
test edx, edx
jne 0x40207e
jmp 0x402049
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x402110
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x402138
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0xff
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push ebx
push edi
mov ebx, 0x5a4d
jne 0x4021a7
cmp byte [esi + 1], 0x25
jne 0x4021a7
mov edi, dword [esi + 2]
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call ecx
mov edx, dword [ebp - 0x1c]
cmp word [edx], bx
jne 0x4021a1
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x4021a1
mov ebx, dword [ecx + edx + 0xd8]
lea eax, [ebx + edx]
cmp edi, eax
jb 0x40219c
mov eax, dword [ecx + edx + 0xdc]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
add eax, ebx
add eax, edx
mov ebx, 0x5a4d
cmp edi, eax
jae 0x4021a7
mov esi, dword [edi]
jmp 0x4021a7
mov ebx, 0x5a4d
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp byte [esi], 0xeb
jne 0x40221f
movsx eax, byte [esi + 1]
add esi, 2
add esi, eax
mov al, byte [esi]
cmp al, 0xff
jne 0x402213
cmp byte [esi + 1], 0x25
jne 0x40221f
mov edi, dword [esi + 2]
lea eax, [ebp - 0x20]
push 0x1c
push eax
push esi
call ecx
mov edx, dword [ebp - 0x1c]
cmp word [edx], bx
jne 0x40221f
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x40221f
mov ebx, dword [ecx + edx + 0xd8]
lea eax, [ebx + edx]
cmp edi, eax
jb 0x40221f
mov eax, dword [ecx + edx + 0xdc]
add eax, ebx
add eax, edx
cmp edi, eax
jae 0x40221f
mov esi, dword [edi]
mov eax, esi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
cmp al, 0xe9
jne 0x40221f
mov ecx, dword [esi + 1]
add esi, 5
add esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret

Function at 0x402240
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x49d008], 0
jne 0x4022bd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x49d008
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4022bd
push esi
mov esi, dword [0x49d014]
mov dword [0x49d01c], eax
mov dword [0x49d018], eax
mov dword [0x49d004], eax
mov dword [0x49d010], eax
test esi, esi
je 0x4022ac
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x402296
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
Function at 0x4033b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x11c], ecx
cmp byte [0x49ceb0], 0
push edi
mov edi, edx
mov dword [ebp - 0x118], eax
je 0x4034ae
push edi
call fcn.00408e30
push eax
push str._s_Data__s
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00403050
add esp, 0x14
lea eax, [ebp - 0x110]
push 0x438050
push eax
call fcn.00410447
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x403430
push edi
push str.LoadCsv:__s_failed_to_load_from_file__file__NULL___loading_from_filesystem_n
call fcn.004016a0
add esp, 8
jmp 0x4034ae
push 2
push 0
push ebx
call fcn.004161ed
add esp, 0xc
push ebx
call fcn.00415b19
add esp, 4
mov dword [ebp - 0x114], eax
push ebx
call fcn.0041643a
mov eax, dword [ebp - 0x114]
add esp, 4
test eax, eax
je 0x40349a
push eax
call fcn.00417627
mov esi, eax
add esp, 4
test esi, esi
je 0x403492
mov eax, dword [ebp - 0x114]
push ebx
push eax
push 1
push esi
call fcn.00417266
push ebx
call fcn.004107e6
mov ebx, dword [ebp - 0x114]
add esp, 0x14
jmp 0x403572
push edi
push str.LoadCsv:__s_failed_to_load_from_file__malloc_failed___loading_from_filesystem_n
jmp 0x4034a0
push edi
push str.LoadCsv:__s_failed_to_load_from_file__size___0___loading_from_filesystem_n
call fcn.004016a0
push ebx
call fcn.004107e6
add esp, 0xc
mov ecx, dword [0x49cfdc]
push 0
push 0x438050
push edi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edx, eax
mov dword [ebp - 0x114], edx
test edx, edx
jne 0x4034e0
push edi
push str.LoadCsv:__s_failed_to_load_from_filesystem__fh__NULL___loading_hardcoded_values_n
call fcn.004016a0
add esp, 8
jmp 0x403569
mov ecx, dword [0x49cfdc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
je 0x403545
push ebx
call fcn.00417627
mov esi, eax
add esp, 4
test esi, esi
je 0x403523
mov ecx, dword [0x49cfdc]
mov edi, dword [ebp - 0x114]
push edi
push ebx
mov edx, dword [ecx]
push esi
call dword [edx + 0x5c]
mov ecx, dword [0x49cfdc]
push edi
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x403572
push edi
push str.LoadCsv:__s_failed_to_load_from_filesystem__malloc_failed___loading_hardcoded_values_n
call fcn.004016a0
mov ecx, dword [0x49cfdc]
add esp, 8
mov edi, dword [ebp - 0x114]
mov eax, dword [ecx]
push edi
call dword [eax + 0x34]
jmp 0x403569
push edi
push str.LoadCsv:__s_failed_to_load_from_filesystem__size___0___loading_hardcoded_values_n
call fcn.004016a0
mov ecx, dword [0x49cfdc]
add esp, 8
mov edi, dword [ebp - 0x114]
mov eax, dword [ecx]
push edi
call dword [eax + 0x34]
test esi, esi
jne 0x403572
mov esi, dword [ebp - 0x118]
mov ebx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp - 0x11c]
mov ecx, ebx
push esi
call dword [0x49ceb8]
xor al, al
cmp dword [ebx + 8], 0
je 0x403591
cmp dword [ebx + 0xc], 0
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
Function at 0x404ea0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [0x49cef0]
push edx
push edi
push edi
lea eax, [edx + 1]
mov dword [0x49cef0], eax
lea eax, [ebp - 0x110]
push str._s__s__d.bin
push eax
call fcn.00407010
add esp, 0x14
lea eax, [ebp - 0x110]
push 0x438740
push eax
call fcn.00410447
mov esi, eax
add esp, 8
test esi, esi
je 0x404f28
push esi
push 1
push dword [ebp + 8]
push ebx
call fcn.00416729
push esi
call fcn.004107e6
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x110]
push eax
push str.Cant_open__s_file_to_write__s_dump_n
call fcn.004016a0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040cbf7
mov esp, ebp
pop ebp
ret
Function at 0x407070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e965
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x43d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
jbe 0x4070ab
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4070c9
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4070b7
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00407ae0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4070e6
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x407245
cmp dword [0x49cfec], 0x71c71c7
je 0x40725b
mov dword [ebp - 0x20], 0x49cfe8
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.0040d087
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00407e10
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov edx, dword [0x49cfec]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x43a190]
mov eax, dword [0x49d000]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x43a190]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x49cfe4]
comiss xmm1, xmm0
jbe 0x4071f4
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.0042a580
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0042e530
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x49d000]
cmp eax, ecx
jae 0x4071d6
cmp eax, 0x200
jae 0x4071d4
shl eax, 3
cmp eax, ecx
jae 0x4071d6
mov eax, ecx
push eax
call fcn.004075f0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407ae0
mov edx, dword [0x49cfec]
mov ecx, dword [eax]
jmp 0x4071f7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
inc edx
mov dword [0x49cfec], edx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
and esi, dword [0x49cffc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x49cff0]
mov edx, dword [eax + esi*8]
cmp edx, dword [0x49cfe8]
jne 0x407229
mov dword [eax + esi*8], edi
jmp 0x40723b
cmp edx, ecx
jne 0x407232
mov dword [eax + esi*8], edi
jmp 0x40723f
mov ecx, dword [ebp - 0x10]
cmp dword [eax + esi*8 + 4], ecx
jne 0x40723f
mov dword [eax + esi*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0040dbff
int3
Function at 0x4075f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x40776f
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x49cfe8]
push eax
mov dword [ebp - 8], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x49cff0
lea eax, [esi + esi]
push eax
call fcn.00406f10
lea eax, [esi - 1]
mov dword [0x49d000], esi
mov esi, dword [0x49cfe8]
mov dword [0x49cffc], eax
mov eax, dword [ebp - 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x40774a
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea ecx, [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ecx
jbe 0x407676
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov ecx, dword [ecx + 0x10]
xor edx, edx
mov dword [ebp - 0xc], ecx
mov ebx, 0x811c9dc5
test ecx, ecx
je 0x4076a7
mov eax, dword [ebp - 4]
mov edi, ecx
nop dword [eax]
movzx ecx, byte [eax + edx]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x407690
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
and ebx, dword [0x49cffc]
mov ecx, dword [0x49cff0]
lea ecx, [ecx + ebx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x4076c4
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x407740
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.00407d70
test al, al
jne 0x4076fe
mov ebx, dword [ebx]
cmp ebx, esi
je 0x4076f6
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x40773d
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x407720
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.00407d70
test al, al
je 0x407753
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x407705
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov esi, edi
cmp edi, eax
jne 0x407660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x40773d
push str.invalid_hash_bucket_count
call fcn.0040dbff
int3