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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b38ba
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ebx, edx
lea ecx, [esp + 0x20]
xor esi, esi
mov dword [esp + 0x50], eax
push ecx
lea eax, [esp + 0x14]
mov ecx, ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov word [esp + 0x24], si
mov dword [esp + 0x28], esi
call fcn.10096b00
test al, al
jne 0x10064b5a
mov dl, byte [edi + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ax, word [esp + 0x20]
cmp ax, 0x431
mov edx, dword [esp + 0x24]
movzx ecx, ax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], edx
jne 0x10064b95
push edi
lea eax, [esp + 0x14]
mov ecx, ebx
call fcn.100682a0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
lea eax, [edi + 0x74]
cmp eax, esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x30], eax
je 0x10064bc0
mov eax, dword [eax]
cmp eax, esi
je 0x10064bc0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0x60]
lea ebx, [esp + 0x4c]
lea eax, [esp + 0x6c]
mov byte [esp + 0x80], 1
call fcn.10068820
mov ebx, dword [eax]
test ebx, ebx
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], ecx
je 0x10064bf0
cmp ebx, esi
je 0x10064bf6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x64]
jne 0x10064cb2
mov ax, word [esp + 0x20]
cmp ax, 0x429
jne 0x10064c2c
mov al, byte [edi + 0x7c]
test al, al
jne 0x10064c90
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push edi
call fcn.100675d0
jmp 0x10064c90
cmp ax, 0x430
jne 0x10064c70
mov al, byte [edi + 0x7c]
test al, al
jne 0x10064c90
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2f]
push ecx
lea ebx, [esp + 0x14]
mov byte [esp + 0x33], al
call fcn.100a3950
add esp, 4
test al, al
je 0x10064c90
cmp byte [esp + 0x2f], 0
je 0x10064c90
cmp dword [edi + 0x70], 0
je 0x10064c90
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x10064c90
cmp ax, 0x433
jne 0x10064c90
mov cl, byte [edi + 0x7c]
test cl, cl
jne 0x10064c90
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push edi
lea edx, [esp + 0x18]
call fcn.10067ed0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1006542e
mov eax, dword [eax]
test eax, eax
je 0x1006542e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1006542e
test ebx, ebx
jne 0x10064cbc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x40]
cmp ecx, dword [ebx + 4]
jne 0x10064ccb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x40]
add ebx, 0x10
lea esi, [esp + 0x18]
call fcn.10065520
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10064d02
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10064cf8
mov eax, dword [eax]
test eax, eax
je 0x10064cf8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [esp + 0x18]
push edx
jmp 0x10065433
cmp dword [esp + 0x1c], 0
jne 0x10064d62
lea ebx, [esp + 0x5c]
mov edi, esi
call fcn.1006b1c0
cmp dword [eax], 0
mov ecx, dword [esp + 0x5c]
setne bl
test ecx, ecx
je 0x10064d29
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test bl, bl
je 0x10064d5e
lea ebx, [esp + 0x58]
call fcn.1006b1c0
lea edi, [esp + 0x1c]
mov byte [esp + 0x80], 2
call fcn.10024e20
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x10064d5e
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov edi, dword [esp + 0x28]
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x30]
xor ebx, ebx
cmp eax, ebx
je 0x10064d81
mov eax, dword [eax]
cmp eax, ebx
je 0x10064d81
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, word [esp + 0x20]
add eax, 0xfffffbff
cmp eax, 0x31
ja case.0x10064d94.1038
jmp dword [eax*4 + 0x10065458]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je case.0x10064d94.1038
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push edx
call eax
jmp case.0x10064d94.1038
mov cl, byte [edi + 0x7c]
test cl, cl
jne case.0x10064d94.1038
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x14]
lea ebx, [esp + 0x1c]
call fcn.10065570
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x20]
call fcn.100656e0
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x20]
call fcn.100657b0
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x20]
call fcn.10065880
jmp case.0x10064d94.1038
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
push edi
call fcn.10065950
jmp case.0x10064d94.1038
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.10065aa0
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.10066020
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.100660f0
jmp 0x100653f3
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.100661e0
jmp case.0x10064d94.1038
mov cl, byte [edi + 0x7c]
test cl, cl
jne case.0x10064d94.1038
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
lea ebx, [esp + 0x1c]
call fcn.10066380
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x20]
call fcn.10066400
jmp case.0x10064d94.1038
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.100664e0
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.10066620
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
lea esi, [esp + 0x20]
call fcn.10066700
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
call fcn.10066860
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
lea esi, [esp + 0x20]
call fcn.10066900
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
lea ebx, [esp + 0x1c]
call fcn.10066a00
jmp case.0x10064d94.1038
mov cl, byte [edi + 0x7c]
test cl, cl
jne case.0x10064d94.1038
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
call fcn.10066a70
jmp case.0x10064d94.1038
mov cl, byte [edi + 0x7c]
test cl, cl
jne case.0x10064d94.1038
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
lea ebx, [esp + 0x18]
call fcn.10066be0
jmp case.0x10064d94.1038
mov cl, byte [edi + 0x7c]
test cl, cl
jne case.0x10064d94.1038
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
lea ebx, [esp + 0x18]
call fcn.10066d30
jmp case.0x10064d94.1038
mov cl, byte [edi + 0x7c]
test cl, cl
jne case.0x10064d94.1038
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je case.0x10064d94.1038
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x60]
push eax
call edx
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.10066f80
jmp 0x100653f3
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.100a33f0
add esp, 4
test al, al
je 0x100653f3
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x100653f3
mov eax, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
push eax
mov eax, dword [esp + 0x1c]
push eax
call edx
jmp 0x100653f3
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
call fcn.10066e80
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
lea ebx, [esp + 0x14]
mov byte [esp + 0x3c], al
call fcn.100a3950
add esp, 4
test al, al
je case.0x10064d94.1038
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x10064d94.1038
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call edx
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x60]
push ecx
lea edi, [esp + 0x14]
call fcn.100a33f0
add esp, 4
test al, al
je 0x100653f3
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x100653f3
mov eax, dword [esp + 0x60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
push eax
mov eax, dword [esp + 0x1c]
push eax
call edx
jmp 0x100653f3
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
call fcn.10067180
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x20]
call fcn.10067270
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push ecx
lea edi, [esp + 0x14]
mov dword [esp + 0x4c], ebx
call fcn.100a33f0
add esp, 4
test al, al
je 0x100653f3
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x100653f3
mov eax, dword [esp + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call edx
jmp 0x100653f3
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
call fcn.10067340
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
lea ebx, [esp + 0x14]
mov byte [esp + 0x48], al
call fcn.100a3950
add esp, 4
test al, al
je case.0x10064d94.1038
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.0x10064d94.1038
mov eax, dword [esp + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
push eax
mov eax, dword [esp + 0x1c]
push eax
call edx
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.10067560
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
lea edi, [esp + 0x1c]
call fcn.100676a0
jmp 0x100653f3
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.10067900
jmp case.0x10064d94.1038
mov dl, byte [edi + 0x7c]
test dl, dl
jne case.0x10064d94.1038
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.100679d0
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea ebx, [esp + 0x18]
call fcn.10067c10
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
call fcn.10067d60
jmp case.0x10064d94.1038
mov al, byte [edi + 0x7c]
test al, al
jne case.0x10064d94.1038
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x14]
lea ebx, [esp + 0x1c]
call fcn.10066800
mov edi, dword [esp + 0x28]
cmp word [esp + 0x54], 0x409
jne 0x1006542e
mov eax, dword [esp + 0x68]
lea esi, [esp + 0x3c]
call fcn.10006930
mov ebx, dword [edi + 0x68]
call fcn.10006950
test ebx, ebx
jne 0x1006542e
cmp dword [edi + 0x70], ebx
je 0x1006542e
mov ecx, dword [edi + 0x70]
mov eax, dword [esp + 0x50]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
call edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x84], 0xffffffff
call fcn.100639f0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4