joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4131c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x643d78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x250]
mov dword [ebp - 4], 0
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401970
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWARENetscapeNetscape_6
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x41339a
mov dword [ebp - 0x18], 0x32
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x210]
push edx
push eax
push eax
push str.CurrentVersion
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41339a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
lea edx, [ebp + 0x210]
push edx
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x41339a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.Main
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x41339a
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push str.Install_Directory
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41339a
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4132d3
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 6], 0x5c
je 0x413303
lea edi, [ebp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4132f0
mov eax, dword [0x679980]
mov dword [edi], eax
lea eax, [ebp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x413310
mov ecx, dword [str.Plugins_]
mov dword [eax], ecx
mov edx, dword [0x67c2b0]
mov dword [eax + 4], edx
mov ecx, dword [0x67c2b4]
mov dword [eax + 8], ecx
mov edx, dword [0x67c2b8]
mov dword [eax + 0xc], edx
mov cx, word [0x67c2bc]
mov word [eax + 0x10], cx
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004017e0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41339c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x244]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x248
mov esp, ebp
pop ebp
ret 4
Function at 0x4133d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x21c]
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401970
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x413434
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00620b8d
add esp, 0x214
ret 4
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_Directory
mov edi, 0x208
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4134e1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_CommandLine
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4134ae
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4134e1
xor eax, eax
jmp 0x41354c
lea ecx, [esp + 0x14]
push 0x67c330
push ecx
call fcn.00622e9b
add esp, 8
test eax, eax
je 0x413566
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.006206a1
add esp, 8
test eax, eax
je 0x4134e1
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x14]
lea edx, [eax + 2]
jmp 0x4134f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4134f0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x413524
lea edi, [esp + 0x14]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413510
mov edx, dword [0x679980]
mov dword [edi], edx
push 0
push str.ProgramPlugins_
lea eax, [esp + 0x1c]
push eax
push 0x678de0
mov ecx, ebx
call fcn.00402310
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00620b8d
add esp, 0x214
ret 4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.Last_Directory2
push ecx
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4134e1
xor eax, eax
jmp 0x41354c
Function at 0x413590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x643da8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x250]
mov dword [ebp - 4], 0
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401970
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREmozilla.orgMozilla
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x41376a
mov dword [ebp - 0x18], 0x32
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x210]
push edx
push eax
push eax
push str.CurrentVersion
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41376a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
lea edx, [ebp + 0x210]
push edx
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x41376a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.Main
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x41376a
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push str.Install_Directory
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41376a
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4136a3
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 6], 0x5c
je 0x4136d3
lea edi, [ebp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4136c0
mov eax, dword [0x679980]
mov dword [edi], eax
lea eax, [ebp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4136e0
mov ecx, dword [str.Plugins_]
mov dword [eax], ecx
mov edx, dword [0x67c2b0]
mov dword [eax + 4], edx
mov ecx, dword [0x67c2b4]
mov dword [eax + 8], ecx
mov edx, dword [0x67c2b8]
mov dword [eax + 0xc], edx
mov cx, word [0x67c2bc]
mov word [eax + 0x10], cx
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004017e0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41376c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x244]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x248
mov esp, ebp
pop ebp
ret 4
Function at 0x4137a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x643dd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x250]
mov dword [ebp - 4], 0
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401970
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWARENetscapeNetscape
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x41397a
mov dword [ebp - 0x18], 0x32
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x210]
push edx
push eax
push eax
push str.CurrentVersion
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41397a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
lea edx, [ebp + 0x210]
push edx
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x41397a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.Main
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x41397a
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push str.Install_Directory
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41397a
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4138b3
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 6], 0x5c
je 0x4138e3
lea edi, [ebp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4138d0
mov eax, dword [0x679980]
mov dword [edi], eax
lea eax, [ebp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4138f0
mov ecx, dword [str.Plugins_]
mov dword [eax], ecx
mov edx, dword [0x67c2b0]
mov dword [eax + 4], edx
mov ecx, dword [0x67c2b4]
mov dword [eax + 8], ecx
mov edx, dword [0x67c2b8]
mov dword [eax + 0xc], edx
mov cx, word [0x67c2bc]
mov word [eax + 0x10], cx
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004017e0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41397c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x244]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x248
mov esp, ebp
pop ebp
ret 4
Function at 0x414480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x643ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], cx
mov dword [esp + 0x80], ebx
push ebx
push eax
push 0x678ea8
lea ecx, [esp + 0x34]
call fcn.004021a0
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x4144ec
lea eax, [esp + 0x2c]
push 0x5c
push eax
call fcn.006206a1
add esp, 8
cmp eax, ebx
je 0x414501
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], ax
mov byte [esp + 0x80], 1
cmp dword [esp + 0x8c], 3
mov ecx, str.ProgramPlugins_
je 0x41452c
mov ecx, str.Plugins_
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x414538
lea eax, [esp + 0x2c]
push ebx
push ecx
push eax
push 0x678de0
lea ecx, [esp + 0x2c]
call fcn.00402310
mov eax, 2
xor ecx, ecx
mov dword [0x7534c8], eax
lea edi, [eax - 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], cx
mov byte [esp + 0x80], al
lea esp, [esp]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x41457c
lea esi, [esp + 0x20]
push ebx
push 0xa
lea edx, [esp + 0x3c]
push edx
push edi
call fcn.006238f2
add esp, 0xc
push eax
push esi
push str._sNP_IDM_d.dll
lea ecx, [esp + 0x20]
call fcn.00402310
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4145a9
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab900
add esp, 8
test eax, eax
je 0x4145d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4145c4
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab760
add esp, 8
inc edi
jmp 0x414570
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4145de
lea eax, [esp + 0x20]
push ebx
push str.NPIDMan1.dll
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402310
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4145ff
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab900
add esp, 8
test eax, eax
jne 0x414625
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x41461a
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab760
add esp, 8
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x414631
lea eax, [esp + 0x20]
push ebx
push str.NPIDMan2.dll
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402310
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x414652
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab900
add esp, 8
test eax, eax
jne 0x414678
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x41466d
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab760
add esp, 8
mov dword [0x7534c8], 1
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x10]
call fcn.00401210
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x1c]
call fcn.00401210
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00401210
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00620b8d
add esp, 0x74
ret 0x10
Function at 0x4146e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643f18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75dc38]
cmp eax, edi
jne 0x414734
mov eax, 0x75dc3c
push edi
push ecx
push eax
push str._s_sinstall.rdf
lea ecx, [ebp - 0x20]
call fcn.00402310
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x41474e
lea eax, [ebp - 0x1c]
push edi
push 0x8000080
push 4
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414793
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, edi
je 0x414849
push edi
push edi
push edi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x414842
push str._em:updateURL_
push edi
call fcn.00622230
add esp, 8
test eax, eax
je 0x4147fb
mov ecx, dword [0x67c6b8]
mov dword [eax], ecx
mov edx, dword [0x67c6bc]
mov dword [eax + 4], edx
mov ecx, dword [0x67c6c0]
mov dword [eax + 8], ecx
mov dx, word [0x67c6c4]
mov word [eax + 0xc], dx
push str.__em:updateURL_
push edi
call fcn.00622230
add esp, 8
test eax, eax
je 0x41483b
mov ecx, dword [0x67c698]
mov dword [eax], ecx
mov edx, dword [0x67c69c]
mov dword [eax + 4], edx
mov ecx, dword [0x67c6a0]
mov dword [eax + 8], ecx
mov dx, word [0x67c6a4]
mov word [eax + 0xc], dx
mov cl, byte [0x67c6a6]
mov byte [eax + 0xe], cl
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x414777
Function at 0x414880
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x643f56
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov edi, dword [esp + 0x290]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], ax
mov dword [esp + 0x288], ebx
push ebx
push edi
push 0x67c6f0
lea ecx, [esp + 0x2c]
call fcn.004021a0
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4148f6
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414920
mov dword [esp + 0x288], eax
lea ecx, [esp + 0x20]
call fcn.00401210
or eax, esi
jmp 0x414a10
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x2c]
push edx
push esi
call ebp
lea eax, [esp + 0x2c]
push eax
push esi
call ebp
test eax, eax
je 0x4149d5
mov edi, edi
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], cx
mov byte [esp + 0x288], 1
push ebx
lea edx, [esp + 0x5c]
push edx
push edi
push 0x678de0
lea ecx, [esp + 0x24]
call fcn.00402310
test byte [esp + 0x2c], 0x10
mov eax, dword [esp + 0x14]
jne 0x414988
cmp eax, ebx
jne 0x41497f
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4149b5
cmp eax, ebx
jne 0x414990
lea eax, [esp + 0x18]
push ebx
push eax
push 0x67c6ec
lea ecx, [esp + 0x20]
call fcn.004021a0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4149ac
lea eax, [esp + 0x18]
push eax
call fcn.00414880
add esp, 4
mov byte [esp + 0x288], bl
lea ecx, [esp + 0x14]
call fcn.00401210
lea eax, [esp + 0x2c]
push eax
push esi
call ebp
test eax, eax
jne 0x414940
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x75dc38]
cmp eax, ebx
jne 0x4149ea
mov eax, 0x75dc3c
push eax
call fcn.00623933
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [esp + 0x288], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401210
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00620b8d
add esp, 0x278
ret

