joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432f30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042d6e0
test eax, eax
je 0x43301f
mov ecx, edi
call fcn.0042d6e0
mov ecx, eax
call fcn.0042ad40
test eax, eax
jne 0x43301f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43301f
mov eax, dword [0x4ba890]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x432f92
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042d6e0
mov ecx, eax
call fcn.0042af70
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43301f
cmp ebx, eax
jne 0x43301f
cmp dword [esp + 0x10], eax
jne 0x433005
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x435c50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46eff8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435c89
inc eax
mov dword [esi + 0x10], eax
jmp 0x435d9c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435c9d
mov eax, 0xffffffc7
jmp 0x435d9e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435cae
cmp dword [esi + 8], eax
jne 0x435c9d
cmp dword [esi + 8], eax
jne 0x435cc7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435cc7
mov eax, 0xffffffc7
jmp 0x435d9e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x435cdb
push eax
mov ecx, ebx
call fcn.00435480
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004072c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x435d0c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004072e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434bf0
test eax, eax
mov dword [esp + 0x38], eax
je 0x435d3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48df78
call fcn.004074c0
mov eax, dword [esp + 0x38]
jmp 0x435d9e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435ab0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435d83
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435ad0
mov esi, eax
test esi, esi
jne 0x435db3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435ab0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435d55
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48df78
call fcn.004074c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48df78
call fcn.004074c0
mov eax, esi
jmp 0x435d9e

Function at 0x438ec0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x438f20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x438f20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x438f20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x438f20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x438f60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43f090
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004683a0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043ea30
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004682ce
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00464b8f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00464b8f
push 1
push 0
push 0
mov ecx, esi
call fcn.00464b37
push 1
push 0
push 1
mov ecx, esi
call fcn.00464b37
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468412
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f210
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004683a0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043ea30
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004682ce
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f2d4
cmp dword [esp + 0x40], 1
jne 0x43f2d2
cmp ecx, eax
jge 0x43f2d4
mov eax, ecx
cmp eax, 0xc8
jge 0x43f2e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f090
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468412
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43fa50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f6b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00462fb0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00468648
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469c5e
test eax, eax
je 0x43fb6c
mov ecx, dword [esp + 0x3c]
call fcn.00468675
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fb30
push edi
mov ecx, esi
call fcn.00465cd9
mov ecx, esi
call fcn.0043fcd0
cmp dword [esp + 0x38], 1
jne 0x43fb65
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00465e14
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x442590
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4425c3
push esi
call fcn.004456a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4425bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442649
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442632
mov eax, dword [esi + 8]
test eax, eax
je 0x4425e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44262e
cmp eax, 2
je 0x442632
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4425da
cmp eax, 3
je 0x44260d
cmp eax, 1
jne 0x4425da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4425da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4425da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442670
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442658
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442670
add esp, 4
pop esi
ret

Function at 0x44eab0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4a8294]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x44eac3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x44eb04
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4a833c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x44eb36
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44eb3a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x44eb2b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x44eb58
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44eb5c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x44eb4d
xor ecx, ecx
mov eax, 0x4a82a4
xor ebx, ebx
mov bl, byte [ecx + 0x4a834c]
cmp byte [esp + ebx + 0x14], 0
je 0x44eb87
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4a8364]
cmp byte [esp + ebx + 0x14], 0
je 0x44eb9e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x44eb6e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x44eaf7
lea edx, [esp + 0x84]
push edx
call fcn.0044ebe0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x463da5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x463ddd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00461e5c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00461e34
jmp 0x463de9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x465493
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4654d5
call fcn.0046b04a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4654d5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4654cc
xor eax, eax
jmp 0x4654dd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004654e3
pop edi
pop esi
pop ebx
ret 4

Function at 0x46b57a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46b5a8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b5c6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046b4e0
jmp 0x46b5c6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b5c6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046b4e0
test edi, edi
mov eax, edi
jne 0x46b5b0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40c691
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x434442
call fcn.0041e870
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
jne 0x40c6ee
cmp byte [ebp + 0x10], bl
je 0x40c6cd
lea eax, [esi + 4]
mov byte [esi], bl
test eax, eax
je 0x40c758
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
jmp 0x40c758
cmp dword [edi + 0xc], ebx
jne 0x40c6ea
push 6
lea ecx, [ebp - 0x38]
call fcn.0040c029
push 0x441c2c
lea eax, [ebp - 0x38]
push eax
call fcn.0041ddef
mov byte [esi], bl
jmp 0x40c75b
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x3c], ebx
jb 0x40c6f9
mov eax, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [edi]
mov dword [ebp - 0x44], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c723
cmp dword [ebp - 0x40], 4
je 0x40c732
push 0xd
pop eax
mov cl, byte [ebp + 0x10]
test cl, cl
jne 0x40c746
cmp dword [edi + 0xc], ebx
jne 0x40c746
push eax
jmp 0x40c6d4
mov eax, ebx
test eax, eax
jne 0x40c723
lea ecx, [esi + 4]
mov byte [esi], bl
test ecx, ecx
je 0x40c758
mov eax, dword [ebp - 0x3c]
jmp 0x40c756
mov byte [esi], bl
test cl, cl
je 0x40c75b
lea ecx, [esi + 4]
test ecx, ecx
je 0x40c758
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov byte [esi], 1
mov eax, esi
call fcn.0041e81f
ret 0x10
Function at 0x411b9d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x446450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x128]
push ebx
push eax
mov edi, ecx
call fcn.0041e020
add esp, 0xc
mov dword [ebp - 0x128], esi
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 2
push ebx
push ebx
call esi
push 3
pop ebx
push ebx
push 1
push edx
push eax
call esi
test edi, edi
je 0x411c51
jle 0x411c65
push 2
pop ecx
cmp edi, ecx
jle 0x411c3f
cmp edi, ebx
je 0x411c33
cmp edi, 4
je 0x411c27
cmp edi, 5
je 0x411c1b
push 6
pop ecx
cmp edi, ecx
jne 0x411c65
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ebx
jmp 0x411c65
mov dword [ebp - 0x124], 6
jmp 0x411c49
mov dword [ebp - 0x124], 6
jmp 0x411c5b
mov dword [ebp - 0x124], 6
jmp 0x411c65
mov dword [ebp - 0x124], 5
mov dword [ebp - 0x120], ecx
jmp 0x411c65
mov dword [ebp - 0x124], 5
mov dword [ebp - 0x120], 1
push edx
push eax
push ebx
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.0041b283
leave
ret

