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

Disassembly:
sub esp, 0x4c
mov edx, dword [0x50f848]
push ebx
push ebp
push esi
xor eax, eax
xor esi, esi
cmp edx, esi
setne al
mov ebx, ecx
push edi
mov dword [esp + 0x14], esi
mov ebp, eax
lea eax, [ebx + 0x654]
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x650]
mov ecx, dword [eax + 0x10c]
mov dword [eax + 0x108], ecx
mov edx, dword [ebx + 0x48c]
mov dword [ebx + 0x46c], 0x4ef574
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00484460
add esp, 4
test al, al
je 0x4460b6
mov edx, dword [ebx + 0x650]
mov eax, dword [edx + 0x15c]
mov ecx, dword [0x511184]
mov edx, dword [ecx + 0x258]
push eax
push edx
jmp 0x446555
mov dword [ebx + 0x46c], str.insert
mov eax, dword [0x5115a0]
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x640], esi
jne 0x4460e5
mov ecx, dword [ebx + 0x650]
mov edx, dword [ecx + 0x178]
cmp edx, dword [0x4e9998]
je 0x4460f7
mov dword [ebx + 0x640], 1
mov dword [esp + 0x18], 0xffffffff
cmp ebp, esi
jne 0x44610d
mov eax, dword [ebx + 0x650]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0xe
call dword [edx + 0x94]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x446120
xor esi, esi
lea esp, [esp]
mov ebp, dword [ebx + 0x6a4]
lea eax, [ebx + 0x6a8]
cmp ebp, eax
je 0x446506
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x446140
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x44614d
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov eax, dword [ebx + 0x680]
dec eax
push ecx
mov dword [ebx + 0x680], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x650]
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x44]
mov esi, dword [ebp + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x4b0], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x61c], ecx
mov edx, dword [ebp + 0x30]
mov dword [ebx + 0x578], edx
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x57c], eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x650]
mov dword [ebx + 0x620], ecx
mov edx, dword [ebp + 0x24]
mov dword [ebx + 0x624], edx
mov ecx, dword [ebp + 0x38]
mov dword [eax + 0xdc], ecx
mov eax, dword [ebp + 0x14]
cmp eax, 2
mov dword [ebx + 0x69c], eax
je 0x4461e0
cmp eax, 1
jne 0x4461fa
mov edx, dword [ebx + 0x650]
mov ecx, dword [edx]
mov eax, dword [ecx]
push 0x19
call dword [eax + 0x94]
mov dword [esp + 0x14], 1
mov edx, dword [ebx + 0x650]
lea ecx, [ebx + 0x68c]
push ecx
xor esi, esi
push edx
mov dword [ebx + 0x100], esi
call fcn.00444af0
add esp, 8
test eax, eax
je 0x446237
mov ecx, dword [ebx + 0x698]
inc ecx
push 0x510ca0
mov dword [ebx + 0x698], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp + 0x28], esi
cmp dword [esp + 0x14], esi
je 0x446253
mov eax, dword [ebx + 0x650]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x1a
mov dword [esp + 0x18], esi
call dword [edx + 0x94]
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x446383
cmp dword [ebp + 0x28], esi
je 0x446383
mov ecx, dword [ebp + 0x3c]
push esi
push ecx
push eax
lea edi, [ebx + 0x10]
push edi
mov ecx, 0x5101a8
call fcn.00424120
cmp dword [esp + 0x1c], esi
je 0x446383
mov edx, dword [ebp + 0x3c]
mov dword [ebx + 0x5d8], edx
mov eax, dword [edi + 0x490]
cmp eax, esi
mov edx, dword [edi + 0x4a0]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 1
jne 0x4462b6
mov eax, dword [0x511a2c]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x454]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x630]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x5c8]
cmp eax, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], ecx
mov eax, 0x41d
jne 0x4462eb
mov eax, dword [edi + 0xf0]
mov edx, dword [edi + 0x5a8]
mov word [esp + 0x4c], ax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x28], 0x4caff0
call fcn.004b6b2f
mov edx, dword [esp + 0x58]
mov edi, dword [edx + 0x4a0]
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov edi, dword [esp + 0x44]
add esp, 4
cmp edi, esi
mov dword [esp + 0x2c], ecx
je 0x44633f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x446341
xor ecx, ecx
cmp word [esp + 0x4c], 0x3e8
mov dword [esp + 0x48], ecx
jae 0x446353
mov word [esp + 0x4c], si
lea eax, [esp + 0x24]
push eax
mov ecx, 0x50f7b8
call fcn.00423bd0
mov eax, dword [esp + 0x38]
cmp eax, esi
mov dword [esp + 0x24], 0x4caff0
je 0x44637b
push eax
call fcn.00480080
add esp, 4
mov dword [esp + 0x24], 0x4cb004
mov eax, dword [ebx + 0x650]
cmp dword [eax + 0x78], esi
je 0x446397
push eax
call fcn.004465e0
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x510748
call esi
mov edx, dword [0x51157c]
dec edx
push 0x510748
mov dword [0x51157c], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x510764
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov eax, dword [ebx + 0x6b4]
lea ecx, [eax + 1]
mov dword [ebx + 0x6b4], ecx
cmp eax, dword [esp + 0x18]
jne 0x44611a
mov eax, dword [ebx + 0x680]
test eax, eax
mov dword [ebx + 0x6b4], 0
jne 0x446412
mov eax, dword [ebx + 0x67c]
test eax, eax
je 0x44611a
mov eax, dword [ebx + 0x67c]
test eax, eax
je 0x44642b
lea edx, [ebx + 0x674]
push edx
call fcn.00480760
add esp, 4
mov esi, dword [esp + 0x10]
push esi
mov dword [ebx + 0x46c], 0x4ef568
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x650]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 4
call dword [edx + 0x94]
test eax, eax
jne 0x4464e1
mov eax, dword [ebx + 0x48c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00484520
add esp, 4
test al, al
je 0x446494
mov eax, dword [ebx + 0x650]
mov ecx, dword [eax + 0x15c]
mov edx, dword [0x511184]
mov eax, dword [edx + 0x258]
push ecx
push eax
call fcn.004247f0
add esp, 8
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4464ae
mov ecx, dword [ebx + 0x650]
mov ecx, dword [ecx]
mov edx, dword [ecx]
push 0xe
call dword [edx + 0x94]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x67c]
test eax, eax
mov dword [ebx + 0x46c], 0x4eef98
je 0x44611a
lea eax, [ebx + 0x674]
push eax
call fcn.00480760
add esp, 4
jmp 0x44611a
mov ecx, dword [ebx + 0x650]
mov ecx, dword [ecx]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 4]
lea eax, [ebx + 0x38]
push eax
push 0x4eeae0
call fcn.004247f0
add esp, 8
xor esi, esi
jmp 0x44655d
mov ecx, dword [ebx + 0x650]
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x46c], esi
push edi
mov dword [ecx + 0x108], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebx + 0x650]
mov ecx, dword [edx]
mov eax, dword [ecx]
push 4
call dword [eax + 0x94]
cmp eax, esi
je 0x4465cf
mov ecx, dword [ebx + 0x650]
mov ecx, dword [ecx]
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 4]
lea eax, [ebx + 0x38]
push eax
push 0x4eeae0
call fcn.004247f0
add esp, 8
lea edi, [ebx + 0x6a8]
mov ecx, dword [ebx + 0x6a4]
cmp ecx, edi
je 0x4465ac
mov eax, dword [ecx + 4]
cmp eax, esi
je 0x446579
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ecx + 8]
cmp eax, esi
je 0x446586
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x510ca0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebx + 0x680]
dec ecx
mov dword [ebx + 0x680], ecx
jmp 0x446563
push 0x510ca0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret