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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c7f0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x57a6d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x158]
call fcn.00449940
lea eax, [edi + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, dword [edi + 0x134]
test esi, esi
je 0x4496a8
mov ecx, esi
call fcn.004bbe20
push 0x200a8
push esi
call fcn.0049a900
add esp, 8
mov dword [edi + 0x134], 0
mov ecx, dword [edi + 0x130]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4496e4
call fcn.004bb3d0
mov esi, dword [edi + 0x130]
test esi, esi
je 0x4496da
mov ecx, esi
call fcn.004bb390
push 4
push esi
call fcn.0049a900
add esp, 8
mov dword [edi + 0x130], 0
mov ecx, dword [edi + 0x120]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x449725
mov eax, dword [edi + 0x10c]
inc ecx
cmp ecx, 0x1000
jb 0x44971b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4498e7
mov eax, edx
push ecx
push eax
call fcn.0049a900
add esp, 8
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0xf
mov byte [edi + 0x10c], 0
mov ecx, dword [edi + 0xf8]
cmp ecx, 0x10
jb 0x44977a
mov eax, dword [edi + 0xe4]
inc ecx
cmp ecx, 0x1000
jb 0x449770
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4498e7
mov eax, edx
push ecx
push eax
call fcn.0049a900
add esp, 8
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0xf
mov byte [edi + 0xe4], 0
mov ecx, dword [edi + 0xdc]
cmp ecx, 0x10
jb 0x4497cf
mov eax, dword [edi + 0xc8]
inc ecx
cmp ecx, 0x1000
jb 0x4497c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4498e7
mov eax, edx
push ecx
push eax
call fcn.0049a900
add esp, 8
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0xf
mov byte [edi + 0xc8], 0
mov ecx, dword [edi + 0xc4]
cmp ecx, 0x10
jb 0x449824
mov eax, dword [edi + 0xb0]
inc ecx
cmp ecx, 0x1000
jb 0x44981a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4498e7
mov eax, edx
push ecx
push eax
call fcn.0049a900
add esp, 8
mov dword [edi + 0xc0], 0
lea ecx, [edi + 0x98]
mov dword [edi + 0xc4], 0xf
mov byte [edi + 0xb0], 0
call fcn.00437540
lea ecx, [edi + 0x80]
call fcn.00437540
mov esi, dword [edi + 0x78]
mov dword [ebp - 4], 1
test esi, esi
je 0x449881
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0048bf80
test al, al
je 0x449881
xor eax, eax
test ebx, ebx
cmovne eax, esi
push eax
call fcn.00482a80
add esp, 4
lea esi, [edi + 0x40]
push 0xffffff
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0045e990
lea ecx, [esi + 0x20]
call fcn.004485a0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [edi + 0x3c]
lea esi, [edi + 0x18]
test ecx, ecx
je 0x4498c5
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
lea ecx, [edi + 0x10]
call fcn.0047b550
lea ecx, [edi + 8]
call fcn.0047b550
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004db96a
int3