joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42524b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x48ad08]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42528b
cmp byte [ebx], 0xa
jne 0x42528b
or byte [eax + edi + 0x28], 4
jmp 0x425290
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x42538e
mov al, byte [edx]
cmp al, 0x1a
je 0x425370
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4252bf
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4252e4
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4252ee
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4252a1
jmp 0x42538e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42536b
cmp dword [ebp - 0xc], 0
je 0x42536b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48ad08]
test byte [eax + edi + 0x28], 0x48
je 0x425345
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425330
mov byte [esi], dl
jmp 0x425341
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48ad08]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42538e
cmp byte [ebp - 1], 0xa
jne 0x425354
cmp esi, ebx
jne 0x425354
mov byte [esi], 0xa
jmp 0x42538d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00425dcb
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42538e
mov byte [esi], 0xd
jmp 0x42538d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48ad08]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42538a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42538e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425397
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x48ad08]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4253da
cmp word [esi], dx
jne 0x4253da
or byte [edi + eax + 0x28], 4
jmp 0x4253df
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x425532
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x425512
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425421
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425457
cmp eax, edx
jae 0x425463
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4253f9
jmp 0x425532
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42550e
cmp dword [ebp - 0x14], 0
je 0x42550e
mov eax, dword [ebx*4 + 0x48ad08]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4254e6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4254af
mov word [esi], cx
jmp 0x4254e2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48ad08]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48ad08]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48ad08]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425532
pop ebx
cmp word [ebp - 4], bx
jne 0x4254f7
cmp esi, dword [ebp + 0xc]
jne 0x4254f7
mov word [esi], bx
jmp 0x42552f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00425dcb
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425532
push 0xd
jmp 0x42552b
mov ecx, dword [ebx*4 + 0x48ad08]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425529
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425532
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1499620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdca000]
push edi
or ebp, 0xffffffff
jmp 0x1499642
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1499649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1499638
mov eax, 1
add ebx, ebx
jne 0x149965b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1499650
jne 0x149966c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1499650
xor ecx, ecx
sub eax, 3
jb 0x1499680
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x14996f2
mov ebp, eax
add ebx, ebx
jne 0x149968b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1499698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x14996bc
inc ecx
add ebx, ebx
jne 0x14996a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x149969d
jne 0x14996b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x149969d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14996dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14996cd
jmp 0x149963e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14996dc
add edi, ecx
jmp 0x149963e
pop esi
mov edi, esi
mov ecx, 0x1d2d5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x14996fa
cmp byte [edi], 0xa5
jne 0x14996fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x14996ff
lea edi, [esi + 0x1072000]
mov eax, dword [edi]
or eax, eax
je 0x1499777
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x109e074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x109e260]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x149972c
mov ecx, edi
jns 0x149975b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x109e268]
or eax, eax
je 0x1499771
mov dword [ebx], eax
add ebx, 4
jmp 0x1499749
call dword [esi + 0x109e264]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x14997a8
cmp al, 0xef
ja 0x149979b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x149977d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x149978a
mov ebp, dword [esi + 0x109e26c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x287]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x14997dc
sub esp, 0xffffff80
jmp 0x80326e
Function at 0x4019c3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x4019d6
push esp
mov dword [ebp - 0x24], 0x4016fe
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a75
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a56
pop ebp
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40d4e2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push ecx
push ecx
mov eax, esp
push dword [ebp + 8]
mov esi, 0x411488
mov dword [eax], esi
mov dword [eax + 4], 0x104
call fcn.00404927
cmp eax, edi
je 0x40d59d
push edi
push 0x8000000
push 2
push edi
push edi
push 0x40000000
push esi
call fcn.0040188c
cmp eax, 0xffffffff
je 0x40d548
push 0x40d5c0
push 0x8000
push eax
call dword [sym.imp.MSVCR80.dll__open_osfhandle]
pop ecx
pop ecx
push eax
call dword [sym.imp.MSVCR80.dll__fdopen]
pop ecx
pop ecx
mov dword [0x411480], eax
cmp dword [0x411480], edi
jne 0x40d55a
push esi
push 1
mov eax, 0x304
jmp 0x40d5a6
mov eax, 0x410060
mov byte [0x411486], 1
call fcn.0040dacd
push dword [0x411480]
lea eax, [ebp + 8]
push 1
push 2
push eax
mov dword [ebp + 8], CryptGetHashParam
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x40d5b2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040d6a6
xor eax, eax
jmp 0x40d5b7
push dword [ebp + 8]
mov eax, 0x30d
push edi
mov ecx, 0x410060
call fcn.0040cab2
pop ecx
pop ecx
mov eax, 0x80004005
pop edi
pop esi
pop ecx
pop ebp
ret 0xc

