joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418937
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041caa2
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41896e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041898f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41f458
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41f49d
call fcn.0041caa2
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f49d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41f4b9
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00491555
mov ebx, eax
test edi, edi
je 0x41f4b7
test esi, esi
je 0x41f4b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4fb34f
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0052d97a
call fcn.0041caf6
cmp dword [eax + 0x14], 0
jne 0x4fb36a
mov ecx, esi
pop esi
jmp fcn.004fa755
pop esi
ret

Function at 0x4fb470
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041cdde
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4fb4ac
call fcn.004fb68f
mov dword [esi + 0xc], 1
jmp 0x4fb4b1
call fcn.004fb68f
cmp dword [esi], 0
je 0x4fb4fa
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4fb4d4
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040957b
jmp 0x4fb4e5
push 0xff
mov ecx, esi
call fcn.004023e0
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00409a02
jmp 0x4fb51e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4fb51e
push dword [esi]
push dword [ebp - 4]
call fcn.00425ef1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4fb5e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004fb68f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4fb62c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040957b
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00409a02
jmp 0x4fb637
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00425ef1
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x52b737
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0051560f
call fcn.0041caf6
cmp dword [eax + 0x14], 0
jne 0x52b752
mov ecx, esi
pop esi
jmp fcn.0052b020
pop esi
ret
Function at 0x544d90
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b0050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00539b1a
mov dword [ebp - 0x14], eax
cmp dword [0x5bbd14], esi
jne 0x544e83
push 0x800
push esi
push 0x588bc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x544e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x544f63
push esi
push esi
push 0x588bc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x544f63
push 0x588bd8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x544f63
push eax
call ebx
push 0x588be4
push edi
mov dword [0x5bbd14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x588bf4
push edi
mov dword [0x5bbd18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5bbd1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bbd24], eax
test eax, eax
je 0x544e80
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bbd20], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x544ea8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x544e9b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x544ebd
push 4
pop eax
jmp 0x544f65
cmp dword [ebp - 0x14], esi
je 0x544ebd
push dword [0x5bbd14]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x544ea2
mov eax, dword [0x5bbd20]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x544f1b
cmp dword [0x5bbd24], edi
je 0x544f1b
push eax
call ebx
push dword [0x5bbd24]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x544f1b
test eax, eax
je 0x544f1b
call ecx
test eax, eax
je 0x544f10
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x544f10
test byte [ebp - 8], 1
jne 0x544f1b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x544f4b
mov eax, dword [0x5bbd18]
cmp eax, edi
je 0x544f48
push eax
call ebx
test eax, eax
je 0x544f48
call eax
mov esi, eax
test esi, esi
je 0x544f48
mov eax, dword [0x5bbd1c]
cmp eax, edi
je 0x544f48
push eax
call ebx
test eax, eax
je 0x544f48
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5bbd14]
call ebx
test eax, eax
je 0x544f63
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x544f65
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531c35
mov esp, ebp
pop ebp
ret
Function at 0x417a0d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
inc ecx
push ebp
inc ecx
push esp
push ebp
push edi
push esi
push ebx
dec eax
sub esp, 0x38
mov eax, 0x20
dec eax
lea ebp, [0xcc58]
dec eax
lea edi, [0xc9b9]
dec ecx
mov esp, ecx
mov word [esp + 0x20], ax
dec eax
lea esi, [0xc9ab]
call fcn.0042153d
dec eax
mov edx, dword [0x131f6]
dec eax
lea ecx, [eax*8 + 8]
dec eax
lea ebx, [0xc99d]
call fcn.004198cd
dec esp
lea ebx, [0xc98d]
inc ebp
xor ecx, ecx
inc ebp
xor edx, edx
nop dword [eax + eax]
inc ebp
movzx ebp, byte [esp]
dec ebp
lea eax, [esp + 1]
inc ebp
test ch, ch
je 0x417b03
inc ecx
cmp ch, 0x87
je 0x417c1d
jg 0x417b2d
inc ecx
cmp ch, 0x83
je 0x417bf1
jg 0x417b91
inc ecx
cmp ch, 0x81
je 0x417c0d
inc ecx
cmp ch, 0x82
jne 0x417bad
inc ebp
movsx edx, byte [esp + 1]
dec ebp
lea eax, [esp + 2]
mov edx, 0x24
inc esp
mov ecx, edx
and ecx, 0xf
cmp cl, 0xa
dec esp
mov ecx, ebx
dec eax
cmovne ecx, ebx
dec eax
add ecx, 1
dec ebp
mov esp, eax
nop
dec eax
add eax, 1
dec eax
add ecx, 1
mov byte [eax - 1], dl
movzx edx, byte [ecx - 1]
test dl, dl
jne 0x417add
inc ebp
movzx ebp, byte [esp]
dec ebp
lea eax, [esp + 1]
inc ebp
test ch, ch
jne 0x417a80
inc ecx
and ecx, 1
je 0x417b10
mov byte [eax], 0x22
dec eax
add eax, 1
mov byte [eax], 0
dec eax
mov dword [0x13123], eax
dec eax
add esp, 0x38
pop ebx
pop esi
pop edi
pop ebp
inc ecx
pop esp
inc ecx
pop ebp
ret
inc ecx
cmp ch, 0x24
je 0x417c38
jle 0x417bbd
inc ecx
cmp ch, 0x3d
jne 0x417c51
inc ebp
test edx, edx
je 0x417c6c
inc esp
mov edx, edx
inc ebx
lea ecx, [ecx + ecx]
and edx, 0xf
cmp edx, 1
dec eax
arpl dx, dx
inc esp
cmovne ecx, ecx
inc ecx
test dl, 0x10
dec eax
lea ecx, [ebp + edx*4]
je 0x417c74
mov byte [eax], 0x3a
movzx edx, byte [ecx]
dec eax
add eax, 1
dec eax
add ecx, 1
test dl, dl
dec ebp
mov esp, eax
jne 0x417add
jmp 0x417a6d
inc ecx
cmp ch, 0x84
je 0x417bdd
inc ecx
cmp ch, 0x86
mov edx, 0x24
dec eax
lea ecx, [0xc841]
je 0x417ad4
inc esp
mov byte [eax], ch
dec ebp
mov esp, eax
dec eax
add eax, 1
jmp 0x417a6d
inc ecx
cmp ch, 0x88
jne 0x417c2e
inc ecx
xor ecx, 1
dec ebp
mov esp, eax
inc ecx
mov ebp, 0x22
inc esp
mov byte [eax], ch
dec eax
add eax, 1
jmp 0x417a6d
dec eax
lea ecx, [0xc813]
dec ebp
mov esp, eax
mov edx, 0x24
jmp 0x417add
inc ecx
test cl, 1
dec eax
mov ecx, esi
dec eax
cmovne ecx, edi
inc ecx
sar ecx, 1
inc ebp
xor edx, edx
movzx edx, byte [ecx]
jmp 0x417b7d
inc ebp
movzx ebp, byte [esp + 1]
dec ecx
add esp, 2
jmp 0x417bd0
mov edx, 0x29
dec eax
lea ecx, [0xc7c3]
jmp 0x417ad4
inc ecx
cmp ch, 0x22
jne 0x417bad
mov byte [eax], 0x5c
inc esp
mov byte [esp + 0x20], ch
inc esp
mov edx, ebp
dec eax
add eax, 1
dec eax
lea ecx, [esp + 0x20]
jmp 0x417ad4
inc ecx
cmp ch, 0x5c
je 0x417c38
inc ecx
cmp ch, 0x27
je 0x417c38
inc esp
mov byte [eax], ch
dec ebp
mov esp, eax
dec eax
add eax, 1
jmp 0x417a6d
dec ebp
mov esp, eax
jmp 0x417bd0
movzx edx, byte [ecx]
jmp 0x417b7d
Function at 0x4010f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4749d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push eax
push 0x4af374
mov dword [0x4af378], esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.gdiplus.dll_GdiplusStartup
push ebx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xcf0000
push str.nProtect_Online_Security_V1.0_UserActor
push str.nosuseractordlg
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, ebx
mov dword [0x4af3a0], eax
jne 0x40117e
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret
push ebx
mov esi, 7
push 0x48584c
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00401540
mov dword [esp + 0x60], ebx
push ebx
push 0x48584c
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00401540
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 1
call fcn.00409f80
test eax, eax
setne byte [esp + 0xf]
cmp dword [esp + 0x38], 8
jb 0x4011ed
mov edx, dword [esp + 0x24]
push edx
call fcn.00452ad1
add esp, 4
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x54], 8
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x401216
mov eax, dword [esp + 0x40]
push eax
call fcn.00452ad1
add esp, 4
cmp byte [esp + 0xf], bl
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jne 0x40116a
call fcn.00401630
mov esi, eax
call fcn.004020e0
test eax, eax
jne 0x40116a
mov ecx, dword [0x4af3a0]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4af3a0]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret
Function at 0x4026c0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x47466c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4aaeb0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
cmp byte [esi + 4], al
mov edi, edx
jne 0x402727
push 0x485de0
xor ecx, ecx
mov ebx, str.._src_npUserActor.cpp_194__:__npUserActor::reqToScan_
call fcn.0041aaa0
add esp, 4
mov eax, 1
jmp 0x4028d3
test edi, edi
je 0x4028d3
cmp dword [esi + 0x18], 0
je 0x4028d3
push 0x206
lea eax, [esp + 0x5a]
push 0
push eax
mov word [esp + 0x60], 0
call fcn.0045a220
add esp, 0xc
push 0x104
lea ecx, [esp + 0x58]
push ecx
lea ebx, [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [esp + 0x54]
push edx
push ebx
push str.Filepath:__s_Scanpath_s
xor ecx, ecx
mov ebx, str.._src_npUserActor.cpp_211__:__npUserActor::reqToScan_
call fcn.0041aaa0
mov eax, dword [esi + 0x18]
add esp, 0xc
lea ecx, [edi + 0x1458]
push eax
call fcn.0040acc0
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x4027e5
call fcn.004035a0
mov eax, dword [eax + 8]
push eax
mov ecx, ebp
lea esi, [esp + 0x20]
call fcn.00412d30
mov dword [esp + 0x268], ebx
cmp dword [eax + 0x18], 8
jb 0x4027bf
mov eax, dword [eax + 4]
jmp 0x4027c2
add eax, 4
mov ecx, 2
mov ebx, str.._src_npUserActor.cpp_216__:__npUserActor::reqToScan_
push eax
call fcn.0041aaa0
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00401510
mov eax, ebp
jmp 0x4028d3
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call fcn.004014d0
lea edx, [esp + 0x1c]
mov dword [esp + 0x268], 1
mov ecx, dword [esi + 0x18]
push edx
call fcn.0040bb60
lea ecx, [esp + 0x1c]
mov ebp, eax
mov dword [esp + 0x268], 0xffffffff
call fcn.00401510
cmp ebp, ebx
je 0x402865
call fcn.004035a0
mov eax, dword [eax + 8]
push eax
mov ecx, ebp
lea esi, [esp + 0x20]
call fcn.00412d30
mov ecx, 2
mov dword [esp + 0x268], ecx
cmp dword [eax + 0x18], 8
jb 0x402858
mov eax, dword [eax + 4]
mov ebx, str.._src_npUserActor.cpp_223__:__npUserActor::reqToScan_
jmp 0x4027cc
add eax, 4
mov ebx, str.._src_npUserActor.cpp_223__:__npUserActor::reqToScan_
jmp 0x4027cc
mov esi, dword [esi + 0x18]
lea eax, [esp + 0x18]
lea ecx, [edi + 0x20c]
push eax
mov edx, esi
mov dword [esp + 0x1c], ebx
call fcn.0040bde0
mov edi, eax
cmp edi, ebx
je 0x4028d1
call fcn.004035a0
mov eax, dword [eax + 8]
push eax
mov ecx, edi
lea esi, [esp + 0x3c]
call fcn.00412d30
mov dword [esp + 0x268], 3
cmp dword [eax + 0x18], 8
jb 0x4028ae
mov eax, dword [eax + 4]
jmp 0x4028b1
add eax, 4
push eax
mov ecx, 2
mov ebx, str.._src_npUserActor.cpp_231__:__npUserActor::reqToScan_
call fcn.0041aaa0
add esp, 4
lea ecx, [esp + 0x38]
call fcn.00401510
mov eax, edi
jmp 0x4028d3
xor eax, eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00452816
add esp, 0x258
ret
Function at 0x405f80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4727c3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
call fcn.00405b40
mov dword [esi + 4], eax
mov bl, 1
mov byte [eax + 0x15], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esi + 8], edi
mov dword [esp + 0x18], edi
call fcn.00405b40
mov dword [esi + 0x10], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x10]
mov dword [eax], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 8], eax
mov dword [esi + 0x14], edi
mov byte [esp + 0x18], bl
call fcn.00405b40
mov dword [esi + 0x1c], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [eax], eax
mov eax, dword [esi + 0x1c]
mov dword [eax + 8], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x20], edi
push eax
mov dword [esi + 0x28], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push edi
push esi
push 0x4066c0
push edi
push edi
call fcn.00452eaf
mov dword [esi + 0x44], eax
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x407b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4702ce
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov ecx, 7
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], ax
mov dword [esp + 0x14], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov eax, esi
mov byte [esp + 0x14], 2
call fcn.00407bc0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x40bc70
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x472550
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
test edi, edi
jne 0x40bcb2
mov eax, 0x22110302
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x40bd2d
call fcn.004035a0
mov eax, dword [eax + 8]
push eax
mov ecx, 0x2ff80107
lea esi, [esp + 0x14]
call fcn.00412d30
mov esi, 8
mov dword [esp + 0x50], 0
cmp dword [eax + 0x18], esi
jb 0x40bcec
mov eax, dword [eax + 4]
jmp 0x40bcef
add eax, 4
push edi
push eax
mov ecx, 2
mov ebx, str..._npEngine_npertd_src_npVirusFileMgr.cpp_478__:__npVirusFileMgr::npeCure_
call fcn.0041aaa0
add esp, 8
cmp dword [esp + 0x28], esi
jb 0x40bd16
mov eax, dword [esp + 0x14]
push eax
call fcn.00452ad1
add esp, 4
mov eax, 0x2ff80106
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov esi, dword [esi]
push str.NpeCure
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40bd52
push edi
push esi
call eax
add esp, 8
cmp eax, 0x22110203
jne 0x40bdc0
call fcn.004035a0
mov eax, dword [eax + 8]
push eax
mov ecx, 0x2ff80305
lea esi, [esp + 0x30]
call fcn.00412d30
mov esi, 8
mov dword [esp + 0x50], 1
cmp dword [eax + 0x18], esi
jb 0x40bd80
mov eax, dword [eax + 4]
jmp 0x40bd83
add eax, 4
push eax
mov ecx, 2
mov ebx, str..._npEngine_npertd_src_npVirusFileMgr.cpp_484__:__npVirusFileMgr::npeCure_
call fcn.0041aaa0
add esp, 4
cmp dword [esp + 0x44], esi
jb 0x40bda9
mov edx, dword [esp + 0x30]
push edx
call fcn.00452ad1
add esp, 4
mov eax, 0x2ff80305
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x413cd0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x472420
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
call fcn.00418de0
cmp dword [esi + 0x18], 8
jb 0x413d12
mov eax, dword [esi + 4]
jmp 0x413d15
lea eax, [esi + 4]
push eax
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00413f50
cmp dword [edi], esi
jne 0x413dca
push 0x33
push str.._src_npMutex.cpp_34__:__npz::cmn::npMutex::create_
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], esi
mov word [esp + 0x40], si
call fcn.00401540
mov dword [esp + 0x58], esi
mov dword [esp + 0x10], esi
push 0xffffffffffffffff
lea esi, [esp + 0x14]
mov byte [esp + 0x5c], 1
call fcn.00417410
mov ebx, dword [esp + 0x3c]
add esp, 4
cmp dword [esp + 0x4c], 8
jae 0x413d83
lea ebx, [esp + 0x38]
mov esi, dword [esp + 0x10]
push esi
mov ecx, 2
call fcn.0041aaa0
add esp, 4
push esi
call fcn.0045332d
add esp, 4
cmp dword [esp + 0x4c], 8
jb 0x413db2
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00452ad1
add esp, 4
mov eax, 0x22110301
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x413de2
mov edx, dword [edi]
push edx
call fcn.00418bf0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x4c
ret

Function at 0x415960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470098
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040eab0
test edi, edi
mov dword [esp + 0x18], 0
je 0x4159a4
add edi, 0x28
jmp 0x4159a6
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4159be
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x415a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470c38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404060
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x415a7a
add edi, 0x28
jmp 0x415a7c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x415a94
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x415b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470c38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aaeb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404060
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x415b6a
add edi, 0x28
jmp 0x415b6c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x415b84
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4