joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e2498
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e258e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x3ac]
call fcn.0045c548
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 4]
call fcn.0040cf28
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00405a24
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.0040695c
call fcn.0040695c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x418]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
call fcn.004e2258
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x4e25a8
call fcn.0040dc18
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x3c4]
call fcn.0045c580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2595
lea eax, [ebp - 0x3c]
call fcn.00405988
lea eax, [ebp - 0x28]
call fcn.00405988
lea eax, [ebp - 0x24]
call fcn.00405988
lea eax, [ebp - 4]
call fcn.00405988
ret

Function at 0x4e25dc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e26c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x3ac]
call fcn.0045c548
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 4]
call fcn.0040cf28
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00405a24
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.0040695c
call fcn.0040695c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0
push 0x400
push 0
push 0x400
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004069a4
call fcn.004069a4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, 0xc8
mov eax, dword [ebx + 0x418]
call fcn.0040c670
mov ecx, eax
mov eax, ecx
cdq
cmp edx, dword [ebp - 0xc]
jne 0x4e269b
cmp eax, dword [ebp - 0x10]
setb al
jmp 0x4e269e
setl al
neg al
sbb ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e26c7
lea eax, [ebp - 0x24]
call fcn.00405988
lea eax, [ebp - 4]
call fcn.00405988
ret
Function at 0x4e26d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405980
xor eax, eax
push ebp
push 0x4e2783
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040cf28
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00405a24
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.0040695c
call fcn.0040695c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0
push 0x400
push 0
push 0x400
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004069a4
call fcn.004069a4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e278a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405990
ret

