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

Disassembly:
push 0xffffffffffffffff
push 0x491eea
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cb08c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
test byte [0x4d1df8], 1
jne 0x46dd79
mov eax, 1
or dword [0x4d1df8], eax
mov ecx, 0x4d1de0
mov dword [esp + 0x80], eax
call fcn.00469c50
push 0x49c7f0
call fcn.00471814
add esp, 4
mov byte [esp + 0x80], 0
mov edi, dword [esp + 0x8c]
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x4d1dec
call fcn.0045dbb0
mov ebx, dword [esp + 0x18]
test ebx, ebx
mov ebp, dword [0x4d1df0]
je 0x46dda6
cmp ebx, 0x4d1dec
je 0x46ddab
call fcn.00471ad5
mov esi, dword [esp + 0x1c]
cmp esi, ebp
je 0x46def2
test ebx, ebx
jne 0x46ddc0
call fcn.00471ad5
cmp esi, dword [ebx + 4]
jne 0x46ddca
call fcn.00471ad5
mov eax, dword [0x4d1de4]
mov edi, dword [eax + 4]
cmp edi, eax
jne 0x46dddb
call fcn.00471ad5
cmp dword [esi + 0x10], 0x4d1de0
je 0x46dde9
call fcn.00471ad5
cmp edi, dword [esi + 0x14]
je 0x46de9e
lea ecx, [esp + 0x48]
call fcn.0045cb40
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
cmp esi, dword [ebx + 4]
mov dword [esp + 0x80], 2
jne 0x46de1c
call fcn.00471ad5
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push 0x4d1de0
lea eax, [esp + 0x54]
push ecx
push eax
mov ecx, eax
call fcn.00469d60
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
mov edx, dword [0x4d1de4]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov eax, ecx
push eax
mov edi, 0x4d1de0
push edx
push edi
mov ecx, edi
call fcn.00469d60
mov eax, dword [0x4d1de4]
mov ebp, edi
mov edi, dword [eax + 4]
cmp edi, eax
jne 0x46de70
call fcn.00471ad5
cmp esi, dword [ebx + 4]
jne 0x46de7a
call fcn.00471ad5
mov dword [esi + 0x10], ebp
lea ecx, [esp + 0x48]
mov dword [esi + 0x14], edi
mov byte [esp + 0x80], 0
call fcn.0045dc60
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004716d0
add esp, 4
mov eax, dword [0x4d1de4]
mov esi, dword [eax + 4]
cmp esi, eax
jne 0x46debc
call fcn.00471ad5
cmp esi, dword [0x4d1de4]
jne 0x46debc
call fcn.00471ad5
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x88]
mov dword [eax], edx
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [eax + 4], ecx
je 0x46dede
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
push 0x430
call fcn.0047142d
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x80], 3
je 0x46df20
mov ecx, dword [edi]
push ecx
mov ecx, eax
call fcn.0046d700
mov esi, eax
jmp 0x46df22
xor esi, esi
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 0
mov dword [esp + 0x24], esi
call fcn.0046dc60
push esi
lea edx, [esp + 0x24]
push esi
push edx
call fcn.00448620
add esp, 0xc
mov ebp, dword [esp + 0x24]
test ebp, ebp
mov eax, dword [esp + 0x20]
mov ebx, 4
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebp
je 0x46df73
lea ecx, [ebp + 4]
mov edx, 1
lock xadd dword [ecx], edx
mov dword [esp + 0x5c], 0
mov eax, dword [0x4d1de4]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x54]
push ecx
push edx
push eax
mov ecx, 0x4d1de0
mov byte [esp + 0x8c], 5
call fcn.0045dcd0
push 1
mov ecx, 0x4d1de0
mov esi, eax
call fcn.0045f360
test ebp, ebp
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov byte [esp + 0x80], bl
je 0x46dfeb
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46dfeb
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
lea ecx, [ebp + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46dfeb
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov eax, dword [0x4d1de4]
mov esi, dword [eax + 4]
cmp esi, eax
mov edi, 0x4d1de0
jne 0x46e001
call fcn.00471ad5
mov ebx, dword [esp + 0x8c]
mov eax, dword [ebx]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, 0x4d1dec
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
call fcn.00461180
push ebx
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x4d1dec
call fcn.0045dbb0
mov esi, eax
cmp dword [esi], 0
jne 0x46e046
call fcn.00471ad5
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp edx, dword [ecx + 4]
jne 0x46e055
call fcn.00471ad5
mov eax, dword [0x4d1de4]
mov esi, dword [esi + 4]
mov edi, dword [eax + 4]
add esi, 0xc
cmp edi, eax
jne 0x46e079
call fcn.00471ad5
cmp edi, dword [0x4d1de4]
jne 0x46e079
call fcn.00471ad5
mov dword [edi + 0x10], esi
mov eax, dword [0x4d1df4]
cmp eax, dword [esp + 0x90]
mov ebx, eax
jbe 0x46e135
mov eax, dword [0x4d1de4]
mov esi, dword [eax]
mov dword [esp + 0x30], 0x4d1de0
mov dword [esp + 0x2c], eax
cmp esi, dword [esp + 0x2c]
je 0x46e135
cmp ebx, dword [esp + 0x90]
jbe 0x46e135
cmp esi, dword [0x4d1de4]
jne 0x46e0c3
call fcn.00471ad5
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46e11c
cmp dword [eax + 4], 1
jne 0x46e11c
cmp esi, dword [0x4d1de4]
mov ebp, dword [esp + 0x30]
mov edi, esi
jne 0x46e0e3
call fcn.00471ad5
test ebp, ebp
mov esi, dword [esi]
jne 0x46e0ee
call fcn.00471ad5
cmp edi, dword [ebp + 4]
jne 0x46e0f8
call fcn.00471ad5
mov eax, dword [edi + 0x10]
push eax
mov ecx, 0x4d1dec
call fcn.00462760
push edi
push ebp
lea ecx, [esp + 0x48]
push ecx
mov ecx, 0x4d1de0
call fcn.0045e3f0
sub ebx, 1
jmp 0x46e0a3
mov esi, dword [esi + 4]
cmp esi, dword [0x4d1de4]
jne 0x46e0a3
call fcn.00471ad5
jmp 0x46e0a3
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x24]
test eax, eax
mov edx, dword [esp + 0x20]
mov dword [edi], edx
mov dword [edi + 4], eax
je 0x46e15d
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x14], 1
mov byte [esp + 0x80], 0
je 0x46e19d
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x46e19d
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46e19d
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret