joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100044f4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000453c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100045ae
jmp 0x100045e2
mov eax, dword [ebp - 0x18]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10004569
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x1000453c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x100045e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100045e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100045e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10004520
jmp 0x100045e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x10]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x6c
jne 0x100045e2
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10004534
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x10004534
Function at 0x10004b8e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10031990], 0
mov edi, dword [0x10031984]
add edi, 0xac6
mov dword [0x10031984], edi
mov byte [0x10031994], 0
mov edi, dword [0x10031988]
add edi, 0x899
mov dword [0x10031988], edi
mov dword [0x1003198c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10004c2a
mov dword [0x10031984], 0x117c
xor eax, eax
mov ecx, 0x117c
mov dword [0x1003198c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10004c5c
mov eax, dword [0x10031984]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x10004c5c
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10031988], 0x21f
mov eax, dword [0x1003198c]
add eax, 1
mov dword [0x1003198c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10004c2a
jmp 0x10004bef
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add eax, 0xfffff2bb
mov dword [0x10031988], eax
mov eax, dword [0x10031990]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x2c]
idiv edi
mov dword [0x10031990], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10031994], bl
mov dword [0x10031988], 0x19c9
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10031994]
mov ecx, dword [0x10031990]
mov byte [esi + ecx], bl
mov dword [0x10031988], 0x237e
mov ecx, dword [0x1003198c]
add ecx, 1
mov dword [0x1003198c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x28], ecx
jl 0x10004c12
jmp 0x10004c22
Function at 0x10004d16
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1003198c], 0
mov dword [0x10031990], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, 0xfffff7ea
xor ecx, ecx
mov dword [0x10031998], 0
mov dword [0x10031984], 0x1640
mov edx, dword [ebp - 0x10]
cmp edx, 0
mov esi, ecx
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ecx
jne 0x10004da8
mov eax, dword [ebp - 0x24]
mov dword [0x10031988], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1003198c]
mov ecx, dword [0x10031990]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1003198c], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10031990], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10031994], cl
mov edi, dword [0x10031988]
add edi, 0xfffff1b0
mov dword [0x10031988], edi
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10031994]
mov edx, dword [0x10031990]
mov byte [edi + edx], cl
mov edx, dword [0x1003198c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10031990]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10031988], 0x494
and ebx, 0xff
mov dword [0x10031998], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
mov ecx, dword [0x10031984]
mov edx, ecx
add edx, 0x126e
mov dword [0x10031984], edx
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], edx
jne 0x10004d91
mov eax, dword [ebp - 0x40]
add eax, 0xfffff418
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
jmp 0x10004d81
Function at 0x10005015
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x10031984], 0xf07
mov dword [ebp - 0x10], eax
call fcn.10004ea2
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000505b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10031984], 0x1d5b
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10005173
jmp 0x100050b2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x100050c6
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x10005096
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x10005117
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x100050c6
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1000514a
jmp 0x10005120
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jb 0x10005096
jmp 0x10005173
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x54], edi
mov dword [0x10031984], 0x249e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000556b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10031984], 0x24bc
mov esi, dword [0x10031988]
add esi, 0xfffff2ac
mov dword [0x10031988], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000670d]
mov dh, byte [eax + 0x100066de]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x100055eb
jmp 0x1000559f
mov dword [0x10031984], 0x1327
mov eax, dword [ebp - 0x34]
add eax, 0x1fc3
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x100056b3
lea eax, [ebp - 0x24]
mov dword [0x10031984], 0x380
mov dword [0x10031988], 0xffffeaa5
mov dword [ebp - 0x40], eax
call fcn.100052a4
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.100053d1
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ecx
je 0x100056b3
mov eax, dword [ebp - 0x44]
mov dword [0x10031984], 0x761
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.10004898
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x30], ecx
mov dword [0x10031984], 0x1e36
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x4c], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
jne 0x100055cb
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100056eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10031984], 0xec4
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x100057ae
lea eax, [ebp - 0x12c]
mov dword [0x10031984], 0xdb0
mov dword [0x10031988], 0xffffeaa5
mov dword [ebp - 0x13c], eax
call fcn.100052a4
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.100053d1
mov ecx, eax
mov dword [0x1003199c], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x10031984]
add edx, 0x1adc
mov dword [0x10031988], edx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x10005856
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x138
mov edi, edx
add edi, esi
add edi, 0x2c
mov esi, ecx
add esi, 1
imul ecx, ecx, 0x138
add edx, ecx
add edx, 0x38
mov ecx, dword [edx]
movzx edx, word [edi]
xor edx, ecx
add edx, eax
cmp esi, 0x222
mov eax, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], eax
jne 0x100057ae
xor eax, eax
mov dword [0x10031988], 0x1562
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000670d]
mov dh, byte [eax + 0x100066de]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x150], ecx
je 0x1000571f
jmp 0x1000581d
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x138
mov edi, edx
add edi, esi
add edi, 0x38
mov esi, dword [edi]
imul edi, eax, 0x138
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x138
add edx, ebx
add edx, 0x2c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10004acb
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x222
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
jne 0x10005856
lea eax, [0x100066ec]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10031984], 0x1f64
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10004b8e
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10004d16
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x85b69
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x14aa00
mov ecx, dword [ebp - 0x144]
add ecx, 0x3c74c
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2000
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x419eeb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x419efa
pop dword [ebp - 8]
mov eax, 0x91401c91
sub eax, 0x90fe7d97
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3b19e
push 0
mov eax, 0x8f51950a
sub eax, 0x8f0fc30a
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x8c932e29
sub ecx, 0x8c92f1d5
mov esi, eax
mov edx, 0x6ae55161
add edx, 0x955e0e9f
add edx, dword [ebp - 8]
mov edi, 0xaf7aa32d
add dword [ebp - 4], 0x226f5352
mov ebx, dword [edx]
xor ebx, edi
add dword [ebp - 4], 0xe441d747
mov dword [esi], ebx
xor dword [ebp - 4], 0x1ec8f3c4
add esi, 4
add edx, 4
loop 0x419f53
add eax, 0xc429132c
sub eax, 0xc4282f09
mov ebx, eax
add eax, 0x355f9832
sub eax, 0x355f982d
mov ecx, 0x9d5fd2b5
sub ecx, 0x9d1fd2b5
add ecx, dword [ebp - 8]
call ebx
leave
ret
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
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x480af0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x480b23
cmp byte [esi], 0
je 0x480b1b
lea eax, [esi + 1]
push eax
call fcn.00480af0
mov ecx, eax
add esp, 4
shl ecx, 5
add ecx, eax
movsx eax, byte [esi]
add eax, ecx
pop esi
pop ebp
ret
mov eax, 0x1505
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x482190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4f9490]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x482258
cmp byte [edi + 0x3d], 0
je 0x482258
mov eax, dword [edi]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4aa2cc]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x482246
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x48220d
sub eax, 1
je 0x482211
sub eax, 2
jne 0x482246
mov byte [edi + 0x3d], al
mov al, 1
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486160
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x48222f
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x482246
cmp byte [edi + 0x3d], 0
pop esi
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486160
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486160
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.00486160
mov esp, ebp
pop ebp
ret
Function at 0x483670
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487495
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4f9490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.004834f0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x483703
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [edi + 8], 0x4924924
je 0x483860
lea eax, [edi + 4]
mov dword [ebp - 0x18], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.00485ed0
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi + 8], ecx
mov dword [esi + 0x34], 0
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4aa9c0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4aa9c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4837ff
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004864f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x4837de
cmp ebx, 0x200
jae 0x4837dc
shl ebx, 3
cmp ebx, ecx
jae 0x4837de
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00484b10
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004834f0
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x483802
mov edx, dword [ebp - 0x20]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x14]
jne 0x483830
mov dword [ecx + eax*8], esi
jmp 0x48383f
cmp edi, edx
jne 0x483839
mov dword [ecx + eax*8], esi
jmp 0x483843
cmp dword [ecx + eax*8 + 4], ebx
jne 0x483843
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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 sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x483aa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48751d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4f9490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x483c5d
nop dword [eax]
cmp dword [edi + 0x14], 0x10
mov ebx, edi
jb 0x483aea
mov ebx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x483b08
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x483af6
push esi
push edi
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
call fcn.00483560
cmp dword [ebp - 0x1c], 0
jne 0x483c4e
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0x3ffffff
je 0x483c71
lea eax, [ecx + 4]
mov dword [ebp - 0x28], eax
push 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.00485ed0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
lea eax, [ebx + 8]
push edi
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00480d10
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebx + 0x20]
call fcn.00483fa0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 2
mov eax, dword [edx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4aa9c0]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4aa9c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
seta al
test al, al
je 0x483be7
mov ecx, edx
call fcn.00484eb0
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + 8]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00483560
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jmp 0x483bea
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [ebx + 4], eax
mov dword [ebx], ecx
mov dword [eax], ebx
mov dword [ecx + 4], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x14], ecx
and eax, esi
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x24], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [edx + 4]
jne 0x483c27
mov dword [ecx + eax*8], ebx
mov dword [ecx + eax*8 + 4], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x483c51
cmp esi, dword [ebp - 0x14]
jne 0x483c38
mov dword [ecx + eax*8], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x483c51
mov esi, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], esi
jne 0x483c45
mov dword [ecx + eax*8 + 4], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x483c51
mov edx, dword [ebp - 0x10]
add edi, 0x38
cmp edi, dword [ebp + 0xc]
jne 0x483ae0
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 sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3