joyce8/EMBER2024-capa huggingface dataset:
Function at 0x39e504a6
Capabilities:
Get disk information

Disassembly:
push 0x26c
mov eax, 0x39ec51c2
call fcn.39eaecb8
lea ecx, [ebp - 0x238]
call fcn.39e3c0a7
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x254]
call fcn.39e3c0a7
mov byte [ebp - 4], 1
xor eax, eax
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.39e6fce0
add esp, 0xc
cmp dword [edi + 0x50], 8
jb 0x39e504fd
mov eax, dword [edi + 0x3c]
jmp 0x39e50500
lea eax, [edi + 0x3c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.39eb4742
add esp, 0x24
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], ebx
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x254]
push eax
mov ecx, edi
call fcn.39e5029c
push edi
lea ecx, [ebp - 0x238]
call fcn.39eb4742
test eax, eax
jne 0x39e5057f
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x254]
call fcn.39eb4742
test eax, eax
je 0x39e505d5
cmp dword [ebp - 0x25c], 5
je 0x39e505a6
xor esi, esi
jmp 0x39e505d8
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x278]
push eax
call esi
test eax, eax
jne 0x39e5058c
inc dword [ebp - 0x258]
push 0xa
call dword [sym.imp.kernel32.dll_Sleep]
cmp dword [ebp - 0x258], 0x14
jl 0x39e50547
jmp 0x39e50588
xor esi, esi
inc esi
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x254]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x238]
call fcn.39eb4742
mov eax, esi
call fcn.39eaed4a
ret
Function at 0x39e52155
Capabilities:
Get disk size

Disassembly:
push 0x78
mov eax, 0x39ec4004
call fcn.39eaec45
mov esi, ecx
xor ebx, ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
cmp eax, ebx
jne 0x39e521f9
push ebx
push 2
push dword [ebp + 8]
lea ecx, [ebp - 0x68]
call fcn.39eb4742
mov edi, eax
mov dword [ebp - 4], ebx
push 0x39e1e180
lea ecx, [ebp - 0x4c]
call fcn.39eb4742
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
push eax
push ecx
call fcn.39e56816
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x44]
lea ecx, [eax + 4]
mov eax, dword [ecx]
add eax, 4
mov byte [ebp - 4], 1
call dword [eax]
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.39eb4742
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x1c], ebx
jg 0x39e522b7
jl 0x39e52211
cmp dword [ebp - 0x20], 0xa00000
jae 0x39e522b7
push dword [ebp + 8]
lea eax, [ebp - 0x84]
push 0x124e
push eax
call fcn.39e96477
mov dword [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x39e52237
mov eax, dword [eax + 4]
jmp 0x39e5223a
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.39eb4742
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.39eb4742
push 0x25
push dword [ebp - 0x10]
push dword [esi + 0x44]
push 4
pop eax
call fcn.39eb4742
cmp eax, 2
je 0x39e5227c
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x39e52165
push ebx
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push 0x39e1e230
call fcn.39eb4742
mov byte [ebp - 4], 6
mov esi, dword [esi + 0x44]
lea ecx, [esi + 4]
mov eax, dword [ecx]
add eax, 4
mov byte [ebp - 4], 5
call dword [eax]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor al, al
jmp 0x39e522b9
mov al, 1
call fcn.39eaed31
ret 4
Function at 0x39e522c6
Capabilities:
Copy file

Disassembly:
push 0x4b4
mov eax, 0x39ec3fa4
call fcn.39eaecb8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
xor eax, eax
mov ebx, 0x208
push ebx
mov word [ebp - 0x21c], ax
xor esi, esi
lea eax, [ebp - 0x21a]
push esi
push eax
mov edi, ecx
call fcn.39e6fce0
xor eax, eax
push ebx
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push esi
push eax
call fcn.39e6fce0
add esp, 0x18
lea eax, [ebp - 0x428]
push eax
push 0x105
call fcn.39eb4742
test eax, eax
jne 0x39e5235e
push esi
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x430], esp
push 0x39e1e2c0
call fcn.39eb4742
mov dword [ebp - 4], esi
mov edi, dword [edi + 0x44]
lea ecx, [edi + 4]
mov eax, dword [ecx]
or dword [ebp - 4], 0xffffffff
call dword [eax + 4]
xor al, al
jmp 0x39e5252e
push 0x39e1e344
push 0x39e1e34c
lea eax, [ebp - 0x21c]
push eax
lea ebx, [ebp - 0x428]
call fcn.39eb4742
cmp eax, esi
jne 0x39e52407
push esi
push 2
mov eax, ebx
push eax
lea ecx, [ebp - 0x450]
call fcn.39eb4742
mov dword [ebp - 0x42c], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x39e1e360
lea ecx, [ebp - 0x46c]
call fcn.39eb4742
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x430], esp
push dword [ebp - 0x42c]
push eax
push ecx
call fcn.39e56816
add esp, 0xc
mov byte [ebp - 4], 3
mov edi, dword [edi + 0x44]
lea ecx, [edi + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 2
call dword [eax + 4]
mov byte [ebp - 4], bl
push esi
push ebx
lea ecx, [ebp - 0x46c]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
push esi
push ebx
call fcn.39eb4742
jmp 0x39e52357
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x42c]
call dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
lea eax, [ebp - 0x21c]
jne 0x39e52523
push esi
push 2
push eax
lea ecx, [ebp - 0x488]
call fcn.39eb4742
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 4
push 0x39e1e418
lea ecx, [ebp - 0x4a4]
call fcn.39eb4742
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 5
push 0x39e1e438
lea ecx, [ebp - 0x4c0]
call fcn.39eb4742
mov byte [ebp - 4], 6
push dword [ebp - 0x42c]
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.39e567c2
mov byte [ebp - 4], 7
push dword [ebp - 0x434]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.39e56816
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x434], esp
push dword [ebp - 0x430]
push eax
push ecx
call fcn.39e56816
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x44]
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 8
call dword [eax + 4]
mov byte [ebp - 4], 7
push esi
push ebx
lea ecx, [ebp - 0x450]
call fcn.39eb4742
mov byte [ebp - 4], 6
push esi
push ebx
lea ecx, [ebp - 0x46c]
call fcn.39eb4742
mov byte [ebp - 4], 5
push esi
push ebx
lea ecx, [ebp - 0x4c0]
call fcn.39eb4742
mov byte [ebp - 4], 4
push esi
push ebx
lea ecx, [ebp - 0x4a4]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
jmp 0x39e523fb
push eax
lea ecx, [edi + 0x1c]
call fcn.39eb4742
mov al, bl
call fcn.39eaed4a
ret 4
Function at 0x39e5253b
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x39ec3f16
call fcn.39eaec45
lea esi, [edi + 0x1c]
cmp dword [esi + 0x18], 8
jb 0x39e52555
mov eax, dword [esi + 4]
jmp 0x39e52558
lea eax, [esi + 4]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x39e525b1
push eax
push 2
push 0x39e1e4b0
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
and dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
push eax
push ecx
call fcn.39e56816
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x44]
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov byte [ebp - 4], 0
call dword [eax + 4]
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
xor al, al
jmp 0x39e525b3
mov al, 1
call fcn.39eaed31
ret
Function at 0x39e5b5d8
Capabilities:
Get disk information
Query environment variable

