joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4198a9
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword ss:[esp]
mov edx, dword ss:[esp + 8]
mov dword ss:[esp + 8], ecx
mov ecx, dword ss:[esp + 4]
add esp, 8
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword ds:[ebx + 0x3c]
mov eax, dword ds:[ebx + eax + 0x78]
test eax, eax
je 0x4198a2
lea esi, ds:[ebx + eax]
test edx, 0xffff0000
je 0x4198a9
mov ecx, dword ds:[esi + 0x18]
mov edi, dword ds:[esi + 0x20]
lea edi, ds:[ebx + edi]
mov ebp, dword ds:[edi + ecx*4 - 4]
lea ebp, ds:[ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte ss:[ebp]
test al, al
je 0x4197fb
cmp al, 0x61
jb 0x4197f3
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x4197e5
cmp edx, dword ss:[esp + 0x14]
je 0x41980c
dec ecx
jne 0x4197d8
xor eax, eax
jmp 0x4198a2
mov edx, dword ds:[esi + 0x24]
lea edx, ds:[ebx + edx]
mov edx, dword ds:[edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword ds:[esi + 0x1c]
lea eax, ds:[ebx + eax]
mov eax, dword ds:[eax + edx*4]
lea eax, ds:[ebx + eax]
cmp eax, esi
jbe 0x4198a2
mov ecx, dword ds:[ebx + 0x3c]
mov ecx, dword ds:[ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x4198a2
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte ss:[ebp]
cmp al, 0x61
jb 0x419852
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x419861
jmp 0x419848
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call 0x4198a9
test eax, eax
je 0x4198a2
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte ss:[ebp]
test al, al
je 0x41989d
cmp al, 0x61
jb 0x419895
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x419887
call 0x4197a6
mov dword ss:[esp + 0x1c], eax
popal
ret
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword ds:[ebx + 0xc]
mov ebx, dword ds:[ebx + 0x14]
mov edi, ebx
mov esi, dword ds:[ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword ds:[esi]
test cx, cx
je 0x4198fb
mov al, cl
cmp al, 0x61
jb 0x4198d5
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x4198fb
mov al, cl
cmp al, 0x61
jb 0x4198ed
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, ds:[esi + 4]
jmp 0x4198c5
cmp edx, dword ss:[esp + 0x18]
je 0x41990e
mov ebx, dword ds:[ebx]
cmp edi, dword ds:[ebx]
jne 0x4198bd
xor eax, eax
jmp 0x419912
mov eax, dword ds:[ebx + 0x10]
mov dword ss:[esp + 0x1c], eax
popal
ret
Function at 0x41a3e6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041a596
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41a4e4
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41a487
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41a4ca
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41a49e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41a4b9
test al, 0x40
je 0x41a4b0
mov ecx, dword [edi + 0x20]
jmp 0x41a4b7
test al, 0x80
je 0x41a4ca
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41a4ca
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41a456
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x427abc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x427ae8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004418a6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x427af9
push ebx
call fcn.004418b2
add esp, 4
pop eax
mov dword [ebp - 4], eax
test eax, eax
je 0x427b61
mov ecx, dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ecx, ecx
je 0x427b61
mov edx, ebx
mov esp, ecx
or bh, bl
cmp edx, 0xff
cmovbe edx, ebx
mov ebx, edx
and esp, 0xfffffffc
shl ebx, 0x10
sub ecx, esp
or bx, dx
cmp edx, 0xffff
cmovbe edx, ebx
lea ebx, [eax + 8]
test esp, esp
je 0x427b42
add esp, ebx
xor dword [ebx], edx
add ebx, 4
cmp esp, ebx
jne 0x427b39
test ecx, ecx
je 0x427b61
xor byte [ebx], dl
test ecx, 2
je 0x427b61
xor byte [ebx + 1], dh
test ecx, 1
je 0x427b61
shr edx, 0x10
xor byte [ebx + 2], dl
leave
ret 8

Function at 0x4280d0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 8], esp
je 0x42810e
push 0x19
push 0x40aa28a
push 6
call fcn.004418ac
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x428125
mov eax, 0
jmp 0x428137
push 0x10
push dword [ebp - 4]
call fcn.0040f4bc
jmp 0x428137
mov esp, ebp
pop ebp
ret 4
Function at 0x42be68
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x42bf82
je 0x42bf79
cmp eax, 0x80
jg 0x42beff
je 0x42bef6
cmp eax, 8
jg 0x42bec8
je 0x42bebf
cmp eax, 0x80000000
je 0x42beb6
cmp eax, 2
je 0x42bead
cmp eax, 4
jne 0x42c065
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x42beed
cmp eax, 0x20
je 0x42bee4
cmp eax, 0x40
jne 0x42c065
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x42bf45
je 0x42bf3c
cmp eax, 0x100
je 0x42bf33
cmp eax, 0x200
je 0x42bf2a
cmp eax, 0x400
jne 0x42c065
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x42bf70
cmp eax, 0x2000
je 0x42bf67
cmp eax, 0x4000
jne 0x42c065
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x42c00e
je 0x42c005
cmp eax, 0x80000
jg 0x42bfd5
je 0x42bfcc
cmp eax, 0x10000
je 0x42bfc3
cmp eax, 0x20000
je 0x42bfba
cmp eax, 0x40000
jne 0x42c065
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x42bffc
cmp eax, 0x200000
je 0x42bff3
cmp eax, 0x400000
jne 0x42c065
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x42c050
je 0x42c047
cmp eax, 0x1000000
je 0x42c03e
cmp eax, 0x2000000
je 0x42c035
cmp eax, 0x4000000
jne 0x42c065
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x42c07d
cmp eax, 0x20000000
je 0x42c074
cmp eax, 0x40000000
je 0x42c06b
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4
Function at 0x440abd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x440b92
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x440b92
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x440b92
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x440b18
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x440b92
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x440b5d
test dl, dl
je 0x440b59
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x440b5d
add ecx, 2
add eax, 2
test dl, dl
jne 0x440b3d
xor eax, eax
jmp 0x440b62
sbb eax, eax
or eax, 1
test eax, eax
jne 0x440b74
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x440b7f
inc esi
cmp esi, ebp
jae 0x440b92
mov edx, dword [esp + 0x10]
jmp 0x440b33
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x440df6
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x440e01
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x440e15
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x440e19
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x440e52
cmp dword [edi + ecx], 0x4550
jne 0x440e52
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x440e52
test byte [edi + ecx + 0x16], 2
je 0x440e52
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x440e57
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x440e93
xor eax, eax
jmp 0x440e76
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x440e9c
inc edx
movzx eax, dx
cmp eax, edi
jl 0x440e76
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x440ea2
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x440eda
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x440ee8
add edx, 0x20
cmp eax, edx
jne 0x440ef9
test bx, bx
je 0x440f2e
add esi, 2
add edi, 2
jmp 0x440eca
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x440f07
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x440f15
add edx, 0x20
sub ecx, edx
je 0x440f2e
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x440ec3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x440f48
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x441021
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x441021
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x441021
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x440fa7
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x441021
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x440fec
test dl, dl
je 0x440fe8
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x440fec
add ecx, 2
add eax, 2
test dl, dl
jne 0x440fcc
xor eax, eax
jmp 0x440ff1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x441003
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x44100e
inc esi
cmp esi, ebp
jae 0x441021
mov edx, dword [esp + 0x10]
jmp 0x440fc2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x441040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x441168
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.004412a2
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00441174
mov ebp, eax
test ebp, ebp
je 0x441168
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00441174
mov edi, eax
test edi, edi
je 0x441168
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00441174
mov ebx, eax
test ebx, ebx
je 0x441168
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x441144
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x441144
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.00441255
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

Function at 0x441174
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x441249
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x441249
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x441249
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x4411cf
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x441249
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x441214
test dl, dl
je 0x441210
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x441214
add ecx, 2
add eax, 2
test dl, dl
jne 0x4411f4
xor eax, eax
jmp 0x441219
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44122b
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x441236
inc esi
cmp esi, ebp
jae 0x441249
mov edx, dword [esp + 0x10]
jmp 0x4411ea
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x4412a2
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x4412da
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x4412e8
add edx, 0x20
cmp eax, edx
jne 0x4412f9
test bx, bx
je 0x44132e
add esi, 2
add edi, 2
jmp 0x4412ca
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x441307
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x441315
add edx, 0x20
sub ecx, edx
je 0x44132e
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x4412c3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x442cd0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x442cee
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x442ce3
pop esi
ret

Function at 0x442db0
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.0044e967
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x442e1a
push esi
lea edi, [eax + 0x400]
call fcn.0044e90d
push edi
call fcn.0044e967
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x442dea
push esi
xor edi, edi
call dword [0x5a448c]
add esp, 4
test eax, eax
je 0x442e36
push eax
push esi
call fcn.00445e70
add esp, 8
mov edi, eax
push esi
call fcn.0044e90d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x444430
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004462f0
mov edi, dword [esp + 0x38]
xor ebp, ebp
push edi
mov ebx, eax
mov dword [esp + 0x18], ebp
call dword [0x5a448c]
add esp, 8
test ebx, ebx
je 0x444574
test eax, eax
je 0x444574
inc eax
push eax
call fcn.0044e967
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044eb20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4444a2
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x444561
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.0044e967
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x44452a
cmp eax, 0xea
jne 0x44454d
push esi
call fcn.0044e90d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044e967
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x4444f5
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x444538
cmp eax, 2
jne 0x44454d
push esi
call dword [0x5a448c]
push eax
push esi
call fcn.00445e70
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call fcn.0044e90d
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.0044e90d
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x44459d
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4445a9
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4445a9
push esi
call dword [0x5a448c]
push eax
push esi
call fcn.00445e70
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4445c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x11c]
push ebp
push esi
push edi
push eax
call fcn.004462f0
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov ebp, eax
mov dword [esp + 0x18], esi
call dword [0x5a448c]
add esp, 8
test ebp, ebp
je 0x4446a7
test eax, eax
je 0x4446a7
inc eax
push ebx
push eax
call fcn.0044e967
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044eb20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x44463b
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44468f
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push esi
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44467c
cmp eax, 0xea
jne 0x444684
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0044e90d
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x114
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x114
ret

Function at 0x4446c0
Capabilities:
Get common file path
Get disk information

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x24c
test eax, eax
push esi
jne 0x4446eb
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x444718
pop esi
add esp, 0x24c
ret
mov esi, dword [esp + 0x258]
push esi
call dword [0x5a448c]
add esp, 4
test eax, eax
jne 0x444708
pop esi
add esp, 0x24c
ret
mov cl, byte [esi]
mov byte [esp + 9], 0x3a
mov byte [esp + 8], cl
mov byte [esp + 0xa], 0x5c
lea edx, [esp + 0x10c]
xor esi, esi
push 0x40
push edx
push esi
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x160]
push 0x104
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x44476d
lea eax, [esp + 0x14c]
push eax
call dword [0x5a448c]
lea ecx, [esp + 0x150]
push eax
push ecx
call fcn.00445e70
add esp, 0xc
mov esi, eax
mov eax, esi
pop esi
add esp, 0x24c
ret
Function at 0x444780
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x114
test eax, eax
push esi
jne 0x4447a5
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x44480f
jmp 0x4447c5
mov esi, dword [esp + 0x120]
push esi
call dword [0x5a448c]
add esp, 4
test eax, eax
je 0x44480f
mov cl, byte [esi]
mov byte [esp + 0x15], 0x3a
mov byte [esp + 0x14], cl
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x2a], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x44480f
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
imul edx, dword [esp + 4]
push 0x400
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
pop esi
add esp, 0x114
ret
or eax, 0xffffffff
pop esi
add esp, 0x114
ret

Function at 0x444820
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x11c
test eax, eax
push esi
jne 0x444845
lea eax, [esp + 0x1c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x4448a2
jmp 0x444865
mov esi, dword [esp + 0x128]
push esi
call dword [0x5a448c]
add esp, 4
test eax, eax
je 0x4448a2
mov cl, byte [esi]
mov byte [esp + 0x1d], 0x3a
mov byte [esp + 0x1c], cl
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x2e], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4448a2
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, 0xa
call fcn.0044eb50
pop esi
add esp, 0x11c
ret
or eax, 0xffffffff
pop esi
add esp, 0x11c
ret