Function at 0x40d5c3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, 0x410060
push 0x3011
call fcn.0040d633
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
lea ecx, [eax + 2]
pop esi
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x40d5e2
push dword [0x411480]
sub eax, ecx
sar eax, 1
push eax
push 2
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll_fwrite]
push 0x40c7bc
push dword [0x411480]
call dword [sym.imp.MSVCR80.dll_fwprintf_s]
add esp, 0x18
pop ebp
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000db50
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000dd14
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x1000db7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000db81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000db70
mov eax, 1
add ebx, ebx
jne 0x1000db93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000db88
jne 0x1000dba4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000db88
xor ecx, ecx
sub eax, 3
jb 0x1000dbb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000dc2a
mov ebp, eax
add ebx, ebx
jne 0x1000dbc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000dbd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000dbf4
inc ecx
add ebx, ebx
jne 0x1000dbe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000dbd5
jne 0x1000dbf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000dbd5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000dc14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000dc05
jmp 0x1000db76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000dc14
add edi, ecx
jmp 0x1000db76
pop esi
mov edi, esi
mov ecx, 0xda
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000dc32
cmp byte [edi], 3
jne 0x1000dc32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1000dc37
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x1000dca6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd240]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000dc64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd244]
or eax, eax
je 0x1000dca0
mov dword [ebx], eax
add ebx, 4
jmp 0x1000dc81
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000dcd7
cmp al, 0xef
ja 0x1000dcca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000dcac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000dcb9
mov ebp, dword [esi + 0xd248]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1000dd0b
sub esp, 0xffffff80
jmp 0x10001078
Function at 0x402d00
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [0x41a424], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.Rainy75
call edi
movups xmm0, xmmword [0x41608c]
push 0x41a468
push 1
movups xmmword [0x41a468], xmm0
push 0
movups xmm0, xmmword [0x416074]
movups xmmword [0x41a476], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a486], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x402d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402eac
movups xmm1, xmmword [0x41608c]
push str.4695579F_999A_41d4_9FAF_EFFCE93EBE19
movups xmm0, xmmword [0x416074]
movups xmmword [0x41a868], xmm1
movups xmmword [0x41a876], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a886], xmm0
movups xmm0, xmmword [0x41605c]
movups xmmword [0x41a668], xmm1
movups xmmword [0x41a676], xmm0
movq xmm0, qword [0x41606c]
movq qword [0x41a686], xmm0
call edi
mov ecx, esi
mov dword [0x41aa6c], eax
call fcn.00402ec0
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x41a868
push 0x41a668
push 0
mov dword [0x41aa68], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x402eac
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402e91
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402e80
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402e60
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040436d
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040436d
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403690
Capabilities:
Create thread

Disassembly:
cmp dword [0x41a45c], 0
je 0x4036a2
cmp dword [0x41a458], 0
jne 0x40370c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a45c], eax
test eax, eax
je 0x40370c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a460], eax
test eax, eax
je 0x40370c
mov ecx, dword [0x41a45c]
push 0
push 0
push 0x41a44c
push 0x403160
mov dword [0x41a450], ecx
mov ecx, dword [0x41a464]
push 0
push 0
mov dword [0x41a454], ecx
mov dword [0x41a44c], eax
call fcn.00407631
add esp, 0x18
mov dword [0x41a458], eax
ret
Function at 0x405e10
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.0055ea20
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x405e70
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.0055ea20
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret

Function at 0x4062b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, 0x74
call fcn.0055ed60
mov eax, dword [0x615720]
xor eax, esp
mov dword [esp + 0x70], eax
push esi
mov esi, dword [esp + 0x84]
push edi
mov edi, dword [esp + 0x80]
test esi, esi
jne 0x4062de
mov esi, 0x619540
push 0x70
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0055ea20
mov ecx, dword [esp + 0x90]
push ecx
lea edx, [esp + 0x18]
push edi
push edx
mov dword [esp + 0x20], 0x6a09e667
mov dword [esp + 0x24], 0xbb67ae85
mov dword [esp + 0x28], 0x3c6ef372
mov dword [esp + 0x2c], 0xa54ff53a
mov dword [esp + 0x30], 0x510e527f
mov dword [esp + 0x34], 0x9b05688c
mov dword [esp + 0x38], 0x1f83d9ab
mov dword [esp + 0x3c], 0x5be0cd19
mov dword [esp + 0x8c], 0x20
call fcn.00405ed0
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00405fd0
lea ecx, [esp + 0x28]
push 0x70
push ecx
call fcn.004cd710
mov ecx, dword [esp + 0xa0]
add esp, 0x28
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0055e34d
add esp, 0x74
ret

Function at 0x406f60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x406fb0
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x406faa
shr eax, 8
cmp al, 2
jne 0x406faa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e34d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.0055e34d
mov esp, ebp
pop ebp
ret
Function at 0x40a0b0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.00409a90
mov edi, eax
add esp, 4
test edi, edi
jne 0x40a148
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004082b0
push 0x5b0b54
push esi
push 0x5b0b50
push ebx
push str.fopen_
push 5
call fcn.00408570
add esp, 0x2c
call fcn.0055fdca
cmp dword [eax], 2
jne 0x40a12a
push 0xb2
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.004082b0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0xb4
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.004082b0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x60d358
call fcn.00404c40
mov esi, eax
add esp, 4
test esi, esi
jne 0x40a16a
push edi
call fcn.00560873
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.00404580
push edi
push 1
push 0x6a
push esi
call fcn.00404970
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x40b160
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.0055ed60
mov eax, dword [0x615720]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x40b1c5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x40b1c5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.0056191c
add eax, 0x40
push eax
call fcn.005648f0
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055e34d
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00564829
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40b258
call fcn.0040b020
test eax, eax
jle 0x40b258
push esi
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x40b242
push 0
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055e34d
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055e34d
add esp, 0x108
ret

Function at 0x40b2c0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
je 0x40b2e2
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x40b2d6
pop esi
movzx eax, cl
pop edi
ret