joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4495f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x44f4cc]
cmp dword [eax + 0x28], 0
jne 0x449608
xor eax, eax
jmp 0x449737
mov ecx, dword [0x44f43c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x44f430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x44f42c], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x44f430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x44f42c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x44f4b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x44d680
push 0x44d6d0
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x44f428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00449530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x4495c0
mov edx, dword [0x44f4cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x44f434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x449737
cmp dword [ebp - 0x38], 0x12
jne 0x44972b
mov dword [0x44f444], 0
call fcn.00449740
xor eax, eax
jmp 0x449737
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4496fc
mov esp, ebp
pop ebp
ret 4

Function at 0x44ab00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x44b69c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x44d168
sub eax, eax
test esi, esi
je 0x44b774
sub eax, 1
test ecx, ecx
je 0x44b772
test esi, 3
je 0x44b6da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x44b6bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x44b759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x44b6e4
mov ecx, edx
test ecx, ecx
je 0x44b772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x44b75f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x44b77c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0044b7ff
jae 0x44b78a
xor ecx, ecx
call fcn.0044b7ff
jae 0x44b7b9
xor eax, eax
call fcn.0044b7ff
jae 0x44b7c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0044b7ff
adc al, al
jae 0x44b7ab
jne 0x44b7f5
stosb byte es:[edi], al
jmp 0x44b78d
call fcn.0044b80b
sub ecx, ebx
jne 0x44b7d2
call fcn.0044b809
jmp 0x44b7f1
lodsb al, byte [esi]
shr eax, 1
je 0x44b81b
adc ecx, ecx
jmp 0x44b7ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0044b809
cmp eax, 0x7d00
jae 0x44b7ee
cmp ah, 5
jae 0x44b7ef
cmp eax, 0x7f
ja 0x44b7f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x44b78d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x44c14c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f000]
jne 0x44c156
repz ret
jmp fcn.0044c3fd
Function at 0x402908
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x402840
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

Function at 0x4082b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4082d5
jl 0x4082cc
test edi, edi
jne 0x4082d5
xor eax, eax
xor edx, edx
jmp 0x408396
cmp dword [ebx + 0x38], 0
je 0x4082ea
push eax
push edi
push dword [ebp + 8]
call fcn.0040839c
jmp 0x408396
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x408331
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x408331
cmp eax, edi
jb 0x40830b
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0042b3c0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x408337
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40838b
mov ecx, ebx
call fcn.00407971
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x408376
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00456415
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40838b
jmp 0x408349
test edx, edx
je 0x40838b
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00456415
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x41a6d5
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x41a6f8
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x41a6e6
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4291c7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004591a3
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x429206
sub eax, 1
je 0x429201
sub eax, 1
je 0x4291fd
xor eax, eax
leave
ret
push 3
jmp 0x429208
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x42aa2e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42aa6d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42aa6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42aa6d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42aa6d
cmp dword [ecx + 0x74], 0xe
jbe 0x42aa6d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x46d6c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d2a7

Function at 0x46d6cb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d436

