joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404140
Capabilities:
Encode data using xor
Hash data with crc32
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47be48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x49c00c]
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 dword [ebp - 0x24], ecx
cmp dword [ecx + 0x40058], 0
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
je 0x40432e
cmp dword [ecx + 4], 0xffffffff
je 0x40432e
cmp dword [ecx + 0x40028], 0
je 0x40432e
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], vtable.DataPack.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
cmp dword [0x4a5714], eax
je 0x404290
mov eax, dword [0x4a5710]
push ebx
inc eax
push edx
push 0x4ac044
mov dword [0x4a5710], eax
mov dword [0x4ac040], eax
call fcn.00443d00
lea esi, [ebx + 4]
add esp, 0xc
or ecx, 0xffffffff
xor edx, edx
test esi, esi
je 0x40421b
nop word [eax + eax]
movzx eax, byte [edx + 0x4ac040]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x48c9c0]
cmp edx, esi
jb 0x404200
mov dword [ebx + 0x4ac044], ecx
xor edx, edx
add ebx, 8
mov esi, 0x86d
movzx eax, bl
imul eax, eax, 0x9d
mov dword [ebp - 0x20], eax
test ebx, ebx
jle 0x40426a
nop dword [eax + eax]
mov eax, edx
mov ecx, esi
and eax, 7
sar ecx, 8
imul esi, esi, 0x87b
xor cl, byte [eax + 0x4a58a8]
xor cl, byte [edx + 0x4ac040]
xor cl, byte [ebp - 0x20]
mov byte [edx + 0x4ac040], cl
inc edx
cmp edx, ebx
jl 0x404240
push ebx
mov dword [ebp - 0x18], ebx
call fcn.0043f015
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
push ebx
push 0x4ac040
push esi
call fcn.00443d00
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x28], esi
lea eax, [ebx + 6]
mov dword [ebp - 0x2c], eax
cmp eax, 0xc8
jg 0x404323
mov esi, dword [sym.imp.WS2_32.dll_htons]
lea edi, [ecx + 0x28]
push 0xaa55
call esi
mov word [edi], ax
push ebx
push dword [ebp - 0x28]
mov word [edi + 2], bx
add edi, 4
push edi
call fcn.00443d00
add esp, 0xc
push 0x55aa
call esi
mov word [ebx + edi], ax
xor esi, esi
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
test ebx, ebx
jle 0x40431d
nop
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404301
test eax, eax
je 0x4042fb
add esi, eax
cmp esi, ebx
jl 0x4042e0
jmp 0x40431d
push 0x1a6
push str.CSocketAPISocket.cpp
push str.socket_send_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.00402340
add esp, 0x10
add dword [edi + 0x40040], ebx
push dword [ebp - 0x20]
call fcn.0043ed62
add esp, 4
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.0043ed51
mov esp, ebp
pop ebp
ret 8
Function at 0x404350
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x49cbc4], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x49cbc4], edx
inc eax
cmp eax, 0x270
jl 0x404361
mov dword [0x49cbc0], 0x270
pop ebp
ret 4

Function at 0x404720
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x404740
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 0xc

Function at 0x405740
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x405750
pop esi
ret

Function at 0x405790
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x4057a0
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x4057e2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x405860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, cl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
jle 0x4058be
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, ecx
nop dword [eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x4a58a8]
mov ecx, edi
xor dl, byte [ebx + esi]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov byte [esi], dl
cmp eax, dword [ebp + 8]
jl 0x405890
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x405a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, cl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
jle 0x405a9e
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
sub ebx, ecx
nop dword [eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x4a5948]
mov ecx, edi
xor dl, byte [ebx + esi]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov byte [esi], dl
cmp eax, dword [ebp + 8]
jl 0x405a70
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407bf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x407c3c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x407c1f
cmp edi, 2
jb 0x407c1f
cmp byte [esi], cl
jne 0x407c1f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x48cee0]
test edi, edi
jne 0x407c05
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x407c6b
cmp cl, 0x23
jne 0x407c52
cmp byte [esi], cl
jne 0x407c52
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x48cee0]
test cl, cl
jne 0x407c43
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x407d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x407d63
mov dword [eax], 0
mov edx, 0x490f58
call fcn.00407c80
mov esi, eax
test esi, esi
je 0x407e41
push esi
call fcn.0044972d
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x407e38
push 2
push 0
push esi
call fcn.00449e9b
add esp, 0xc
test eax, eax
jne 0x407e38
push esi
call fcn.0044972d
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x407e38
push 0
push ebx
push esi
call fcn.00449e9b
add esp, 0xc
test eax, eax
jne 0x407e38
cmp edi, 0xffffffff
je 0x407e38
mov eax, dword [0x4a5724]
test eax, eax
je 0x407dd8
inc dword [eax + 0x374]
push edi
call fcn.0044f5c5
add esp, 4
mov ebx, eax
push esi
test ebx, ebx
je 0x407e39
push edi
push 1
push ebx
call fcn.0044aa80
add esp, 0x10
push esi
cmp eax, edi
je 0x407e20
call fcn.00449b46
mov eax, dword [0x4a5724]
add esp, 4
test eax, eax
je 0x407e10
dec dword [eax + 0x374]
push ebx
call fcn.0044a8af
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.00449b46
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x407e31
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.00449b46
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x40c030
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xorps xmm0, xmm0
mov dword [ebp - 4], ecx
push edi
movups xmmword [ebp - 0x28], xmm0
or eax, 0xffffffff
mov dword [ebp - 0x28], str.Window
movups xmmword [ebp - 0x18], xmm0
mov bl, 0x57
mov esi, 0x490eb5
or edi, 0xffffffff
nop dword [eax + eax]
cmp bl, 0x23
jne 0x40c06f
cmp byte [esi], bl
jne 0x40c06f
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x48cee0]
test bl, bl
jne 0x40c060
mov esi, dword [ebp - 4]
not eax
add esi, 0x2e7c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x417020
mov dword [ebp - 0x18], 0x417090
mov dword [ebp - 0x14], 0x4170d0
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], 0x4171a0
mov dword [ebp - 0xc], 0x417210
cmp ecx, edi
jne 0x40c0e4
inc ecx
test edi, edi
je 0x40c0d2
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40c0d7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00417b80
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x28]
pop edi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
mov eax, dword [ebp - 4]
inc dword [esi]
pop esi
pop ebx
mov byte [eax], 1
mov esp, ebp
pop ebp
ret
Function at 0x416690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x4a5724]
push edi
cmp byte [esi + 0x2e94], 0
je 0x416740
cmp dword [esi + 0x2e9c], 0
je 0x41672e
mov ebx, dword [esi + 0x2ea4]
lea edi, [esi + 0x2ea0]
test ebx, ebx
jns 0x4166e9
je 0x4166d5
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
jmp 0x4166da
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, edi
push eax
call fcn.00417960
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.004083a0
mov edx, dword [edi]
test edx, edx
je 0x416706
dec edx
jmp 0x416708
xor edx, edx
push dword [esi + 0x2e9c]
mov eax, dword [edi + 8]
mov ecx, 0x4a571e
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.0044a69c
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ecx, [esi + 0x2ea0]
call fcn.004083a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416bc0
Capabilities:
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
or ecx, 0xffffffff
mov al, byte [edi]
lea esi, [edi + 1]
test al, al
je 0x416bfc
push ebx
or ebx, 0xffffffff
cmp al, 0x23
jne 0x416be2
cmp byte [esi], al
jne 0x416be2
cmp byte [esi + 1], al
cmove ecx, ebx
movzx edx, cl
movzx eax, al
xor edx, eax
shr ecx, 8
mov al, byte [esi]
inc esi
xor ecx, dword [edx*4 + 0x48cee0]
test al, al
jne 0x416bd4
pop ebx
not ecx
call fcn.00416b70
test eax, eax
jne 0x416c10
mov ecx, edi
pop edi
pop esi
jmp fcn.00416a90
pop edi
pop esi
ret

Function at 0x416c20
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4a5724]
test bl, bl
je 0x416c66
or edi, 0xffffffff
cmp bl, 0x23
jne 0x416c47
cmp byte [esi], bl
jne 0x416c47
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x48cee0]
test bl, bl
jne 0x416c38
mov edi, dword [0x4a5724]
mov esi, dword [edi + 0x2e7c]
xor ecx, ecx
not eax
test esi, esi
jle 0x416c8c
mov edi, dword [edi + 0x2e84]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x416c92
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x416c80
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret

Function at 0x416ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a5724]
push esi
mov esi, ecx
push edi
mov dword [eax + 0x2e6c], 0
test esi, esi
je 0x416f13
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.00416f30
mov edx, 0x490f5c
mov ecx, esi
mov edi, eax
call fcn.00407c80
mov esi, eax
test esi, esi
je 0x416f13
push esi
push dword [ebp - 4]
push 1
push edi
call fcn.0044a69c
push esi
call fcn.00449b46
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4266c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x5e6ea9af
push esi
mov esi, edx
mov ecx, 1
mul ebx
push edi
shr edx, 0xb
xor edi, edi
imul eax, edx, 0x15b0
mov edx, ebx
mov dword [ebp - 0x10], edi
sub edx, eax
mov dword [ebp - 4], edx
test ebx, ebx
je 0x4267fa
xor ebx, ebx
cmp edx, 7
jbe 0x426759
mov eax, 7
sub eax, esi
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
add ebx, 8
add ecx, eax
movzx eax, byte [esi + 1]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 2]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 3]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 4]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 5]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 6]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 7]
add edi, ecx
add esi, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
add eax, esi
add edi, ecx
cmp eax, edx
jb 0x426708
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp ebx, eax
jae 0x4267bf
sub eax, ebx
cmp eax, 2
jb 0x4267ab
mov edx, dword [ebp - 4]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea ebx, [ebx + edx*2]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov edi, ebx
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add ebx, ecx
add esi, 2
add ecx, eax
add edi, ecx
sub edx, 1
jne 0x426785
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x10]
cmp ebx, dword [ebp - 4]
jae 0x4267b8
movzx eax, byte [esi]
add ecx, eax
add edi, ecx
inc esi
mov eax, dword [ebp - 0xc]
add eax, edx
add edi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, dword [ebp - 4]
add edi, eax
sub dword [ebp + 8], edx
mov edx, 0x15b0
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edx
jne 0x4266f7
shl edi, 0x10
lea eax, [ecx + edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427c10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4a5724]
lea eax, [ebp - 0x20]
push esi
push edi
push eax
push dword [0x4a5748]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm0, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mov dword [ebx + 0x10], eax
movss dword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x10]
mov ecx, edi
sub ecx, dword [0x4a5740]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [0x4a5744]
call fcn.00479910
mov edx, dword [0x4a573c]
mov ecx, dword [0x4a5738]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.00479910
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x4a5744], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x4a5740], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
call fcn.004278a0
cmp byte [ebx + 0xb0], 0
je 0x427d13
or eax, 0xffffffff
jmp 0x427d1e
mov eax, dword [0x4a5724]
mov eax, dword [eax + 0x1e5c]
cmp dword [0x49caf8], eax
je 0x427d30
mov dword [0x49caf8], eax
call fcn.00427770
call fcn.00427990
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ed51
mov esp, ebp
pop ebp
ret
Function at 0x42eb40
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0x54], 0x100000
push esi
push edi
mov edi, edx
je 0x42ebb0
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x42eb88
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x42eb6f
cmp byte [esi], cl
jne 0x42eb6f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x48cee0]
test cl, cl
jne 0x42eb60
mov ecx, dword [0x4a5724]
not eax
cmp dword [ecx + 0x1aa0], eax
jne 0x42eb9e
mov dword [ecx + 0x1aa4], eax
cmp dword [ecx + 0x1adc], eax
jne 0x42ebf5
pop edi
mov byte [ecx + 0x1ae0], 1
pop esi
ret
mov esi, dword [0x4a5724]
xor edx, edx
mov eax, dword [esi + 0x1a68]
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.00407bf0
add esp, 4
cmp dword [esi + 0x1aa0], eax
jne 0x42ebe6
mov dword [esi + 0x1aa4], eax
cmp dword [esi + 0x1adc], eax
jne 0x42ebf5
mov byte [esi + 0x1ae0], 1
pop edi
pop esi
ret
Function at 0x434770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c3da
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0044046f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x434830
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004431ab
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x49a18c
push eax
call fcn.00443714
push edi
push esi
call fcn.004407b7
add esp, 8
mov eax, esi
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.0043ed51
mov esp, ebp
pop ebp
ret 4

Function at 0x4353f0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x490f58
push eax
mov dword [0x4a2f24], 0
mov dword [0x4a2f20], 0
mov dword [0x4a2f10], 0x67452301
mov dword [0x4a2f14], 0xefcdab89
mov dword [0x4a2f18], 0x98badcfe
mov dword [0x4a2f1c], 0x10325476
call fcn.0044a898
mov esi, eax
add esp, 8
test esi, esi
jne 0x43546d
mov eax, 0x490ddc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ed51
mov esp, ebp
pop ebp
ret 4
push esi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0044aa80
add esp, 0x10
test eax, eax
je 0x4354b0
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00402e60
push esi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0044aa80
add esp, 0x10
test eax, eax
jne 0x435488
call fcn.00402f10
push esi
call fcn.00449b46
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 0x4a2f78
pop esi
call fcn.0043ed51
mov esp, ebp
pop ebp
ret 4
Function at 0x435870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c58e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x49c00c]
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 esi, ecx
mov dword [ebp - 0x2c], esi
sub esp, 0x18
mov dword [ebp - 0x30], 0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4358c4
mov eax, dword [ecx]
jmp 0x4358c6
mov eax, ecx
push 0xffffffffffffffff
push 0
push 0x4a9634
mov byte [eax], 0
call fcn.00404af0
lea ecx, [ebp - 0x28]
call fcn.004354e0
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x435921
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x490ddc
mov byte [esi], 0
call fcn.004049f0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x435a07
inc ecx
push ecx
jmp 0x4359fc
cmp dword [0x4a9648], 0x10
mov eax, 0x4a9634
cmovae eax, dword [0x4a9634]
push eax
call fcn.004353f0
mov edx, eax
cmp byte [edx], 0
jne 0x435945
xor ecx, ecx
jmp 0x435959
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435950
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404c20
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x28]
xor ecx, ecx
test ebx, ebx
je 0x435991
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x435980
lea ecx, [ebp - 0x48]
call fcn.00430810
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4359d2
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4359b7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405110
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404e50
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x4359e7
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00405110
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004044e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x435a07
inc eax
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00405110
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.0043ed51
mov esp, ebp
pop ebp
ret