Function at 0x4e2794
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 4], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4e2933
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20c]
push eax
push 0x103
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 4]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00405b98
mov eax, dword [ebp - 4]
call fcn.004e26d0
cmp eax, 0x12c
jge 0x4e285b
mov bx, 0x43
lea eax, [ebp - 0x418]
mov edx, ebx
call fcn.00405b04
lea eax, [ebp - 0x418]
mov edx, 0x4e294c
call fcn.00405cec
mov eax, dword [ebp - 0x418]
call fcn.004e26d0
cmp eax, 0x12c
jle 0x4e2854
lea eax, [ebp - 0x41c]
mov edx, ebx
call fcn.00405b04
mov edx, dword [ebp - 0x41c]
lea eax, [ebp - 4]
mov ecx, 0x4e295c
call fcn.00405d6c
jmp 0x4e285b
inc ebx
cmp bx, 0x5b
jne 0x4e2803
lea eax, [ebp - 0x414]
push eax
push 0
push 0x4e2964
mov eax, dword [ebp - 4]
call fcn.00405a24
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
je 0x4e289c
lea eax, [ebp - 4]
lea edx, [ebp - 0x414]
mov ecx, 0x104
call fcn.00405b98
mov eax, dword [ebp - 4]
call fcn.00405a24
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x424]
mov edx, dword [ebp - 4]
call fcn.00405c14
mov eax, dword [ebp - 0x424]
lea ecx, [ebp - 0x420]
mov edx, 1
call fcn.00409dd8
mov eax, dword [ebp - 0x420]
mov edx, 0x4e2970
call fcn.004058b0
je 0x4e28df
lea eax, [ebp - 4]
mov edx, 0x4e2980
call fcn.00405cec
mov eax, dword [ebp - 4]
call fcn.0040cb28
test al, al
jne 0x4e28f3
mov eax, dword [ebp - 4]
call fcn.0040cb4c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e293a
lea eax, [ebp - 0x424]
mov edx, 2
call fcn.00405620
lea eax, [ebp - 0x41c]
mov edx, 2
call fcn.00405990
lea eax, [ebp - 4]
call fcn.00405988
ret
Function at 0x4e412c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4e421d
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x7dc
mov eax, dword [ebx + 0x41c]
push eax
mov eax, dword [ebx + 0x420]
push eax
call fcn.004dc7e4
test eax, eax
je 0x4e4202
mov eax, dword [0x4f539c]
call fcn.004790d4
lea eax, [ebp - 4]
mov ecx, 0x4e4238
mov edx, dword [0x4f53b0]
call fcn.00405d6c
lea eax, [ebp - 8]
mov edx, 0x4e4288
call fcn.004059ec
mov eax, dword [ebp - 4]
call fcn.0040cae0
test al, al
je 0x4e41bd
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405a24
push eax
mov eax, dword [ebp - 4]
call fcn.00405a24
push eax
push 0x4e4298
push 0
call sub.shell32.dll_ShellExecuteW
mov eax, dword [ebp - 4]
call fcn.0040cae0
test al, al
je 0x4e41dc
lea eax, [ebp - 4]
mov ecx, 0x4e42b0
mov edx, dword [0x4f53b0]
call fcn.00405d6c
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004dd904
mov esi, eax
mov eax, dword [0x4f539c]
call fcn.004790dc
mov eax, ebx
call fcn.00464e6c
push eax
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4224
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405990
ret
Function at 0x10007120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10006d54
push eax
push esi
push dword [ebp + 8]
call fcn.10006d09
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
invalid
inc ebp
invalid
Function at 0x10007420
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100073f8
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x100073f3
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100073dd
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100073e5
cmp edx, ebx
jne 0x10007533
test dword [esi + 1], ecx
add byte [eax], al
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100073b4
add eax, dword [eax + 4]
jmp sym.VCRUNTIME140.dll___std_exception_destroy
mov dword [ebp + 0xc], ebx
jmp 0x10007403
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000741b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10007439
movzx eax, ax
lea eax, [eax + eax*4]
or byte [ebx + 0x104c78c], 0
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10007497
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000747e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10007487
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10007491
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10007473
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100073fd
mov dword [ebp + 8], esi
jne 0x100074b9
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100074e4
dec eax
je 0x100074db
sub eax, 3
je 0x100074d2
mov dword [ebp - 4], 0x40
jmp 0x10007501
mov dword [ebp - 4], 4
jmp 0x100074e7
mov dword [ebp - 4], 0x20
jmp 0x100074e7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10007533
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100074b3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10006d44
sahf
ja 0x100074af
sbb edi, edi
jne 0x1000753e
push 1
push esi
call edi
mov eax, esi
jmp 0x1000753f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007480
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100073f8
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x100073f3
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100073dd
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100073e5
cmp edx, ebx
jne 0x10007533
test dword [esi + 1], ecx
add byte [eax], al
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100073b4
add eax, dword [eax + 4]
jmp sym.VCRUNTIME140.dll___std_exception_destroy
mov dword [ebp + 0xc], ebx
jmp 0x10007403
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000741b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10007439
movzx eax, ax
lea eax, [eax + eax*4]
or byte [ebx + 0x104c78c], 0
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10007497
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000747e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10007487
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10007491
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10007473
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100073fd
mov dword [ebp + 8], esi
jne 0x100074b9
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100074e4
dec eax
je 0x100074db
sub eax, 3
je 0x100074d2
mov dword [ebp - 4], 0x40
jmp 0x10007501
mov dword [ebp - 4], 4
jmp 0x100074e7
mov dword [ebp - 4], 0x20
jmp 0x100074e7
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10007533
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100074b3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10006d44
sahf
ja 0x100074af
sbb edi, edi
jne 0x1000753e
push 1
push esi
call edi
mov eax, esi
jmp 0x1000753f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100075c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
invalid
invalid
lodsb al, byte [esi]
cld
Function at 0x100075f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10006d09
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
add al, 0
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
invalid
movsd dword es:[edi], dword [esi]
aas
cld
invalid
invalid

Function at 0x10007610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10006d09
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
add al, 0
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
invalid
movsd dword es:[edi], dword [esi]
aas
cld
invalid
invalid