Function at 0x46dbee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042abb0
mov eax, dword [0x496040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0046a6e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46dc30
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46dd8c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0047ffe0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4e5db0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0046f181
mov ecx, dword [esi*4 + 0x4e5db0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46dd85
cmp eax, dword [edi + ecx + 0x24]
jne 0x46dd85
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46dd85
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046f181
add esp, 0x14
test edx, edx
jl 0x46dd85
jg 0x46dcfb
test eax, eax
jb 0x46dd85
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46dd85
jl 0x46dd15
cmp dword [ebp - 0x1008], eax
ja 0x46dd85
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46dd33
test ebx, ebx
je 0x46dd6c
cmp ecx, edi
jae 0x46dd6c
mov al, byte [ecx]
cmp al, 0xd
jne 0x46dd4d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46dd59
cmp byte [ecx + 1], 0xa
jne 0x46dd59
inc ecx
jmp 0x46dd59
movzx eax, al
movsx eax, byte [eax + 0x496320]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46dd33
cmp edx, ebx
jne 0x46dd33
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46dd8a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00429766
leave
ret
Function at 0x46e30a
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 + 0x4e5db0]
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 0x46e34a
cmp byte [ebx], 0xa
jne 0x46e34a
or byte [eax + edi + 0x28], 4
jmp 0x46e34f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x46e44d
mov al, byte [edx]
cmp al, 0x1a
je 0x46e42f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x46e37e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x46e3a3
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x46e3ad
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 0x46e360
jmp 0x46e44d
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 0x46e42a
cmp dword [ebp - 0xc], 0
je 0x46e42a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4e5db0]
test byte [eax + edi + 0x28], 0x48
je 0x46e404
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46e3ef
mov byte [esi], dl
jmp 0x46e400
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e5db0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46e44d
cmp byte [ebp - 1], 0xa
jne 0x46e413
cmp esi, ebx
jne 0x46e413
mov byte [esi], 0xa
jmp 0x46e44c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0046f19f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46e44d
mov byte [esi], 0xd
jmp 0x46e44c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4e5db0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46e449
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46e44d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46e456
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 + 0x4e5db0]
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 0x46e499
cmp word [esi], dx
jne 0x46e499
or byte [edi + eax + 0x28], 4
jmp 0x46e49e
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 0x46e5f1
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 0x46e5d1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46e4e0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46e516
cmp eax, edx
jae 0x46e522
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 0x46e4b8
jmp 0x46e5f1
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 0x46e5cd
cmp dword [ebp - 0x14], 0
je 0x46e5cd
mov eax, dword [ebx*4 + 0x4e5db0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46e5a5
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x46e56e
mov word [esi], cx
jmp 0x46e5a1
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e5db0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e5db0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e5db0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46e5f1
pop ebx
cmp word [ebp - 4], bx
jne 0x46e5b6
cmp esi, dword [ebp + 0xc]
jne 0x46e5b6
mov word [esi], bx
jmp 0x46e5ee
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0046f19f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46e5f1
push 0xd
jmp 0x46e5ea
mov ecx, dword [ebx*4 + 0x4e5db0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46e5e8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46e5f1
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 0x401060
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44b160]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
push 0x208
lea eax, [esp + 8]
push 0
push eax
call fcn.00425cd0
lea ecx, [esp + 0x10]
add esp, 0xc
test ecx, ecx
je 0x4010aa
push 0x104
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4010c4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00425cbc
add esp, 0x20c
ret 8
push esi
lea eax, [esp + 8]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4010aa
cmp dword [esp + 0x218], 0
jne 0x4010f0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4010fb
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.00425cbc
add esp, 0x20c
ret 8

Function at 0x402630
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x44b160]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00406560
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00406600
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.00425cbc
add esp, 0x68
ret
Function at 0x4027c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push 0x443620
push 0x80000002
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402951
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402853
cmp dword [esp + 0x14], 1
jne 0x402938
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x402938
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x402898
cmp dword [esp + 0x14], 1
jne 0x402938
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x402938
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4028cf
cmp dword [esp + 0x14], 1
jne 0x402938
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x402938
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x402938
cmp dword [esp + 0x14], 3
jne 0x402938
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x402938
lea eax, [esi + 0xc]
call fcn.004026a0
test eax, eax
je 0x402938
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x402d50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x44b160]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004050c0
add esp, 8
test eax, eax
jne 0x402dbb
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00425cbc
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x402dd0
push esi
lea ecx, [esp + 0x14]
call fcn.00406560
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.00406600
test edi, edi
je 0x402dee
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00425cbc
add esp, 0x6c
ret

Function at 0x402e80
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x44b160]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004052c0
add esp, 4
test eax, eax
jne 0x402ede
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00425cbc
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.00406600
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00425cbc
add esp, 0x64
ret

Function at 0x402f00
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x44b160]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.004053b0
add esp, 8
test eax, eax
jne 0x402f7f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00425cbc
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.00406140
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.00425cbc
add esp, 0x74
ret

Function at 0x4039d0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403a02
push str.ReadFile__
push 0xfc
push str..QHImageHlp.c
xor edx, edx
call fcn.00407490
add esp, 0xc
xor eax, eax
pop ecx
ret
cmp esi, dword [esp]
je 0x403a27
push 0x4437b4
push 0xfe
push str..QHImageHlp.c
mov edx, 1
call fcn.004075c0
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret