Function at 0x1000a540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ecx + 4], 0
mov dword [ecx], 0x102c3218
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp + 8]
call ebx
mov dword [esi + 8], eax
cmp dword [edi + 4], 0x30a2
jne 0x1000a58b
mov ecx, dword [edi + 8]
and ecx, 1
mov ebx, 8
sub ebx, ecx
jmp 0x1000a5cf
mov edx, dword [edi + 0x14]
movzx ecx, byte [edi + 0x133d]
cmp edx, 3
jl 0x1000a5bf
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x1000ac72
cmp ebx, 2
je 0x1000ac81
cmp ebx, 1
jne 0x1000a5bf
xor ebx, ebx
test ecx, ecx
setne bl
or ebx, 4
jmp 0x1000a5cf
test ecx, ecx
mov ebx, 2
cmovne ebx, ecx
cmp edx, 1
cmovne ebx, ecx
mov dword [esi + 0xc], ebx
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov ebx, dword [ecx + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp - 0x10]
call ebx
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov ebx, dword [ebp + 0x10]
add ebx, 0x508
push 0x268
push 0
mov dword [ebp - 0x14], ecx
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], ebx
push ebx
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x1000ac8b
mov eax, dword [0x1039f3ec]
test eax, eax
jne 0x1000a640
xor eax, eax
cmp byte [0x103a3088], 0
jne 0x1000a640
call fcn.10231dc0
mov byte [0x103a3088], al
mov eax, dword [0x1039f3ec]
inc eax
mov dword [0x1039f3ec], eax
push dword [ebp - 0x10]
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
push dword [ebp - 0x14]
call fcn.10265f50
add esp, 4
mov eax, dword [edi + 0x238]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x23c]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x294]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x178]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x298]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x188]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x244]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x30], eax
movzx eax, byte [edi + 0x12e1]
mov dword [esi + 0x34], eax
movzx eax, byte [edi + 0x1294]
mov dword [esi + 0x4c], eax
movzx eax, byte [edi + 0x12dc]
mov dword [esi + 0x54], eax
movzx eax, byte [edi + 0x12da]
mov dword [esi + 0x94], eax
movzx eax, byte [edi + 0x129b]
mov dword [esi + 0x38], eax
movzx eax, byte [edi + 0x129c]
mov dword [esi + 0x3c], eax
movzx eax, byte [edi + 0x129f]
mov dword [esi + 0x40], eax
movzx eax, byte [edi + 0x12db]
mov dword [esi + 0x64], eax
movzx eax, byte [edi + 0x133b]
mov dword [esi + 0x44], eax
movzx eax, byte [edi + 0x12ae]
mov dword [esi + 0x90], eax
movzx eax, byte [edi + 0x12d8]
mov dword [esi + 0x88], eax
movzx eax, byte [edi + 0x12d7]
mov dword [esi + 0x8c], eax
movzx eax, byte [edi + 0x1306]
mov dword [esi + 0x98], eax
movzx eax, byte [edi + 0x12e5]
mov dword [esi + 0x9c], eax
movzx eax, byte [edi + 0x1311]
mov dword [esi + 0xe8], eax
movzx eax, byte [edi + 0x1326]
mov dword [esi + 0xa8], eax
movzx eax, byte [edi + 0x1333]
mov dword [esi + 0xa0], eax
movzx eax, byte [edi + 0x133a]
mov dword [esi + 0xa4], eax
movzx eax, byte [edi + 0x1277]
mov dword [esi + 0xb4], eax
movzx eax, byte [edi + 0x12d9]
mov dword [esi + 0xc4], eax
movzx eax, byte [edi + 0x12d6]
mov dword [esi + 0xc8], eax
mov dword [esi + 0xf8], 1
movzx eax, byte [edi + 0x12a7]
mov dword [esi + 0x50], eax
movzx eax, byte [edi + 0x12b9]
mov dword [esi + 0x6c], eax
movzx eax, byte [edi + 0x12ba]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x330]
mov dword [esi + 0x110], eax
movzx eax, byte [edi + 0x12b7]
mov dword [esi + 0x74], eax
movzx eax, byte [edi + 0x12b8]
mov dword [esi + 0x78], eax
movzx eax, byte [edi + 0x130e]
mov dword [esi + 0xb0], eax
movzx eax, byte [edi + 0x12f6]
mov dword [esi + 0xb8], eax
movzx eax, byte [edi + 0x12f5]
mov dword [esi + 0xbc], eax
movzx eax, byte [edi + 0x12de]
mov dword [esi + 0xc0], eax
movzx eax, byte [edi + 0x12e9]
mov dword [esi + 0xd0], eax
movzx eax, byte [edi + 0x12e8]
mov dword [esi + 0xd4], eax
movzx eax, byte [edi + 0x130f]
mov dword [esi + 0x7c], eax
movzx eax, byte [edi + 0x12d5]
mov dword [esi + 0x5c], eax
movzx eax, byte [edi + 0x12d4]
mov dword [esi + 0x58], eax
movzx eax, byte [edi + 0x1276]
mov dword [esi + 0xdc], eax
movzx eax, byte [edi + 0x12c3]
mov dword [esi + 0xe0], eax
movzx eax, byte [edi + 0x12c4]
mov dword [esi + 0xe4], eax
mov eax, dword [edi + 0x240]
lea ecx, [eax + 3]
test eax, eax
cmovns ecx, eax
sar ecx, 2
mov dword [esi + 0xfc], ecx
mov eax, dword [edi + 0x248]
lea ecx, [eax + 3]
test eax, eax
cmovns ecx, eax
sar ecx, 2
mov dword [esi + 0x100], ecx
mov eax, dword [edi + 0x254]
mov dword [esi + 0x104], eax
mov eax, dword [edi + 0x258]
mov dword [esi + 0x108], eax
movzx eax, byte [edi + 0x1272]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x320]
mov dword [esi + 0x10c], eax
mov eax, dword [edi + 0x344]
mov dword [esi + 0x21c], eax
mov eax, dword [edi + 0x348]
mov dword [esi + 0x220], eax
mov eax, dword [edi + 0x34c]
mov dword [esi + 0x224], eax
mov eax, dword [edi + 0x350]
mov dword [esi + 0x228], eax
mov eax, dword [edi + 0x354]
mov dword [esi + 0x22c], eax
mov eax, dword [edi + 0x358]
mov dword [esi + 0x230], eax
movzx eax, byte [edi + 0x12d0]
mov dword [esi + 0xd8], eax
mov eax, dword [edi + 0x2dc]
mov dword [esi + 0x130], eax
movzx eax, byte [edi + 0x12a2]
mov dword [esi + 0xec], eax
movzx eax, byte [edi + 0x1271]
mov dword [esi + 0xf0], eax
mov eax, dword [edi + 0x250]
mov dword [esi + 0x128], eax
mov eax, dword [edi + 0x24c]
mov dword [esi + 0x124], eax
mov eax, dword [edi + 0x2b4]
mov dword [esi + 0x12c], eax
mov eax, dword [edi + 0x1f0]
mov dword [esi + 0x134], eax
mov eax, dword [edi + 0x200]
mov dword [esi + 0x138], eax
mov eax, dword [edi + 0x204]
mov dword [esi + 0x13c], eax
mov eax, dword [edi + 0x2b8]
mov dword [esi + 0x140], eax
mov eax, dword [edi + 0x29c]
mov dword [esi + 0x148], eax
mov eax, dword [edi + 0x2a0]
mov dword [esi + 0x144], eax
mov eax, dword [edi + 0x25c]
mov dword [esi + 0x14c], eax
mov eax, dword [edi + 0x268]
mov dword [esi + 0x158], eax
mov eax, dword [edi + 0x260]
mov dword [esi + 0x150], eax
mov eax, dword [edi + 0x26c]
mov dword [esi + 0x15c], eax
mov eax, dword [edi + 0x264]
mov dword [esi + 0x154], eax
mov eax, dword [edi + 0x270]
mov dword [esi + 0x160], eax
mov eax, dword [edi + 0x1bc]
mov dword [esi + 0x164], eax
mov eax, dword [edi + 0x18c]
mov dword [esi + 0x168], eax
mov eax, dword [edi + 0x1ec]
mov dword [esi + 0x16c], eax
mov eax, dword [edi + 0x1d4]
mov dword [esi + 0x170], eax
mov eax, dword [edi + 0x1d8]
mov dword [esi + 0x174], eax
mov eax, dword [edi + 0x1e8]
mov dword [esi + 0x178], eax
mov eax, dword [edi + 0x2b0]
mov dword [esi + 0x17c], eax
mov eax, dword [edi + 0x2a4]
mov dword [esi + 0x180], eax
mov eax, dword [edi + 0x1c0]
mov dword [esi + 0x184], eax
mov eax, dword [edi + 0x1d0]
mov dword [esi + 0x188], eax
mov eax, dword [edi + 0x2ac]
mov dword [esi + 0x18c], eax
mov eax, dword [edi + 0x2a8]
mov dword [esi + 0x190], eax
mov eax, dword [edi + 0x27c]
mov dword [esi + 0x194], eax
mov eax, dword [edi + 0x2bc]
mov dword [esi + 0x198], eax
movss xmm0, dword [edi + 0x58]
movss dword [esi + 0x19c], xmm0
cmp dword [edi + 0x14], 2
jne 0x1000aacb
cmp byte [edi + 0x1294], 0
jne 0x1000aacb
mov dword [esi + 0x30], 1
movzx eax, byte [edi + 0x12ab]
mov dword [esi + 0x80], eax
movzx eax, byte [edi + 0x12ac]
mov dword [esi + 0x84], eax
mov eax, dword [edi + 0x1b4]
mov dword [esi + 0x1a0], eax
mov eax, dword [edi + 0x16c]
mov dword [esi + 0x1a4], eax
mov eax, dword [edi + 0x2e8]
mov dword [esi + 0x1a8], eax
mov eax, dword [edi + 0x2ec]
mov dword [esi + 0x1ac], eax
mov eax, dword [edi + 0x2f0]
mov dword [esi + 0x1b0], eax
mov eax, dword [edi + 0x2f4]
mov dword [esi + 0x1b4], eax
mov eax, dword [edi + 0x184]
mov dword [esi + 0x1b8], eax
mov eax, dword [edi + 0x1cc]
mov dword [esi + 0x1bc], eax
mov eax, dword [edi + 0x1e4]
mov dword [esi + 0x1c0], eax
mov eax, dword [edi + 0x19c]
mov dword [esi + 0x1c4], eax
mov eax, dword [edi + 0x2f8]
mov dword [esi + 0x1c8], eax
mov eax, dword [edi + 0x1fc]
mov dword [esi + 0x1cc], eax
movzx eax, byte [edi + 0x12e4]
mov dword [esi + 0xcc], eax
mov eax, dword [edi + 0x2fc]
mov dword [esi + 0x1d0], eax
mov eax, dword [edi + 0x300]
mov dword [esi + 0x1d4], eax
mov eax, dword [edi + 0x17c]
mov dword [esi + 0x1d8], eax
mov eax, dword [edi + 0x1ac]
mov dword [esi + 0x1dc], eax
mov eax, dword [edi + 0x304]
mov dword [esi + 0x1e0], eax
mov eax, dword [edi + 0x1f4]
mov dword [esi + 0x1e4], eax
mov eax, dword [edi + 0x1dc]
mov dword [esi + 0x1e8], eax
mov eax, dword [edi + 0x1c4]
mov dword [esi + 0x1ec], eax
mov eax, dword [edi + 0x308]
mov dword [esi + 0x1f0], eax
mov eax, dword [edi + 0x30c]
mov dword [esi + 0x1f4], eax
mov eax, dword [edi + 0x310]
mov dword [esi + 0x1f8], eax
mov eax, dword [edi + 0x314]
mov dword [esi + 0x1fc], eax
mov eax, dword [edi + 0x318]
mov dword [esi + 0x200], eax
mov eax, dword [edi + 0x180]
mov dword [esi + 0x204], eax
mov eax, dword [edi + 0x1b0]
mov dword [esi + 0x208], eax
mov eax, dword [edi + 0x1f8]
mov dword [esi + 0x20c], eax
mov eax, dword [edi + 0x1e0]
mov dword [esi + 0x210], eax
mov eax, dword [edi + 0x1c8]
mov dword [esi + 0x214], eax
mov eax, dword [edi + 0x31c]
mov dword [esi + 0x218], eax
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
xor ebx, ebx
test ecx, ecx
setne bl
or ebx, 2
jmp 0x1000a5cf
mov ebx, 6
jmp 0x1000a5cf
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3