Function at 0x443248
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x5256c0]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [0x4f4340]
cmp dword [0x52a5a8], eax
je 0x443273
mov eax, 0x10dd
jmp 0x443501
cmp dword [0x52a5ac], 0
je 0x443286
call fcn.0044318b
jmp 0x4434fc
and dword [ebp - 0x2d8], 0
push ebx
push esi
mov esi, dword [0x52a5a0]
push edi
jmp 0x4432fa
cmp dword [esi + 4], 0
je 0x4432ba
mov ecx, dword [esi + 0x10]
movzx eax, byte [ecx + 0x36]
push eax
lea eax, [ecx + 0x20]
push eax
push dword [esi + 0xc]
call fcn.004cdc10
mov eax, dword [esi + 0xc]
add esp, 0xc
jmp 0x4432f3
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [eax + 0x44]
lea eax, [edx + 5]
mov byte [edx], 0xe9
sub ecx, eax
mov dword [edx + 1], ecx
add edx, 5
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov edi, dword [eax + 0x40]
sub edi, edx
cmp edx, dword [eax + 0x40]
cmova edi, ebx
test edi, edi
je 0x4432f0
mov byte [edx], 0xcc
inc edx
inc ecx
cmp ecx, edi
jb 0x4432e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
mov esi, dword [esi]
test esi, esi
jne 0x443298
mov edi, dword [0x52a594]
jmp 0x4433de
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2d4], 0x10001
push eax
push dword [edi + 4]
call dword [0x4f4254]
test eax, eax
je 0x4433dc
mov esi, dword [0x52a5a0]
test esi, esi
je 0x4433dc
mov ecx, dword [ebp - 0x21c]
cmp dword [esi + 4], 0
je 0x443380
mov ebx, dword [esi + 0x10]
cmp ecx, ebx
jb 0x4433d2
lea eax, [ebx + 4]
cmp ecx, eax
jae 0x4433d2
mov al, bl
xor edx, edx
sub cl, al
mov al, byte [ebx + edx + 0x38]
shr al, 3
cmp al, cl
je 0x443372
inc edx
cmp edx, 8
jb 0x44335d
xor al, al
jmp 0x443378
mov al, byte [edx + ebx + 0x38]
and al, 7
movzx eax, al
add eax, dword [esi + 0xc]
jmp 0x4433b6
cmp ecx, dword [esi + 0xc]
jb 0x4433d2
mov ebx, dword [esi + 0x10]
movzx eax, byte [ebx + 0x36]
add eax, dword [esi + 0xc]
cmp ecx, eax
jae 0x4433d2
xor edx, edx
sub cl, byte [esi + 0xc]
mov al, byte [ebx + edx + 0x38]
and al, 7
cmp al, cl
je 0x4433ac
inc edx
cmp edx, 8
jb 0x443398
xor eax, eax
jmp 0x4433b4
movzx eax, byte [edx + ebx + 0x38]
shr eax, 3
add eax, ebx
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x2d4]
push eax
push dword [edi + 4]
call dword [0x4f4258]
mov ecx, dword [ebp - 0x21c]
mov esi, dword [esi]
test esi, esi
jne 0x44333f
mov edi, dword [edi]
test edi, edi
jne 0x443309
call dword [0x4f4354]
mov edi, dword [0x52a5a0]
mov ebx, eax
test edi, edi
je 0x443451
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
call dword [0x4f4270]
mov eax, dword [edi + 0x10]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
push ebx
call dword [0x4f4268]
cmp dword [edi + 4], 0
je 0x443442
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x443442
call fcn.00443104
and dword [edi + 0x10], 0
mov dword [ebp - 0x2d8], 1
mov esi, dword [edi]
push edi
call int.004c93a4
mov edi, esi
pop ecx
test esi, esi
jne 0x4433f8
xor ebx, ebx
mov dword [0x52a5a0], ebx
cmp dword [ebp - 0x2d8], ebx
je 0x4434c6
cmp dword [0x52a59c], ebx
jne 0x4434c6
mov ecx, dword [0x52a5a4]
mov esi, 0x52a5a4
jmp 0x4434c2
cmp dword [ecx], 0x52727464
jne 0x4434bd
lea edi, [ecx + 0x10000]
mov eax, ebx
lea edx, [ecx + 0x88]
cmp dword [edx], ebx
je 0x443498
cmp dword [edx], ecx
jb 0x4434bd
cmp dword [edx], edi
jae 0x4434bd
inc eax
add edx, 0x48
cmp eax, 0x38d
jb 0x44348c
mov eax, dword [ecx + 4]
push 0x8000
push ebx
push ecx
mov dword [esi], eax
call dword [0x4f4264]
mov dword [0x52a598], ebx
jmp 0x4434c0
lea esi, [ecx + 4]
mov ecx, dword [esi]
test ecx, ecx
jne 0x443476
call fcn.00442e29
mov edi, dword [0x52a594]
test edi, edi
je 0x4434ed
push dword [edi + 4]
call dword [0x4f4130]
mov esi, dword [edi]
push edi
call int.004c93a4
mov edi, esi
pop ecx
test esi, esi
jne 0x4434d5
pop edi
pop esi
mov dword [0x52a594], ebx
mov dword [0x52a5a8], ebx
pop ebx
mov eax, dword [0x52a5ac]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c93a9
mov esp, ebp
pop ebp
ret