Function at 0x414a40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [0x75dc58]
test eax, eax
jne 0x414a62
mov eax, 0x75dc5c
push str.IDMGCExt.crx
push eax
lea eax, [esp + 8]
push 0x67c1a4
push eax
call fcn.0040fd00
add esp, 0x10
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414abf
mov eax, dword [0x75dc58]
test eax, eax
jne 0x414a97
mov eax, 0x75dc5c
push 0x67c6f4
push eax
lea edx, [esp + 0x210]
push 0x67c1a4
push edx
call fcn.0040fd00
lea eax, [esp + 0x218]
push eax
call fcn.00414880
add esp, 0x14
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00620b8d
add esp, 0x414
ret
Function at 0x415760
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6440eb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor eax, eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004156b0
test eax, eax
je 0x415822
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4157d5
lea eax, [ebp - 0x28]
push ebx
push str.NPIDMan1.dll
push eax
push 0x678de0
lea ecx, [ebp - 0x20]
call fcn.00402310
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4157f3
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
test eax, eax
jne 0x41584d
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x41580a
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41584d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00401210
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x415857
lea eax, [ebp - 0x28]
push ebx
push str.NPIDMan2.dll
push eax
push 0x678de0
lea ecx, [ebp - 0x20]
call fcn.00402310
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x415875
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x415892
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x415886
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x415816
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov eax, 1
jmp 0x41582f
Function at 0x415dd0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x40], eax
mov al, 2
mov cl, 0xc
push ebx
mov bl, 0x76
mov dl, 0x4b
mov byte [esp + 0xd], cl
mov byte [esp + 0x1d], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x33], cl
mov cl, 0x49
mov byte [esp + 0xf], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], al
mov byte [esp + 0x20], al
mov byte [esp + 0x21], bl
mov bl, 0x47
mov byte [esp + 0x2d], al
mov byte [esp + 0x36], al
mov byte [esp + 0x3b], al
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x50]
mov byte [esp + 0x3d], cl
mov byte [esp + 0x43], cl
mov byte [esp + 8], 0x6f
mov byte [esp + 9], 0x4d
mov byte [esp + 0xa], 0x58
mov byte [esp + 0xb], dl
mov byte [esp + 0xc], 0x4e
mov byte [esp + 0xd], 0x4e
mov byte [esp + 0xe], 0x43
mov byte [esp + 0xf], 0xd
mov byte [esp + 0x10], 0x17
mov byte [esp + 0x12], 0x12
mov byte [esp + 0x14], 0xa
mov byte [esp + 0x15], 0x75
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x4c
mov byte [esp + 0x18], 0x46
mov byte [esp + 0x19], 0x4d
mov byte [esp + 0x1a], 0x55
mov byte [esp + 0x1b], 0x51
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x20], 0x14
mov byte [esp + 0x22], 0x13
mov byte [esp + 0x23], 0x19
mov byte [esp + 0x26], 0x50
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x4c
mov byte [esp + 0x2b], 0x56
mov byte [esp + 0x2c], 0xd
mov byte [esp + 0x2d], 0x15
mov byte [esp + 0x2f], 0x12
mov byte [esp + 0x30], 0x19
mov byte [esp + 0x32], 0x50
mov byte [esp + 0x33], 0x54
mov byte [esp + 0x34], 0x18
mov byte [esp + 0x35], 0x13
mov byte [esp + 0x36], 0x13
mov byte [esp + 0x38], 0x12
mov byte [esp + 0x39], 0xb
mov byte [esp + 0x3b], 0x4e
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x41
mov byte [esp + 0x44], 0x4d
mov byte [esp + 0x45], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415f17
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x415f30
xor byte [esp + ecx + 8], 0x22
inc ecx
cmp ecx, eax
jl 0x415f26
lea eax, [esp + 8]
push eax
push 0x678ea8
push esi
call fcn.00402f60
mov ecx, dword [esp + 0x54]
add esp, 0xc
pop esi
pop ebx
xor ecx, esp
call fcn.00620b8d
add esp, 0x44
ret