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

Disassembly:
push 0xffffffffffffffff
push 0x467fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x480250]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480250]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
lea esi, [ebp + 0x60]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], esi
je 0x404461
cmp byte [esi + 0x18], bl
jne 0x40445a
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esi + 0x18], 1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x84], 1
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov esi, ebp
mov edi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
lea ecx, [ecx]
cmp esi, ebx
mov ebp, dword [ebp + 4]
je 0x40449d
cmp esi, dword [esp + 0x20]
je 0x4044a2
call fcn.0044e7bc
cmp edi, ebp
je 0x4045ae
cmp esi, ebx
jne 0x4044b3
call fcn.0044e7bc
cmp edi, dword [esi + 4]
jne 0x4044bd
call fcn.0044e7bc
push 0xffffffffffffffff
lea esi, [edi + 0xc]
push ebx
mov edi, 0xf
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.004026b0
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x70], ecx
mov byte [esp + 0x84], 2
call fcn.00401c30
test al, al
jne 0x404574
mov ecx, dword [esp + 0x70]
add ecx, 5
mov eax, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x404512
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004028a0
mov byte [esp + 0x84], 3
mov eax, dword [esp + 0x3c]
mov edi, 0x10
cmp dword [esp + 0x50], edi
jae 0x404543
lea eax, [esp + 0x3c]
push eax
push str.Callback__s_not_found__flagged_for_removing
call fcn.004167d0
add esp, 8
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x28]
call fcn.00405c60
cmp dword [esp + 0x50], edi
jb 0x404579
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0044e982
add esp, 4
jmp 0x404579
mov edi, 0x10
mov byte [esp + 0x84], 1
cmp dword [esp + 0x6c], edi
jb 0x404594
mov edx, dword [esp + 0x58]
push edx
call fcn.0044e982
add esp, 4
lea esi, [esp + 0x18]
call fcn.00406460
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
jmp 0x404490
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x4046da
mov edi, dword [esp + 0x2c]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x404670
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, esi
push ebx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.004026b0
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x3c]
mov esi, 0x10
cmp dword [esp + 0x50], esi
jae 0x404621
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00404220
cmp dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
jae 0x40463a
lea eax, [esp + 0x3c]
push eax
push str.Callback__s_removed
call fcn.004167d0
add esp, 8
mov byte [esp + 0x84], 1
cmp dword [esp + 0x50], esi
jb 0x404663
mov edx, dword [esp + 0x3c]
push edx
call fcn.0044e982
add esp, 4
add ebp, 1
add dword [esp + 0x18], 0x1c
jmp 0x4045b4
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40469b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00404f20
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x4046da
cmp esi, edi
je 0x4046d1
add esi, 0x18
cmp dword [esi], 0x10
jb 0x4046b7
mov edx, dword [esi - 0x14]
push edx
call fcn.0044e982
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x4046a6
mov esi, dword [esp + 0x28]
push esi
call fcn.0044e982
add esp, 4
mov esi, dword [esp + 0x34]
cmp esi, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x404705
cmp byte [esi + 0x18], bl
jne 0x4046fe
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esi + 0x18], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044e7cc
add esp, 0x74
ret 4