Function at 0x10007630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10006d09
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
add al, 0
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
invalid
movsd dword es:[edi], dword [esi]
aas
cld
invalid
invalid
Function at 0x100076a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [edi]
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
test dword [esp + edi*8 - 1], ecx
inc dword [ebx]
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10006d54
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10006d09
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
movsd dword es:[edi], dword [esi]
adc al, 0xfc
invalid
inc dword [eax]
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov al, dh
test dword [esi], ebx
cld
invalid
call [ebx - 0x3e07a3a]
invalid
inc dword [edx - 0x3df7a3a]
invalid
dec dword [ebx - 0x3de7a3a]
invalid
jmp dword [esi - 0x3dd7a3a]
invalid
dec dword [edi - 0x3dc7a3a]
invalid
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
dec dword [ebx - 0x3d87a3a]
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.10006d54
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10006d09
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10006d44
jg 0x1000781d
invalid
Function at 0x4010a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x40f010]
xor eax, esp
mov dword [esp + 0x218], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.004023e0
add esp, 0xc
mov edi, 0x14
lea eax, [esp + 0x14]
mov ecx, str.TQIXGYM_uxvrfew7
call fcn.00401000
lea edx, [esp + 4]
push edx
push 0xf003f
push 0
lea eax, [esp + 0x20]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
test eax, eax
jne 0x40115c
mov eax, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
push 0
push str.temp1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 8], 0
jne 0x40115c
mov eax, 1
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00401bca
add esp, 0x21c
ret
mov ecx, dword [esp + 0x218]
xor ecx, esp
xor eax, eax
call fcn.00401bca
add esp, 0x21c
ret

Function at 0x401180
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x40f010]
xor eax, esp
mov dword [esp + 0x41c], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.004023e0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x26]
push eax
mov word [esp + 0x28], dx
call fcn.004023e0
add esp, 0x18
mov edi, 0x14
lea eax, [esp + 0x218]
mov ecx, str.TQIXGYM_uxvrfew7
call fcn.00401000
lea ecx, [esp + 4]
push ecx
push 1
push 0
lea edx, [esp + 0x224]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401267
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.temp2
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401240
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, esi
lea ecx, [esp + 0x10]
call fcn.00401000
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x420]
pop edi
xor ecx, esp
call fcn.00401bca
add esp, 0x420
ret
Function at 0x401280
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x420
mov eax, dword [0x40f010]
xor eax, esp
mov dword [esp + 0x41c], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.004023e0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x26]
push eax
mov word [esp + 0x28], dx
call fcn.004023e0
add esp, 0x18
mov edi, 0x14
lea eax, [esp + 0x218]
mov ecx, str.TQIXGYM_uxvrfew7
call fcn.00401000
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x224]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401367
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.temp3
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401340
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, esi
lea ecx, [esp + 0x10]
call fcn.00401000
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x420]
pop edi
xor ecx, esp
call fcn.00401bca
add esp, 0x420
ret

Function at 0x401570
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x40f010]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.004023e0
add esp, 0xc
mov edi, 0x14
lea eax, [esp + 0xc]
mov ecx, str.TQIXGYM_uxvrfew7
call fcn.00401000
lea edx, [esp + 4]
push edx
push 0xf003f
push 0
lea eax, [esp + 0x18]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
test eax, eax
jne 0x4015fe
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push eax
push str.temp1
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
xor eax, eax
call fcn.00401bca
add esp, 0x214
ret
Function at 0x401620
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebx
push edi
push esi
push 1
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401636
mov eax, dword [0x40dbd8]
mov dword [edi], eax
mov eax, esi
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401650
mov ecx, dword [0x40dbdc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [eax], ecx
mov edx, dword [str.project]
mov dword [eax + 4], edx
mov ecx, dword [0x40dbe4]
mov dword [eax + 8], ecx
mov edx, dword [0x40dbe8]
mov dword [eax + 0xc], edx
mov ecx, dword [0x40dbec]
push esi
mov dword [eax + 0x10], ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4016a0
push 0
push esi
call ebx
mov eax, esi
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4016a5
mov edx, dword [str._bin]
mov dword [eax], edx
mov ecx, dword [0x40dbf4]
mov dword [eax + 4], ecx
mov dx, word [0x40dbf8]
push esi
mov word [eax + 8], dx
call edi
test eax, eax
jne 0x4016d8
push eax
push esi
call ebx
pop edi
pop ebx
ret