joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0610
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4090e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4090e5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4090c7
cmp esi, edx
jae 0x4090e5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4090b5
cmp esi, edx
jae 0x4090e5
cmp word [esi], 0
je 0x4090e5
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1248
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x698100]
cmp eax, dword [ecx + 4]
jle 0x40aa22
push 0x698100
call fcn.00590972
add esp, 4
cmp dword [0x698100], 0xffffffff
jne 0x40aa22
mov dword [ebp - 4], 1
xor eax, eax
mov dword [0x698104], 0
mov dword [0x698114], 0
mov dword [0x698118], 0
mov dword [0x698114], 0
mov dword [0x698118], 7
mov word [0x698104], ax
mov byte [ebp - 4], 1
push 0x608c60
call fcn.0059082a
add esp, 4
mov byte [ebp - 4], 0
push 0x698100
call fcn.00590928
add esp, 4
cmp dword [0x698114], 0
jne 0x40aadd
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40aadd
add eax, eax
cmp eax, 0x208
jae 0x40ab16
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aa94
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00406e80
mov dword [ebp - 4], 4
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x698104
call fcn.004f1850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004075e0
push 0x698104
mov ecx, esi
call fcn.00406350
mov dword [ebp - 4], 0
mov dword [ebp - 0x234], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret
call fcn.00590b6a
int3
Function at 0x40abf0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b13c9
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x238], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x234], 0
cmp dword [edx + 0x14], 8
jb 0x40ac40
mov edx, dword [edx]
lea ecx, [ebp - 0x218]
push ecx
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x40ac81
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 1
jmp 0x40ad6c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ace1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00406e80
mov dword [ebp - 4], 3
lea eax, [ebp - 0x230]
push 1
sub esp, 0x18
mov dword [ebp - 0x238], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
push eax
call fcn.00406350
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.004f1920
add esp, 0x18
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.004f1d70
mov byte [ebp - 4], 3
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004075e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret
Function at 0x40b360
Capabilities:
Create directory
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b16eb
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x69811c]
cmp eax, dword [esi + 4]
jle 0x40b3eb
push 0x69811c
call fcn.00590972
add esp, 4
cmp dword [0x69811c], 0xffffffff
jne 0x40b3eb
mov dword [ebp - 4], 0
mov ecx, 0x698120
call fcn.0040b590
mov byte [ebp - 4], 0
push 0x608cb0
call fcn.0059082a
mov dword [ebp - 4], 0xffffffff
push 0x69811c
call fcn.00590928
add esp, 8
mov eax, dword [0x6980e4]
cmp eax, dword [esi + 4]
jle 0x40b471
push 0x6980e4
call fcn.00590972
add esp, 4
cmp dword [0x6980e4], 0xffffffff
jne 0x40b471
mov dword [ebp - 4], 2
xor eax, eax
mov dword [0x6980e8], 0
mov dword [0x6980f8], 0
mov dword [0x6980fc], 0
mov dword [0x6980f8], 0
mov dword [0x6980fc], 7
mov word [0x6980e8], ax
mov byte [ebp - 4], 2
push 0x608c10
call fcn.0059082a
mov dword [ebp - 4], 0xffffffff
push 0x6980e4
call fcn.00590928
add esp, 8
cmp dword [edi + 0x14], 8
mov esi, edi
mov ebx, dword [edi + 0x10]
jb 0x40b47e
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x40b4a1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40b490
push edx
push edi
lea eax, [ebp - 0x6c]
mov ecx, 0x698120
push eax
call fcn.0040c0a0
mov esi, dword [eax + 4]
test esi, esi
je 0x40b4c5
cmp esi, dword [0x698124]
je 0x40b4c5
add esi, 0x20
jmp 0x40b4ca
mov esi, 0x6980e8
cmp dword [esi + 0x10], 0
je 0x40b4ea
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40b4da
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, esi
jmp 0x40b572
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x40b4f4
mov edx, dword [edi]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0040ab20
add esp, 4
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x40]
push edi
call fcn.00406350
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
call fcn.00406350
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x698120
push eax
call fcn.0040b810
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0xb
mov ecx, eax
call fcn.004075e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004075e0
mov esi, dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004075e0
lea eax, [esi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret
Function at 0x40b810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b17cd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x40b84a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x40b86b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x40b857
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0040c0a0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40b89c
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 [ebx + 8], 0x4924924
je 0x40b9e7
lea eax, [ebx + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x10], 0
call fcn.005904a9
add esp, 4
mov edi, eax
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.0040c130
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
movss xmm3, dword [ebx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movd xmm1, eax
addsd xmm0, qword [ecx*8 + 0x6388a0]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x6388a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x40b977
divss xmm0, xmm3
call fcn.0040c1d0
call fcn.005b0200
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x40b95b
cmp eax, 0x200
jae 0x40b959
shl eax, 3
cmp eax, ecx
jae 0x40b95b
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0040bbd0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c0a0
mov edx, dword [eax]
jmp 0x40b97a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x40b9ad
mov dword [ecx + eax*8], edi
jmp 0x40b9bf
cmp esi, edx
jne 0x40b9b6
mov dword [ecx + eax*8], edi
jmp 0x40b9c3
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x40b9c3
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.0058e009
int3
Function at 0x40cb90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 4]
sub eax, 0x200
cmp eax, 0xe
ja 0x40cc1a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x40ccc6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x40ccc6
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x40ccc6
mov eax, dword [esi + 4]
sub eax, 0x100
cmp eax, 9
ja 0x40cd0c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x40cc4c
mov eax, dword [esi + 8]
cmp eax, 0x58
je 0x40cc4c
cmp eax, 0x43
je 0x40cc4c
cmp eax, 0x56
jne 0x40ccc6
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x40cc68
mov eax, dword [esi + 8]
cmp eax, 0x25
je 0x40ccc6
cmp eax, 0x27
je 0x40ccc6
cmp dword [esi + 4], 0x100
jne 0x40cd0c
mov eax, dword [esi + 8]
cmp eax, 8
jne 0x40ccbe
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x14]
call fcn.004169f0
mov dword [ebp - 0x54], eax
test eax, eax
je 0x40cc95
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x40ccd3
mov dl, 1
call fcn.00416ad0
test al, al
je 0x40ccd3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040c940
mov eax, dword [esi + 8]
add eax, 0xffffff90
cmp eax, 0xb
ja 0x40cd0c
mov dword [edi], 1
mov eax, 1
jmp 0x40cd15
mov dword [edi], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040c940
mov eax, 1
jmp 0x40cd15
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b22cd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x40e49a
mov eax, dword [0x697d3c]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.0040e7d0
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, 0x697d3c
call fcn.0040e730
mov bl, al
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov ecx, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e3e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x40e43a
mov eax, dword [0x697d3c]
mov ecx, edi
push dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.0040e960
mov dword [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e47b
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40e47b
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e43a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0040e890
mov dword [ebp - 4], 5
mov ecx, 0x616a8c
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e4b0
test dx, dx
je 0x40e477
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e4b0
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e455
xor edi, edi
jmp 0x40e4b5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40e49a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
sbb edi, edi
or edi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40e4d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x40e49a
mov al, 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 4
Function at 0x416bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3b60
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x44], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x69816c]
cmp eax, dword [ecx + 4]
jle 0x416ca7
push 0x69816c
call fcn.00590972
add esp, 4
cmp dword [0x69816c], 0xffffffff
jne 0x416ca7
mov dword [ebp - 4], 1
mov dword [0x698170], 0
mov dword [0x698174], 0
mov dword [0x698178], 0
mov byte [ebp - 4], 2
mov dword [0x69817c], 0
mov dword [0x698180], 0
mov dword [0x698184], 0
mov byte [ebp - 4], 3
mov dword [0x698188], 0
mov dword [0x69818c], 0
mov dword [0x698190], 0
mov byte [ebp - 4], 1
push 0x608f60
call fcn.0059082a
mov byte [ebp - 4], 0
push 0x69816c
call fcn.00590928
add esp, 8
push 0x6172a8
push str.html
mov edx, 0x6172bc
lea ecx, [ebp - 0x28]
call fcn.0040ad90
add esp, 8
mov dword [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004f1640
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x416ce0
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x50], 0x61675c
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.004075e0
cmp edi, 0xffffffff
jne 0x416d54
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 5
push edi
mov dword [ebp - 0x50], 0x61675c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0
jmp 0x416dd9
mov eax, dword [0x698174]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [0x698178]
je 0x416d7c
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.00406350
mov byte [ebp - 4], 8
add dword [0x698174], 0x18
jmp 0x416d87
push eax
mov ecx, 0x698170
call fcn.004e5630
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x416d91
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x48]
push 0
push edx
add eax, eax
mov dword [ebp - 0x48], 0
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea ecx, [ebp - 0x28]
call fcn.004f1640
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 5
mov dword [ebp - 0x50], 0x61675c
test edi, edi
je 0x416dd9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004075e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret
Function at 0x417880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3e9d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x4178ba
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x4178db
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4178c7
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040c0a0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x41790c
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 [ebx + 8], 0x5d1745d
je 0x417a6f
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x14], 0
call fcn.005904a9
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00406350
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 5
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6388a0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x6388a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4179ff
divss xmm0, xmm3
call fcn.0040c1d0
call fcn.005b0200
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4179e3
cmp eax, 0x200
jae 0x4179e1
shl eax, 3
cmp eax, ecx
jae 0x4179e3
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00417bc0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040c0a0
mov edx, dword [eax]
jmp 0x417a02
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x417a35
mov dword [ecx + eax*8], edi
jmp 0x417a47
cmp esi, edx
jne 0x417a3e
mov dword [ecx + eax*8], edi
jmp 0x417a4b
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x417a4b
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.0058e009
int3
Function at 0x418610
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4052
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x24], 0x618950
mov dword [esi], 0x6189b8
mov dword [esi + 0x24], 0x618984
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 1
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov byte [ebp - 4], 5
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [ebp - 4], 6
mov byte [esi + 0x58], 1
mov dword [esi + 0x5c], 0
mov byte [esi + 0x60], 1
mov dword [esi + 0x64], 0xffffffff
mov byte [esi + 0x68], 0
mov dword [esi + 0x6c], 0xffffffff
mov word [esi + 0x70], 1
mov byte [esi + 0x72], 0
mov dword [esi + 0x74], 0
mov byte [esi + 0x78], 0
call dword [sym.imp.UxTheme.dll_BufferedPaintInit]
test eax, eax
sete al
mov byte [esi + 0x78], al
mov byte [ebp - 4], 7
mov byte [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41a580
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x41a5fa
mov esi, dword [esp + 0x10]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x41a5b5
push edi
mov ecx, esi
call fcn.004096b0
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x41a5dc
mov ecx, dword [esi]
test ecx, ecx
je 0x41a5e0
push dword [ecx - 8]
push ecx
call fcn.00597f8d
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x41a5fa
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x41a5fa
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
push 0x80070057
call fcn.00409920
int3