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

Disassembly:
push 0xffffffffffffffff
push 0x4ceb67
mov eax, dword fs:[0]
push eax
mov eax, 0x6464
call fcn.004c60d0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x6478]
mov dword fs:[0], eax
cmp byte [esp + 0x6490], 0
mov edi, dword [esp + 0x648c]
mov eax, dword [edi]
mov ebx, dword [esp + 0x6488]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
je 0x499675
mov eax, dword [ebx + 0x11e8]
mov ecx, dword [eax]
lea esi, [ebx + 0x11e4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
test esi, esi
mov ebp, dword [ebx + 0x11e8]
lea eax, [ebx + 0x11e4]
je 0x499525
cmp esi, eax
je 0x49952a
call fcn.004aa383
cmp dword [esp + 0x18], ebp
je 0x499675
lea ecx, [edi + 4]
mov ebp, 0xf
mov eax, ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x499552
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00406e50
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x6480], ebx
jne 0x49957a
call fcn.004aa383
mov edi, dword [esp + 0x18]
cmp edi, dword [esi + 4]
jne 0x499588
call fcn.004aa383
lea ecx, [edi + 0x14]
mov eax, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4995a0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00406e50
cmp dword [esp + 0x68], 0x10
mov ecx, dword [esp + 0x54]
jae 0x4995c5
lea ecx, [esp + 0x54]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
cmp esi, edi
mov eax, esi
jb 0x4995d5
mov eax, edi
mov ebp, dword [esp + 0x40]
cmp ebp, 0x10
mov edx, dword [esp + 0x2c]
jae 0x4995e6
lea edx, [esp + 0x2c]
call fcn.00417a90
cmp eax, ebx
jne 0x499601
cmp esi, edi
jae 0x4995f8
or eax, 0xffffffff
jmp 0x4995ff
xor eax, eax
cmp esi, edi
setne al
cmp eax, ebx
sete bl
cmp ebp, 0x10
jb 0x499616
mov edx, dword [esp + 0x2c]
push edx
call fcn.004a91d0
add esp, 4
mov dword [esp + 0x6480], 0xffffffff
cmp dword [esp + 0x68], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x49964a
mov eax, dword [esp + 0x54]
push eax
call fcn.004a91d0
add esp, 4
test bl, bl
jne 0x49966e
lea esi, [esp + 0x14]
call fcn.0049cbe0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x648c]
mov ebx, dword [esp + 0x6488]
jmp 0x499511
xor eax, eax
jmp 0x499922
cmp byte [esp + 0x6490], 0
mov ecx, dword [esp + 0x24]
mov dword [edi], ecx
je 0x49975b
cmp dword [ebx + 0x74], 0
jne 0x499696
mov dword [ebx + 0x74], 1
mov eax, dword [ebx + 0x74]
mov ebp, dword [esp + 0x6488]
mov ebx, eax
add eax, 1
mov dword [ebp + 0x74], eax
add ebp, 0x1234
mov dword [esp + 0x18], ebp
add ebp, 4
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], vtable.fund::lock::scoped_lock_class_fund::lock::critical_section_.0
call dword [0x4d52fc]
mov eax, 0x31fc
mov dword [esp + 0x6480], 2
call fcn.004c60d0
mov esi, edi
mov edi, esp
mov ecx, 0xc7e
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push ebx
lea esi, [esp + 0x6478]
call fcn.0049ccf0
mov edx, dword [eax]
add eax, 4
push 0x31f9
push eax
lea eax, [esp + 0x3284]
push eax
mov dword [esp + 0x3284], edx
call fcn.004b03b0
mov ebx, dword [esp + 0x9694]
add esp, 0x320c
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x48]
push edx
add ebx, 0x11e4
call fcn.0049ba20
mov dword [esp + 0x6480], 0xffffffff
push ebp
mov ebp, dword [0x4d52f4]
call ebp
mov edi, dword [esp + 0x648c]
mov ebx, dword [esp + 0x6488]
jmp 0x49976c
mov eax, dword [esp + 0x6494]
mov ebp, dword [0x4d52f4]
mov dword [esp + 0x20], eax
cmp dword [ebx + 8], 0
je 0x499826
push 0x31f9
push edi
call dword [0x4d5340]
mov dword [esp + 0x1c], eax
call dword [0x4d52c0]
cmp dword [ebx + 0x7c], eax
je 0x499804
push 0
push 0
call dword [0x4d5538]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
push ecx
lea edi, [ebx + 4]
push 0x4d86d4
push edx
mov dword [esp + 0x20], 0
call dword [0x4d5540]
mov esi, eax
test esi, esi
jl 0x4997ee
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [esp + 0x14]
push edi
push ecx
push 0x4d86d4
mov esi, eax
call dword [0x4d5548]
test eax, eax
jge 0x4997ee
mov dword [edi], 0
call dword [0x4d5528]
mov eax, dword [esp + 0x1c]
push eax
call dword [0x4d533c]
jmp 0x4998d2
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
call dword [0x4d533c]
jmp 0x4998d2
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x4998d6
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push edi
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x4998d6
lea esi, [ebx + 0x1234]
mov dword [esp + 0x48], esi
add esi, 4
push esi
mov dword [esp + 0x48], vtable.fund::lock::scoped_lock_class_fund::lock::critical_section_.0
call dword [0x4d52fc]
mov dword [esp + 0x6480], 3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x70]
push ecx
add ebx, 0x11f0
mov dword [esp + 0x20], edx
call fcn.00498100
push esi
mov dword [esp + 0x6484], 0xffffffff
call ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x6488]
push edx
push eax
mov eax, dword [esi + 0x78]
call fcn.00496a60
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
add edi, 4
push edi
push eax
call edx
mov ebx, dword [esp + 0x6488]
mov esi, eax
test esi, esi
jge 0x49991e
lea edi, [ebx + 0x1234]
mov dword [esp + 0x48], edi
add edi, 4
push edi
mov dword [esp + 0x48], vtable.fund::lock::scoped_lock_class_fund::lock::critical_section_.0
call dword [0x4d52fc]
lea esi, [ebx + 0x11f0]
lea ecx, [esp + 0x24]
mov dword [esp + 0x6480], 4
call fcn.004984a0
lea esi, [ebx + 0x11e4]
lea ecx, [esp + 0x20]
call fcn.0049be60
push edi
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6470
ret 0x10