Disassembly:
push 0x44c
mov eax, 0x39ec3875
call fcn.39eaecb8
mov ebx, dword [edi + 0x14]
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x430], ax
lea eax, [ebp - 0x42e]
push eax
mov dword [ebp - 0x434], ebx
call fcn.39e6fce0
add esp, 0xc
xor eax, eax
push esi
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.39e6fce0
add esp, 0xc
test ebx, ebx
jne 0x39e5b635
xor eax, eax
inc eax
jmp 0x39e5b77d
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x39e5b642
mov eax, dword [esi]
jmp 0x39e5b644
mov eax, esi
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x220]
push ecx
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x39e5b6a3
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x438], esp
push 0x39e215d8
call fcn.39eb4742
and dword [ebp - 4], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
or dword [ebp - 4], 0xffffffff
call dword [eax + 0xc]
cmp dword [edi + 0x18], 8
jb 0x39e5b68a
mov esi, dword [esi]
mov eax, dword [ebp - 0x434]
dec eax
push eax
push esi
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.39eb4742
add esp, 0x10
push 0x5c
pop eax
cmp ax, word [ebp - 0x220]
jne 0x39e5b6bf
cmp ax, word [ebp - 0x21e]
jne 0x39e5b6bf
push 2
jmp 0x39e5b77c
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x105
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.39eb4742
add esp, 0x24
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
cmp eax, esi
je 0x39e5b77a
inc esi
cmp eax, esi
je 0x39e5b77a
cmp eax, 2
jne 0x39e5b705
push 3
jmp 0x39e5b77c
cmp eax, 3
je 0x39e5b70e
push 4
jmp 0x39e5b77c
lea ebx, [ebp - 0x430]
call fcn.39eb4742
test eax, eax
jne 0x39e5b721
push 6
jmp 0x39e5b77c
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x454]
call fcn.39eb4742
mov dword [ebp - 4], esi
mov esi, eax
call fcn.39eb4742
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x454]
call fcn.39eb4742
test bl, bl
je 0x39e5b760
push 7
jmp 0x39e5b77c
lea eax, [ebp - 0x220]
push eax
mov ecx, edi
call fcn.39eb4742
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
jmp 0x39e5b77d
push 5
pop eax
call fcn.39eaed4a
ret
Function at 0x39e63ec3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x39ec36b9
call fcn.39eaecf3
mov eax, dword [ebp + 8]
mov esi, edx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x39e63f1b
call fcn.39e628ec
mov esi, eax
jmp 0x39e6403b
push edi
push esi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x39e63f34
call fcn.39e628ec
jmp 0x39e6402d
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x39e63f2a
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x39e63f94
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x39e63f83
lea eax, [ebp - 0x418]
call fcn.39e62e35
mov eax, 0x8007000e
or dword [ebp - 4], 0xffffffff
call fcn.39eaed5e
ret 0xc
mov byte [ebp - 4], 2
push 2
call fcn.39eb4742
cmp eax, 0x400
jbe 0x39e63fb5
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.39eb4742
jmp 0x39e63fc1
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x39e63fdf
cmp dword [ebp - 0x418], ebx
jne 0x39e63fee
mov esi, 0x8007000e
jmp 0x39e6402f
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x39e63f2a
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.39eb4742
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x39e64057
lea eax, [ebp - 0x418]
call fcn.39e62e35
mov eax, esi
jmp 0x39e63f88
Function at 0x39e6b440
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x39ede0c4]
jne 0x39e6b44a
repz ret
jmp fcn.39e6f91c
Function at 0x39e8329b
Capabilities:
Read .ini file

Disassembly:
push 0x850
mov eax, 0x39eb9dba
call fcn.39eaecb8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x858], ecx
push eax
lea ecx, [ebp - 0x854]
mov dword [ebp - 0x85c], eax
call fcn.39eb4742
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x840]
cmp eax, 4
jbe 0x39e834c9
add eax, 0xfffffffc
push eax
lea ecx, [ebp - 0x854]
call fcn.39eb4742
cmp word [eax], 0x2e
jne 0x39e834c9
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push edi
push eax
call fcn.39e6fce0
xor eax, eax
push 0x208
mov word [ebp - 0x634], ax
lea eax, [ebp - 0x632]
push edi
push eax
call fcn.39e6fce0
add esp, 0x18
push 0x105
lea eax, [ebp - 0x634]
push eax
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov esi, 0x104
cmp eax, edi
jbe 0x39e83395
push edi
push edi
push edi
push edi
push 0x101
lea eax, [ebp - 0x838]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.39eb4742
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.39eb4742
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.39eb4742
add esp, 0x3c
push 0x39e0422c
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.39eb4742
xor eax, eax
push ebx
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push edi
push eax
call fcn.39e6fce0
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
push esi
lea eax, [ebp - 0x428]
push eax
push edi
push 0x39e0421c
push 0x39e04168
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x39e83402
call fcn.39eb4742
movzx eax, ax
push 0xa
lea ecx, [ebp - 0x428]
movzx eax, ax
push ecx
push eax
call fcn.39eb4742
add esp, 0xc
push 0x39e17300
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.39eb4742
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x840]
add eax, 0xfffffffd
push eax
lea ecx, [ebp - 0x854]
call fcn.39eb4742
cmp dword [ebp - 0x83c], 8
mov eax, dword [ebp - 0x850]
jae 0x39e83448
lea eax, [ebp - 0x850]
push edi
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
je 0x39e834b3
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x854]
call fcn.39eb4742
mov eax, dword [ebp - 0x840]
push 0x39e04210
add eax, 0xfffffffd
push eax
lea ecx, [ebp - 0x854]
call fcn.39eb4742
cmp dword [ebp - 0x83c], 8
mov eax, dword [ebp - 0x850]
jae 0x39e83495
lea eax, [ebp - 0x850]
push edi
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
je 0x39e834b3
push dword [ebp - 0x85c]
lea ecx, [ebp - 0x854]
call fcn.39eb4742
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x840]
ja 0x39e834e5
mov ecx, dword [ebp - 0x858]
xor eax, eax
mov word [ecx], ax
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x854]
call fcn.39eb4742
xor eax, eax
call fcn.39eaed4a
ret 0xc
cmp dword [ebp - 0x83c], 8
mov eax, dword [ebp - 0x850]
jae 0x39e834fa
lea eax, [ebp - 0x850]
push eax
push ecx
push dword [ebp - 0x858]
call fcn.39eb4742
add esp, 0xc
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x854]
call fcn.39eb4742
xor eax, eax
inc eax
jmp 0x39e834dd
Function at 0x39e89c4a
Capabilities:
Read .ini file

Disassembly:
push 0x22c
mov eax, 0x39ebabb9
call fcn.39eaecb8
mov edi, dword [ebp + 0x40]
xor esi, esi
inc esi
mov dword [ebp - 4], esi
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.39e6fce0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x39e89c8e
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x39e89c9a
lea eax, [ebp + 0x28]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x39e162d8
push eax
push 0x39e04ad4
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
cmp eax, ebx
je 0x39e89d05
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x39e89cc5
sub eax, edx
sar eax, 1
je 0x39e89d05
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.39eb4742
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.39eb4742
mov eax, esi
jmp 0x39e89da2
push 0x39e04b30
lea ecx, [ebp - 0x234]
call fcn.39eb4742
mov byte [ebp - 4], 2
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x39e89d25
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x234]
call fcn.39eb4742
push 0x39e04b04
lea ecx, [ebp - 0x234]
call fcn.39eb4742
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x39e89d4d
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
call fcn.39eb4742
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x39e89d6e
lea eax, [ebp - 0x230]
push eax
call fcn.39eb4742
mov byte [ebp - 4], 1
push ebx
push esi
lea ecx, [ebp - 0x234]
call fcn.39eb4742
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.39eb4742
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.39eb4742
xor eax, eax
call fcn.39eaed4a
ret 0x3c
Function at 0x39e89e66
Capabilities:
Get common file path

Disassembly:
push 0x258
mov eax, 0x39ebac1e
call fcn.39eaecb8
mov dword [ebp - 0x244], ecx
mov edi, dword [ebp + 8]
and dword [ebp - 0x240], 0
mov esi, 0x39e162d8
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x248], edi
call fcn.39eb4742
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x39e04aa0
lea ecx, [ebp - 0x264]
call fcn.39eb4742
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.39eb4742
mov byte [ebp - 0x239], al
mov byte [ebp - 4], bl
push 0
push ebx
lea ecx, [ebp - 0x264]
call fcn.39eb4742
cmp byte [ebp - 0x239], 0
je 0x39e89f55
cmp dword [ebp - 0x224], 0
jne 0x39e89f0f
push 0x39e04be0
call fcn.39eb4742
push esi
mov ecx, edi
call fcn.39eb4742
jmp 0x39e89fdb
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x39e89f24
lea eax, [ebp - 0x234]
push 4
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
je 0x39e89f42
push 0x39e04b78
call fcn.39eb4742
push esi
jmp 0x39e89fd4
lea eax, [ebp - 0x238]
push eax
mov ecx, edi
call fcn.39eb4742
jmp 0x39e89fdb
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.39e6fce0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x39e89f8e
sub eax, edx
sar eax, 1
mov ecx, 0x104
sub ecx, eax
push ecx
push 0x39e04ab4
lea eax, [ebp - 0x21c]
push eax
call fcn.39e97454
lea eax, [ebp - 0x21c]
push 4
push eax
call fcn.39eb4742
pop ecx
pop ecx
test eax, eax
jne 0x39e89f32
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.39eb4742
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], 0
push 0
push ebx
lea ecx, [ebp - 0x238]
call fcn.39eb4742
mov eax, edi
call fcn.39eaed4a
ret 4
Function at 0x39e8b13a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x38
mov eax, 0x39ebaebc
call fcn.39eaecb8
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ebx
call fcn.39e3c0a7
mov dword [ebp - 4], 1
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0x3c], eax
jb 0x39e8b17d
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x44]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x39e8b20a
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.39eb4742
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x39e8b1c3
mov ecx, dword [ebp - 0x30]
push 0x39e162d8
call fcn.39eb4742
jmp 0x39e8b21f
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push eax
call fcn.39e6fce0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x39e8b1e0
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x44]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x39e8b23d
cmp dword [ebp - 0x44], 1
jne 0x39e8b23d
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
push dword [ebp - 0x34]
call fcn.39eb4742
pop ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.39eb4742
xor eax, eax
inc eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], bl
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
mov eax, dword [ebp - 0x30]
call fcn.39eaed4a
ret 0xc
push dword [ebp - 0x34]
call fcn.39eb4742
mov ecx, dword [ebp - 0x30]
mov dword [esp], 0x39e162d8
call fcn.39eb4742
jmp 0x39e8b21f
Function at 0x39e8c27f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x34
mov eax, 0x39ebb365
call fcn.39eaecb8
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov esi, ecx
cmp dword [esi + 0x40], 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], ebx
jb 0x39e8c2ac
mov eax, dword [esi + 0x2c]
jmp 0x39e8c2af
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
lea edi, [esi + 0x7c]
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x39e8c37b
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.39eb4742
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x39e8c311
push edi
mov ecx, esi
call fcn.39eb4742
mov ecx, dword [ebp - 0x30]
push 0x39e162d8
call fcn.39eb4742
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], 1
jmp 0x39e8c3c5
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push eax
call fcn.39e6fce0
add esp, 0xc
cmp dword [esi + 0x40], 8
jb 0x39e8c32e
mov eax, dword [esi + 0x2c]
jmp 0x39e8c331
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x39e8c350
cmp dword [ebp - 0x40], 1
je 0x39e8c37b
push 0x39e06480
call fcn.39eb4742
push edi
mov ecx, esi
call fcn.39eb4742
push dword [ebp - 0x34]
call fcn.39eb4742
mov dword [esp], 0x39e162d8
mov ecx, dword [ebp - 0x30]
call fcn.39eb4742
jmp 0x39e8c302
push edi
mov ecx, esi
call fcn.39eb4742
cmp dword [ebp - 0x34], ebx
jne 0x39e8c38f
push 0x39e162d8
jmp 0x39e8c371
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [ebp - 0x34]
call fcn.39eb4742
pop ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.39eb4742
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.39eb4742
mov eax, dword [ebp - 0x30]
call fcn.39eaed4a
ret 4