Function at 0x666fa0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bf190
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x8d3fc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea edi, [esi + 0x68]
mov dword [esi], vtable.diagnostic_events::JMT.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0
push 0x858903
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov word [esi + 0x50], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
call fcn.00439710
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x190], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x198], 0
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x1a4], 0
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1d0], 0
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1e0], 0
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 0
mov dword [esi + 0x204], 0
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 0
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0
mov byte [esi + 0x220], 0
mov dword [esi + 0x228], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x230], 0
mov dword [esi + 0x234], 0
mov dword [esi + 0x238], 0
mov dword [esi + 0x23c], 0
mov dword [esi + 0x240], 0
mov dword [esi + 0x244], 0
mov dword [esi + 0x248], 0
mov dword [esi + 0x24c], 0
mov dword [esi + 0x250], 0
mov dword [esi + 0x254], 0
mov dword [esi + 0x258], 0
mov dword [esi + 0x25c], 0
mov dword [esi + 0x260], 0
mov dword [esi + 0x264], 0
mov dword [esi + 0x268], 0
mov dword [esi + 0x26c], 0
mov dword [esi + 0x270], 0
mov dword [esi + 0x274], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0
mov dword [esi + 0x284], 0
mov dword [esi + 0x288], 0
mov dword [esi + 0x28c], 0
mov dword [esi + 0x290], 0
mov dword [esi + 0x294], 0
mov dword [esi + 0x298], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x29c], 0
mov dword [esi + 0x2a0], 0
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x2a4], 0
mov dword [esi + 0x2a8], 0
mov dword [esi + 0x2ac], 0
mov dword [esi + 0x2b0], 0
mov dword [esi + 0x2b4], 0
mov dword [esi + 0x2b8], 0
mov dword [esi + 0x2bc], 0
mov dword [esi + 0x2c0], 0
mov dword [esi + 0x2c4], 0
mov dword [esi + 0x2c8], 0
mov dword [esi + 0x2cc], 0
mov dword [esi + 0x2d0], 0
mov dword [esi + 0x2d4], 0
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
lea eax, [ebp + 0x18]
mov dword [esi + 0x5c], ecx
mov ecx, dword [ebp + 0x14]
mov word [esi + 4], 0x101
mov dword [esi + 0x64], ecx
cmp edi, eax
je 0x6676b0
cmp dword [ebp + 0x2c], 0x10
mov ecx, edi
push dword [ebp + 0x28]
cmovae eax, dword [ebp + 0x18]
push eax
call fcn.00439710
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
mov dword [esi + 0x80], eax
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x84], ecx
mov ecx, dword [ebp + 0x3c]
mov dword [esi + 0x88], eax
mov eax, dword [ebp + 0x40]
mov dword [esi + 0x8c], ecx
mov ecx, dword [ebp + 0x44]
mov dword [esi + 0x90], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x94], ecx
mov ecx, dword [ebp + 0x4c]
mov dword [esi + 0x98], eax
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x9c], ecx
mov ecx, dword [ebp + 0x54]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp + 0x58]
mov dword [esi + 0xa4], ecx
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 0xa8], eax
mov eax, dword [ebp + 0x60]
mov dword [esi + 0xac], ecx
mov ecx, dword [ebp + 0x64]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp + 0x68]
mov dword [esi + 0xb4], ecx
mov ecx, dword [ebp + 0x6c]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp + 0x70]
mov dword [esi + 0xbc], ecx
mov ecx, dword [ebp + 0x74]
mov dword [esi + 0xc0], eax
mov eax, dword [ebp + 0x78]
mov dword [esi + 0xc4], ecx
mov ecx, dword [ebp + 0x7c]
mov dword [esi + 0xc8], eax
mov eax, dword [ebp + 0x80]
mov dword [esi + 0xcc], ecx
mov ecx, dword [ebp + 0x84]
mov dword [esi + 0xd0], eax
mov eax, dword [ebp + 0x88]
mov dword [esi + 0xd4], ecx
mov ecx, dword [ebp + 0x8c]
mov dword [esi + 0xd8], eax
mov eax, dword [ebp + 0x90]
mov dword [esi + 0xdc], ecx
mov ecx, dword [ebp + 0x94]
mov dword [esi + 0xe0], eax
mov eax, dword [ebp + 0x98]
mov dword [esi + 0xe4], ecx
mov ecx, dword [ebp + 0x9c]
mov dword [esi + 0xe8], eax
mov eax, dword [ebp + 0xa0]
mov dword [esi + 0xec], ecx
mov ecx, dword [ebp + 0xa4]
mov dword [esi + 0xf0], eax
mov eax, dword [ebp + 0xa8]
mov dword [esi + 0xf4], ecx
mov ecx, dword [ebp + 0xac]
mov dword [esi + 6], 0x1010101
mov dword [esi + 0xa], 0x1010101
mov dword [esi + 0xe], 0x1010101
mov dword [esi + 0x12], 0x1010101
mov dword [esi + 0xf8], eax
mov eax, dword [ebp + 0xb0]
mov dword [esi + 0xfc], ecx
mov ecx, dword [ebp + 0xb4]
mov dword [esi + 0x16], 0x1010101
mov dword [esi + 0x100], eax
mov eax, dword [ebp + 0xb8]
mov dword [esi + 0x104], ecx
mov ecx, dword [ebp + 0xbc]
mov dword [esi + 0x108], eax
mov eax, dword [ebp + 0xc0]
mov dword [esi + 0x10c], ecx
mov ecx, dword [ebp + 0xc4]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov eax, dword [ebp + 0xc8]
mov dword [esi + 0x118], eax
mov ecx, dword [ebp + 0xcc]
mov dword [esi + 0x11c], ecx
mov dword [esi + 0x1a], 0x1010101
mov eax, dword [ebp + 0xd0]
mov dword [esi + 0x120], eax
mov ecx, dword [ebp + 0xd4]
mov dword [esi + 0x124], ecx
mov eax, dword [ebp + 0xd8]
mov dword [esi + 0x128], eax
mov ecx, dword [ebp + 0xdc]
mov dword [esi + 0x12c], ecx
mov eax, dword [ebp + 0xe0]
mov dword [esi + 0x130], eax
mov ecx, dword [ebp + 0xe4]
mov dword [esi + 0x134], ecx
mov eax, dword [ebp + 0xe8]
mov dword [esi + 0x138], eax
mov ecx, dword [ebp + 0xec]
mov dword [esi + 0x13c], ecx
mov eax, dword [ebp + 0xf0]
mov ecx, dword [ebp + 0xf4]
mov dword [esi + 0x1e], 0x1010101
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], ecx
mov eax, dword [ebp + 0xf8]
mov dword [esi + 0x148], eax
mov ecx, dword [ebp + 0xfc]
mov dword [esi + 0x14c], ecx
mov eax, dword [ebp + 0x100]
mov dword [esi + 0x150], eax
mov ecx, dword [ebp + 0x104]
mov dword [esi + 0x154], ecx
mov eax, dword [ebp + 0x108]
mov ecx, dword [ebp + 0x10c]
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], ecx
mov eax, dword [ebp + 0x110]
mov ecx, dword [ebp + 0x114]
mov dword [esi + 0x22], 0x1010101
mov dword [esi + 0x160], eax
mov eax, dword [ebp + 0x118]
mov dword [esi + 0x164], ecx
mov ecx, dword [ebp + 0x11c]
mov dword [esi + 0x168], eax
mov eax, dword [ebp + 0x120]
mov dword [esi + 0x16c], ecx
mov ecx, dword [ebp + 0x124]
mov dword [esi + 0x170], eax
mov eax, dword [ebp + 0x128]
mov dword [esi + 0x174], ecx
mov ecx, dword [ebp + 0x12c]
mov dword [esi + 0x178], eax
mov eax, dword [ebp + 0x130]
mov dword [esi + 0x17c], ecx
mov ecx, dword [ebp + 0x134]
mov dword [esi + 0x26], 0x1010101
mov dword [esi + 0x180], eax
mov eax, dword [ebp + 0x138]
mov dword [esi + 0x184], ecx
mov ecx, dword [ebp + 0x13c]
mov dword [esi + 0x188], eax
mov eax, dword [ebp + 0x140]
mov dword [esi + 0x18c], ecx
mov ecx, dword [ebp + 0x144]
mov dword [esi + 0x190], eax
mov eax, dword [ebp + 0x148]
mov dword [esi + 0x194], ecx
mov ecx, dword [ebp + 0x14c]
mov dword [esi + 0x198], eax
mov eax, dword [ebp + 0x150]
mov dword [esi + 0x19c], ecx
mov ecx, dword [ebp + 0x154]
mov dword [esi + 0x2a], 0x1010101
mov dword [esi + 0x1a0], eax
mov eax, dword [ebp + 0x158]
mov dword [esi + 0x1a4], ecx
mov ecx, dword [ebp + 0x15c]
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1ac], ecx
mov eax, dword [ebp + 0x160]
mov dword [esi + 0x1b0], eax
mov ecx, dword [ebp + 0x164]
mov dword [esi + 0x1b4], ecx
mov eax, dword [ebp + 0x168]
mov dword [esi + 0x1b8], eax
mov ecx, dword [ebp + 0x16c]
mov dword [esi + 0x1bc], ecx
mov eax, dword [ebp + 0x170]
mov dword [esi + 0x2e], 0x1010101
mov dword [esi + 0x1c0], eax
mov ecx, dword [ebp + 0x174]
mov dword [esi + 0x1c4], ecx
mov eax, dword [ebp + 0x178]
mov dword [esi + 0x1c8], eax
mov ecx, dword [ebp + 0x17c]
mov dword [esi + 0x1cc], ecx
mov eax, dword [ebp + 0x180]
mov dword [esi + 0x1d0], eax
mov ecx, dword [ebp + 0x184]
mov dword [esi + 0x1d4], ecx
mov eax, dword [ebp + 0x188]
mov dword [esi + 0x1d8], eax
mov ecx, dword [ebp + 0x18c]
mov dword [esi + 0x1dc], ecx
mov eax, dword [ebp + 0x190]
mov ecx, dword [ebp + 0x194]
mov dword [esi + 0x32], 0x1010101
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], ecx
mov eax, dword [ebp + 0x198]
mov dword [esi + 0x1e8], eax
mov ecx, dword [ebp + 0x19c]
mov dword [esi + 0x1ec], ecx
mov eax, dword [ebp + 0x1a0]
mov ecx, dword [ebp + 0x1a4]
mov dword [esi + 0x1f0], eax
mov eax, dword [ebp + 0x1a8]
mov dword [esi + 0x1f4], ecx
mov ecx, dword [ebp + 0x1ac]
mov dword [esi + 0x1f8], eax
mov eax, dword [ebp + 0x1b0]
mov dword [esi + 0x1fc], ecx
mov ecx, dword [ebp + 0x1b4]
mov dword [esi + 0x36], 0x1010101
mov dword [esi + 0x200], eax
mov eax, dword [ebp + 0x1b8]
mov dword [esi + 0x204], ecx
mov ecx, dword [ebp + 0x1bc]
mov dword [esi + 0x208], eax
mov eax, dword [ebp + 0x1c0]
mov dword [esi + 0x20c], ecx
mov ecx, dword [ebp + 0x1c4]
mov dword [esi + 0x210], eax
mov eax, dword [ebp + 0x1c8]
mov dword [esi + 0x214], ecx
mov ecx, dword [ebp + 0x1cc]
mov dword [esi + 0x218], eax
mov al, byte [ebp + 0x1d0]
mov dword [esi + 0x21c], ecx
mov ecx, dword [ebp + 0x1d8]
mov dword [esi + 0x3a], 0x1010101
mov byte [esi + 0x220], al
mov eax, dword [ebp + 0x1d4]
mov dword [esi + 0x228], eax
mov eax, dword [ebp + 0x1dc]
mov dword [esi + 0x22c], ecx
mov ecx, dword [ebp + 0x1e0]
mov dword [esi + 0x230], eax
mov eax, dword [ebp + 0x1e4]
mov dword [esi + 0x234], ecx
mov ecx, dword [ebp + 0x1e8]
mov dword [esi + 0x238], eax
mov eax, dword [ebp + 0x1ec]
mov dword [esi + 0x23c], ecx
mov ecx, dword [ebp + 0x1f0]
mov dword [esi + 0x3e], 0x1010101
mov dword [esi + 0x240], eax
mov eax, dword [ebp + 0x1f4]
mov dword [esi + 0x244], ecx
mov ecx, dword [ebp + 0x1f8]
mov dword [esi + 0x248], eax
mov dword [esi + 0x24c], ecx
mov eax, dword [ebp + 0x1fc]
mov dword [esi + 0x250], eax
mov ecx, dword [ebp + 0x200]
mov dword [esi + 0x254], ecx
mov eax, dword [ebp + 0x204]
mov dword [esi + 0x258], eax
mov ecx, dword [ebp + 0x208]
mov dword [esi + 0x25c], ecx
mov eax, dword [ebp + 0x20c]
mov ecx, dword [ebp + 0x210]
mov dword [esi + 0x42], 0x1010101
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], ecx
mov eax, dword [ebp + 0x214]
mov dword [esi + 0x268], eax
mov ecx, dword [ebp + 0x218]
mov dword [esi + 0x26c], ecx
mov eax, dword [ebp + 0x21c]
mov dword [esi + 0x270], eax
mov ecx, dword [ebp + 0x220]
mov dword [esi + 0x274], ecx
mov eax, dword [ebp + 0x224]
mov dword [esi + 0x278], eax
mov ecx, dword [ebp + 0x228]
mov dword [esi + 0x27c], ecx
mov eax, dword [ebp + 0x22c]
mov ecx, dword [ebp + 0x230]
mov dword [esi + 0x46], 0x1010101
mov dword [esi + 0x280], eax
mov dword [esi + 0x284], ecx
mov eax, dword [ebp + 0x234]
mov ecx, dword [ebp + 0x238]
mov dword [esi + 0x288], eax
mov eax, dword [ebp + 0x23c]
mov dword [esi + 0x28c], ecx
mov ecx, dword [ebp + 0x240]
mov dword [esi + 0x290], eax
mov eax, dword [ebp + 0x244]
mov dword [esi + 0x294], ecx
mov ecx, dword [ebp + 0x248]
mov dword [esi + 0x298], eax
mov eax, dword [ebp + 0x24c]
mov dword [esi + 0x29c], ecx
mov ecx, dword [ebp + 0x250]
mov dword [esi + 0x4a], 0x1010101
mov dword [esi + 0x2a0], eax
mov eax, dword [ebp + 0x254]
mov dword [esi + 0x2a4], ecx
mov ecx, dword [ebp + 0x258]
mov dword [esi + 0x2a8], eax
mov eax, dword [ebp + 0x25c]
mov dword [esi + 0x2ac], ecx
mov ecx, dword [ebp + 0x260]
mov dword [esi + 0x2b0], eax
mov eax, dword [ebp + 0x264]
mov dword [esi + 0x2b4], ecx
mov ecx, dword [ebp + 0x268]
mov edx, dword [ebp + 0x2c]
mov dword [esi + 0x2b8], eax
mov eax, dword [ebp + 0x26c]
mov dword [esi + 0x2bc], ecx
mov ecx, dword [ebp + 0x270]
mov dword [esi + 0x4e], 0x1010101
mov dword [esi + 0x2c0], eax
mov eax, dword [ebp + 0x274]
mov dword [esi + 0x2c4], ecx
mov ecx, dword [ebp + 0x278]
mov dword [esi + 0x2c8], eax
mov eax, dword [ebp + 0x27c]
mov dword [esi + 0x2cc], ecx
mov ecx, dword [ebp + 0x280]
mov dword [esi + 0x2d0], eax
mov dword [esi + 0x2d4], ecx
xor ecx, ecx
cmp dword [esi + 0x78], ecx
movzx eax, byte [esi + 6]
cmove eax, ecx
cmp edx, 0x10
mov byte [esi + 6], al
jb 0x667e34
mov ecx, dword [ebp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x667e2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x667e49
push edx
push ecx
call fcn.007009b8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x27c
call fcn.0071c489
int3