Function at 0x497100
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x230
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x23c]
push ebp
mov ebp, dword [esp + 0x244]
push edi
mov edi, dword [esp + 0x240]
push 0x520e28
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
test edi, edi
jne 0x49717a
push 0x520e04
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004b6da3
add esp, 0x230
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x548ed8], eax
test eax, eax
jne 0x497191
push 0x520dd8
jmp 0x49714d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NpeSetEnginePath
push eax
call esi
mov dword [0x548ab4], eax
mov eax, dword [0x548ed8]
push str.NpeSetBDCorePluginPath
push eax
call esi
mov ecx, dword [0x548ed8]
push str.NpeUnLoad
push ecx
mov dword [0x53d1a4], eax
call esi
mov edx, dword [0x548ed8]
push str.NpeLoad
push edx
mov dword [0x53d1a0], eax
call esi
mov dword [0x53d014], eax
mov eax, dword [0x548ed8]
push str.NpeDeleteInstance
push eax
call esi
mov ecx, dword [0x548ed8]
push str.NpeNewInstance
push ecx
mov dword [0x53d008], eax
call esi
mov edx, dword [0x548ed8]
push str.NpeSetBWTCallBack
push edx
mov dword [0x548ab0], eax
call esi
mov dword [0x53d064], eax
mov eax, dword [0x548ed8]
push str.NPAVEnableBWT
push eax
call esi
mov ecx, dword [0x548ed8]
push str.NpeSetOption
push ecx
mov dword [0x53d010], eax
call esi
mov edx, dword [0x548ed8]
push str.NpeSetOptionEx
push edx
mov dword [0x53d01c], eax
call esi
mov dword [0x53d18c], eax
mov eax, dword [0x548ed8]
push str.NpeScan
push eax
call esi
mov ecx, dword [0x548ed8]
push str.NpeCure
push ecx
mov dword [0x53d1a8], eax
call esi
mov edx, dword [0x548ed8]
push str.NpeSSmartScan
push edx
mov dword [0x53d018], eax
call esi
mov dword [0x53d00c], eax
mov eax, dword [0x548ed8]
push str.NpeSQuickScan
push eax
call esi
mov ecx, dword [0x548ed8]
push str.NpeStopSSmartScan
push ecx
mov dword [0x548ab8], eax
call esi
mov edx, dword [0x548ed8]
push str.NpeGetScannedCount
push edx
mov dword [0x53d06c], eax
call esi
mov dword [0x53d1ac], eax
mov eax, dword [0x548ed8]
push str.NpeGetVer
push eax
call esi
cmp dword [0x548ab4], 0
mov dword [0x548abc], eax
je 0x497589
cmp dword [0x53d1a4], 0
je 0x497589
cmp dword [0x53d1a0], 0
je 0x497589
cmp dword [0x53d014], 0
je 0x497589
cmp dword [0x53d008], 0
je 0x497589
cmp dword [0x548ab0], 0
je 0x497589
cmp dword [0x53d01c], 0
je 0x497589
cmp dword [0x53d1a8], 0
je 0x497589
cmp dword [0x53d018], 0
je 0x497589
cmp dword [0x53d00c], 0
je 0x497589
cmp dword [0x548ab8], 0
je 0x497589
cmp dword [0x53d06c], 0
je 0x497589
cmp dword [0x53d1ac], 0
je 0x497589
test eax, eax
je 0x497589
cmp byte [0x5378f0], 0
je 0x4973be
cmp dword [0x53d064], 0
je 0x4973a4
cmp dword [0x53d010], 0
je 0x4973a4
cmp dword [0x53d18c], 0
jne 0x4973be
mov eax, dword [0x548ed8]
test eax, eax
je 0x4973b4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x520ca4
jmp 0x49759e
push 0x207
lea ecx, [esp + 0x39]
push 0
push ecx
mov byte [esp + 0x40], 0
call fcn.004b6dc0
lea edx, [esp + 0x40]
add esp, 0xc
mov eax, edi
sub edx, edi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4973e0
lea edx, [esp + 0x34]
push 0x5c
push edx
call fcn.004b9510
add esp, 8
test eax, eax
je 0x497400
mov byte [eax], 0
lea eax, [esp + 0x34]
push eax
call dword [0x548ab4]
push 1
call dword [0x53d014]
mov esi, eax
add esp, 8
test esi, esi
je 0x497450
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x520c7c
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
call fcn.00496690
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4975b1
cmp byte [0x5378f0], 0
je 0x4974a7
mov eax, dword [0x5378e8]
test eax, eax
jne 0x497469
mov eax, 0xbb8
jmp 0x49746f
imul eax, eax, 0x3e8
push 0x5378f0
push eax
mov dword [0x5378e8], eax
call dword [0x53d010]
add esp, 8
test eax, eax
je 0x4974d3
push 0x5378f0
push 0x520c54
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
push ebx
call dword [0x548ab0]
add esp, 4
mov dword [0x53d068], eax
test eax, eax
jne 0x4974dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x520c40
call fcn.00404690
add esp, 4
jmp 0x4975a3
push 0x520c20
jmp 0x49759e
push ebp
push eax
call dword [0x53d064]
add esp, 8
test eax, eax
je 0x4975b1
push 0x520c00
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
mov ecx, dword [0x53d068]
add esp, 0xc
cmp dword [ecx], 0
je 0x49751a
push 0x520bdc
jmp 0x49751f
push 0x520bbc
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
xor eax, eax
add esp, 0xc
push eax
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [0x53d068]
push edx
push eax
mov dword [esp + 0x20], 0x10008
mov dword [esp + 0x24], 1
mov dword [esp + 0x34], 0x19000
call dword [0x53d18c]
add esp, 0x10
mov eax, 1
jmp 0x4975b3
mov eax, dword [0x548ed8]
test eax, eax
je 0x497599
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x520b98
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x23c]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b6da3
add esp, 0x230
ret