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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040533c
xor eax, eax
push ebp
push 0x48ebf9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x48ebd6
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00470310
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404f34
mov eax, dword [ebp - 4]
call fcn.00405154
dec eax
jne 0x48eab5
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402d70
add al, 0xbf
sub al, 0x1a
jae 0x48eab5
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402d70
and eax, 0xff
mov edx, dword [eax*4 + 0x52d60c]
lea eax, [ebp - 4]
call fcn.00404f34
mov eax, dword [ebp - 4]
mov edx, 0x48ec10
call fcn.00405298
jne 0x48eace
call fcn.0046c9b0
jmp 0x48ebd4
mov eax, dword [ebp - 4]
mov edx, 0x48ec20
call fcn.00405298
jne 0x48eaf1
push 0
mov eax, dword [0x49b178]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
jmp 0x48ebd4
mov eax, dword [ebp - 4]
mov edx, 0x48ec34
call fcn.00405298
jne 0x48eb21
push 9
mov eax, dword [0x49b178]
mov eax, dword [eax]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x49b178]
mov eax, dword [eax]
push eax
call sub.user32.dll_BringWindowToTop
jmp 0x48ebd4
cmp dword [ebp - 4], 0
je 0x48ebd6
mov eax, dword [ebp - 4]
cmp byte [eax], 0x40
jne 0x48ebd6
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004053ec
mov edx, dword [ebp - 4]
mov eax, 0x48ec44
call fcn.00405490
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004053ac
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00409350
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00404f34
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.004053ec
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409350
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00404f34
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00403938
mov esi, eax
cmp dword [ebp - 8], 0
jne 0x48ebd6
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00403938
cmp dword [ebp - 8], 0
jne 0x48ebd6
mov edx, eax
mov eax, esi
call fcn.0046c998
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ec00
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404ec0
lea eax, [ebp - 4]
call fcn.00404e9c
ret
Function at 0x48f654
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040533c
xor eax, eax
push ebp
push 0x48f849
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x48f816
xor eax, eax
mov dword [0x716020], eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004053ac
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.00470310
mov eax, dword [ebp - 0x114]
mov edx, 0x48f864
call fcn.00405298
jne 0x48f70b
lea eax, [ebp - 4]
mov ecx, 2
mov edx, 1
call fcn.004053ec
mov bl, 1
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00488fb4
test al, al
je 0x48f816
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00403938
mov esi, eax
cmp dword [ebp - 0xc], 0
jne 0x48f816
mov byte [ebp - 5], 1
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.00409350
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 4]
call fcn.00404f34
cmp dword [ebp - 4], 0
jne 0x48f77a
test bl, bl
jne 0x48f76e
imul ax, si, 0x3e8
call fcn.0046cae0
jmp 0x48f816
mov eax, esi
call fcn.0046cae0
jmp 0x48f816
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00488fb4
test al, al
je 0x48f816
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x14]
call fcn.00470310
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x14]
call fcn.00404f34
mov eax, esi
add eax, eax
mov esi, eax
mov ebx, esi
test ebx, ebx
jle 0x48f80c
push 0xfa
lea eax, [ebp - 0x10f]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x10f]
call fcn.00409c4c
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.00470310
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.00405490
test eax, eax
jne 0x48f816
mov ax, 0x1f4
call fcn.0046cae0
dec ebx
jne 0x48f7b5
mov dword [0x716020], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f850
lea eax, [ebp - 0x128]
mov edx, 6
call fcn.00404ec0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404ec0
lea eax, [ebp - 4]
call fcn.00404e9c
ret
Function at 0x4907e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040533c
xor eax, eax
push ebp
push 0x4909cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x49099d
lea eax, [ebp - 0xc]
call fcn.00404e9c
jmp 0x490860
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.0040507c
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0xc]
call fcn.0040515c
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004053ec
cmp dword [ebp - 4], 0
je 0x49086e
mov eax, dword [ebp - 4]
cmp byte [eax], 0x20
jne 0x490830
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0xc]
call fcn.00470310
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0xc]
call fcn.00404f34
lea edx, [ebp - 5]
lea eax, [ebp - 4]
call fcn.00488eec
test al, al
je 0x49099d
mov eax, dword [ebp - 0xc]
mov edx, 0x4909e4
call fcn.00405298
je 0x4908ca
mov eax, dword [ebp - 0xc]
mov edx, 0x4909f4
call fcn.00405298
je 0x4908ca
mov eax, dword [ebp - 0xc]
mov edx, 0x490a04
call fcn.00405298
jne 0x4908e6
push 0xff
lea eax, [ebp - 0x10c]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextA
jmp 0x490973
mov eax, dword [ebp - 0xc]
mov edx, 0x490a14
call fcn.00405298
jne 0x490927
mov edx, 0x490a1c
lea eax, [ebp - 0x10c]
call fcn.00409a90
call sub.user32.dll_GetFocus
test eax, eax
je 0x490973
push 0xff
lea eax, [ebp - 0x10c]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
jmp 0x490973
mov eax, dword [ebp - 0xc]
mov edx, 0x490a28
call fcn.00405298
jne 0x490973
push 0
push 0x64
xor ecx, ecx
xor edx, edx
mov al, 0x24
call fcn.00472e68
push 0
push 0x64
mov cl, 1
xor edx, edx
mov al, 0x23
call fcn.00472e68
push 0
push 0x64
xor ecx, ecx
mov dl, 1
mov al, 0x2d
call fcn.00472e68
lea eax, [ebp - 0x10c]
mov edx, 0xff
call fcn.0046cc68
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x10c]
call fcn.00409c4c
mov edx, dword [ebp - 0x118]
xor eax, eax
mov al, byte [ebp - 5]
lea eax, [eax*4 + 0x52d60c]
call fcn.00404ef0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4909d2
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.00404ec0
lea eax, [ebp - 0xc]
call fcn.00404e9c
lea eax, [ebp - 4]
call fcn.00404e9c
ret
Function at 0x492ac8
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040533c
xor eax, eax
push ebp
push 0x492c5d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x492c3a
lea eax, [ebp - 0x24]
push eax
mov ecx, 6
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004053ac
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00470310
mov eax, dword [ebp - 0x20]
mov edx, 0x492c74
call fcn.00405298
jne 0x492b50
mov byte [ebp - 5], 1
lea eax, [ebp - 4]
mov ecx, 6
mov edx, 1
call fcn.004053ec
jmp 0x492b9a
lea eax, [ebp - 0x2c]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004053ac
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00470310
mov eax, dword [ebp - 0x28]
mov edx, 0x492c84
call fcn.00405298
jne 0x492c3a
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov ecx, 7
mov edx, 1
call fcn.004053ec
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00409350
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.00404f34
lea edx, [ebp - 6]
lea eax, [ebp - 4]
call fcn.00489210
test al, al
je 0x492c3a
lea edx, [ebp - 7]
lea eax, [ebp - 4]
call fcn.00488eec
test al, al
je 0x492c3a
xor eax, eax
mov al, byte [ebp - 6]
imul eax, eax, 0x3b
lea eax, [eax*8 + 0x7107b0]
cmp dword [eax + 4], 0
jl 0x492c3a
mov dword [ebp - 0xc], 0x10
cmp byte [ebp - 5], 0
je 0x492c03
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
jmp 0x492c14
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getpeername
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x34]
call fcn.00409c4c
mov edx, dword [ebp - 0x34]
xor eax, eax
mov al, byte [ebp - 7]
lea eax, [eax*4 + 0x52d60c]
call fcn.00404ef0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492c64
lea eax, [ebp - 0x34]
mov edx, 6
call fcn.00404ec0
lea eax, [ebp - 4]
call fcn.00404e9c
ret

Function at 0x493b44
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, 0x71741c
cmp dword [0x717420], 0
je 0x493bc7
xor esi, esi
mov ebx, 0x717428
push 0xff
push 0x37a
call dword [edi]
push 1
call sub.kernel32.dll_Sleep_1
mov ecx, esi
mov eax, 0x80
shr eax, cl
not al
push eax
push 0x378
call dword [edi]
push 1
call sub.kernel32.dll_Sleep_1
push 0x379
call dword [0x717418]
xor al, byte [0x717424]
and eax, 0xff
test al, 0x80
setne dl
mov byte [ebx], dl
test al, 0x40
setne dl
mov byte [ebx + 1], dl
test al, 0x20
setne dl
mov byte [ebx + 2], dl
test al, 0x10
setne al
mov byte [ebx + 3], al
inc esi
add ebx, 4
cmp esi, 8
jne 0x493b5c
pop edi
pop esi
pop ebx
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
mov ebx, 0x40915c
mov ecx, 0x3dab1e47
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x6fbc723d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x431004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x6d1714cb
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x48221309
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6d26da0
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x404558ab
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x9d31dc
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x9f7274]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x9f4f1c
push esi
call fcn.009cb633
pop ecx
pop ecx
test eax, eax
jne 0x9d320a
xor al, al
jmp 0x9d3287
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.009d2f11
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x9d3244
push dword [ebp - 0x210]
call fcn.009b98b2
xor al, al
jmp 0x9d3285
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x9d324a
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x9d326a
push edx
call fcn.009d3113
pop ecx
test al, al
je 0x9d3235
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x9d3278
mov bl, 1
push dword [ebp - 0x210]
call fcn.009b98b2
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.009b6212
leave
ret