Function at 0x412441
Capabilities:
Get common file path

Disassembly:
push 0x24c
mov eax, 0x434e9b
call fcn.0041e870
mov edi, ecx
xor ebx, ebx
push 0x20a
lea eax, [ebp - 0x220]
push ebx
push eax
mov dword [ebp - 0x258], ebx
call fcn.0041e020
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jne 0x41249a
lea eax, [ebp - 0x220]
push eax
mov ecx, edi
call fcn.00403c70
jmp 0x412544
mov eax, dword [0x447808]
and eax, 3
cmp al, 3
jne 0x412532
push ebx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 7
call fcn.00404390
mov byte [ebp - 0x224], bl
mov edx, esi
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], ebx
call fcn.00414efb
mov esi, eax
push str.SHGetFolderPath___failed.
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.004013d0
push 0xffffffffffffffff
push ebx
push esi
mov ecx, eax
call fcn.00403f30
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], bl
call fcn.00401c20
lea eax, [ebp - 0x23c]
push eax
push eax
push 0x134
push str.Utils::GetFolderPath
push 3
call fcn.004116e9
add esp, 0x14
lea ecx, [ebp - 0x23c]
call fcn.00401c20
push ebx
mov ecx, edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
call fcn.00404390
mov eax, edi
call fcn.0041e81f
ret
Function at 0x41254c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x434e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x446450]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x446450]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
call fcn.00404390
mov dword [esp + 0x58], ebx
cmp byte [ebp + 8], bl
je 0x4125d4
push 3
pop ecx
call fcn.00411b9d
test al, al
je 0x4125d4
lea ecx, [esp + 0x30]
call fcn.00412323
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c850
lea ecx, [esp + 0x30]
call fcn.00401c20
cmp dword [esp + 0x28], 0
jne 0x412636
lea ecx, [esp + 0x30]
call fcn.00412441
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c850
lea ecx, [esp + 0x30]
call fcn.00401c20
cmp dword [esp + 0x28], 0
jne 0x412636
push str.LOCALAPPDATA
call fcn.0041c41c
pop ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00408210
cmp dword [esp + 0x28], 0
jne 0x412636
push str.APPDATA
call fcn.0041c41c
pop ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00408210
cmp dword [esp + 0x28], 0
je 0x412657
push edi
lea ecx, [esp + 0x1c]
call fcn.00403cd0
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040be80
lea ecx, [esp + 0x18]
call fcn.00401c20
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041b283
mov esp, ebp
pop ebp
ret
Function at 0x414682
Capabilities:
Hash data using sha256

Disassembly:
push 0x14c
mov eax, 0x43525f
call fcn.0041e870
mov esi, 0x447828
push esi
mov dword [ebp - 0xbc], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xb8], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x44781c]
test eax, eax
je 0x41480a
cmp dword [0x447824], ebx
je 0x4146cb
mov bl, 1
jmp 0x41480a
cmp dword [0x447820], 8
mov edx, 0x44780c
cmovae edx, dword [0x44780c]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], 0x6a09e667
mov dword [ebp - 0xa4], 0xbb67ae85
mov dword [ebp - 0xa0], 0x3c6ef372
mov dword [ebp - 0x9c], 0xa54ff53a
mov dword [ebp - 0x98], 0x510e527f
mov dword [ebp - 0x94], 0x9b05688c
mov dword [ebp - 0x90], 0x1f83d9ab
mov dword [ebp - 0x8c], 0x5be0cd19
add eax, eax
je 0x41474b
push eax
lea ecx, [ebp - 0xb0]
call fcn.004192cd
pop ecx
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xb0]
call fcn.00419362
push ecx
push ecx
lea ecx, [ebp - 0x158]
call fcn.00414c73
mov edx, 0x43ed38
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.0040e781
push ecx
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.004194db
pop ecx
mov edx, eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 2
call fcn.00414d78
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401c20
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x158]
call fcn.00414d3c
cmp dword [eax + 0x14], 8
jb 0x4147bb
mov eax, dword [eax]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea ecx, [ebp - 0x48]
mov dword [0x447824], eax
call fcn.00401c20
cmp dword [0x447824], 0
lea ecx, [ebp - 0x108]
setne byte [ebp - 0xb1]
mov byte [ebp - 4], bl
call fcn.00414cf9
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::ios_base.0
call fcn.0041a9d9
mov bl, byte [ebp - 0xb1]
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.0041e81f
ret