Function at 0x9d3d6c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x9f7274]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x9d3daf
call fcn.009c38a7
mov dword [eax], 0xf
call fcn.009c38ba
mov dword [eax], 0xd
call fcn.009c7184
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009b6212
leave
ret
test eax, eax
jne 0x9d3db6
inc eax
jmp 0x9d3da3
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x9d3da1
xor eax, eax
cmp ecx, 1
setne al
jmp 0x9d3da3
Function at 0x10003a70
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1002decb
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x1003a330]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push ebp
push esi
mov eax, dword [0x1003a330]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
xor eax, eax
cmp dword [edi + 0x14], 0xc8
mov esi, ecx
mov dword [esp + 0x10], eax
jbe 0x10003ad6
mov dword [esi + 0x14], eax
xor ecx, ecx
mov dword [esi + 0x18], 7
push eax
mov word [esi + 4], cx
mov eax, 0x100328d0
jmp 0x10003c15
push 0x40e
push eax
lea eax, [esp + 0x56]
xor edx, edx
push eax
mov word [esp + 0x58], dx
call fcn.10019ce0
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
call fcn.1000602a
push edi
lea ecx, [esp + 0x34]
call fcn.100034f0
mov ebp, 8
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x10003b16
mov eax, dword [eax + 4]
jmp 0x10003b19
add eax, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea edx, [esp + 0x50]
push edx
call ebx
cmp dword [esp + 0x48], ebp
jb 0x10003b3a
mov eax, dword [esp + 0x34]
push eax
call fcn.10017afe
add esp, 4
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10003be6
lea eax, [esp + 0x30]
call fcn.100037f0
mov dword [esp + 0x468], 0
cmp dword [esp + 0x44], 0
je 0x10003bc8
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x10003b76
lea eax, [esp + 0x34]
push 0x208
push eax
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.cachekvstore
lea eax, [esp + 0x50]
push eax
call ebx
push edi
lea ecx, [esp + 0x18]
call fcn.100034f0
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x10003baa
mov eax, dword [eax + 4]
jmp 0x10003bad
add eax, 4
push eax
lea ecx, [esp + 0x50]
push ecx
call ebx
cmp dword [esp + 0x2c], ebp
jb 0x10003bc8
mov edx, dword [esp + 0x18]
push edx
call fcn.10017afe
add esp, 4
mov dword [esp + 0x468], 0xffffffff
cmp dword [esp + 0x48], ebp
jb 0x10003be6
mov eax, dword [esp + 0x34]
push eax
call fcn.10017afe
add esp, 4
xor ecx, ecx
lea eax, [esp + 0x4c]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003c01
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
call fcn.100050b0
mov eax, esi
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.1001778d
add esp, 0x45c
ret
Function at 0x10003c50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1002e138
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1003a330]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
mov eax, dword [0x1003a330]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, edx
xor ebx, ebx
cmp dword [edi + 0x14], 0xc8
mov esi, ecx
mov dword [esp + 0x14], ebx
jbe 0x10003cae
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x100328cc
mov byte [esi + 4], bl
call fcn.10001ee0
jmp 0x10003d26
lea ecx, [esp + 0x18]
call fcn.10003a70
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x10003cce
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10003d00
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x100328cc
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10001ee0
cmp dword [esp + 0x30], edi
jb 0x10003d26
mov eax, dword [esp + 0x1c]
push eax
jmp 0x10003d1e
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x10003d0e
lea ecx, [esp + 0x1c]
call fcn.10003a50
cmp dword [esp + 0x30], edi
jb 0x10003d26
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10017afe
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001778d
add esp, 0x34
ret

Function at 0x10004020
Capabilities:
Set registry value

Disassembly:
push ecx
call fcn.10003d50
cmp eax, 0x97
jne 0x10004034
mov eax, 1
pop ecx
ret
push 4
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 4
push str._origTTL
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x97
call fcn.10003ec0
add esp, 4
pop ecx
ret
Function at 0x100049b0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.10029300
mov eax, dword [0x1003a330]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x1003bce8], 0
push esi
je 0x10004a47
push str._TTLManagerThread
push 0xcc
push str.._natnac.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x100046f0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10004a36
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.10016846
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1003bce8], 0
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.1001778d
add esp, 0x1010
ret

Function at 0x10004a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002f190
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
mov eax, dword [0x1003a330]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push 6
xor ebx, ebx
mov esi, 0xf
push str.natNac
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10001ee0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], ebx
call fcn.10001760
add esp, 4
mov byte [esp + 0x68], 2
cmp dword [esp + 0x40], 0x10
jb 0x10004ad6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10017afe
add esp, 4
cmp byte [esp + 0x14], 7
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jne 0x10004bc4
push 6
push str.enable
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.10001ee0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x70], 3
call fcn.10001500
add esp, 8
mov byte [esp + 0x68], 2
cmp dword [esp + 0x5c], 0x10
mov dword [0x1003d1e4], eax
jb 0x10004b3e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.10017afe
add esp, 4
push 0xe
push str.useDeviceState
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.10001ee0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x70], 4
call fcn.10001500
add esp, 8
mov byte [esp + 0x68], 2
cmp dword [esp + 0x5c], 0x10
mov dword [0x1003d1e8], eax
jb 0x10004b8f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.10017afe
add esp, 4
mov edx, dword [0x1003d1e8]
mov eax, dword [0x1003d1e4]
push edx
push eax
push str.natNac_enabled:__d__use_device_state:__d
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.10016846
add esp, 0xc
cmp dword [0x1003d1e4], ebx
je 0x10004bd1
call fcn.100049b0
jmp 0x10004bd1
push str.LoadNatNacConfig_failed
call fcn.10016b02
add esp, 4
lea esi, [esp + 0xc]
mov dword [esp + 0x68], 0xffffffff
call fcn.1000c806
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x60
ret