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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506a48
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x553cc8]
mov eax, dword [eax + 0x80]
sub eax, 0x10
mov byte [esp + 0x17], 1
call fcn.0045cb40
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
xor edi, edi
push esi
mov dword [esp + 0x7c], edi
call fcn.004e33e3
add esp, 4
mov dword [esp + 0x38], eax
cmp dword [esi - 0xc], edi
je 0x46ea87
cmp eax, edi
jne 0x46ea8c
mov byte [esp + 0x17], 0
lea esi, [esp + 0x40]
call fcn.00469b50
mov byte [esp + 0x78], 1
mov edx, dword [0x54af18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54af18
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x78], 2
mov ecx, dword [0x553cc8]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edi
cmp eax, edi
jle 0x46eec6
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], 0x2c
jmp 0x46eaf6
mov ecx, dword [0x553cc8]
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx + 0x30]
jae 0x46ef2f
mov edi, dword [ecx + 0x2c]
add edi, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x40], eax
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x30], edi
cmp eax, esi
je 0x46eb6e
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46eb60
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46eb60
call fcn.0045cb40
mov dword [esp + 0x34], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46eb53
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esp + 0x44], ecx
jmp 0x46eb6e
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00459440
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0x48]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46ebc8
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46ebba
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46ebba
call fcn.0045cb40
mov dword [esp + 0x34], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46ebad
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esp + 0x48], ecx
jmp 0x46ebc8
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00459440
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x4c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46ec22
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46ec14
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46ec14
call fcn.0045cb40
mov dword [esp + 0x34], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46ec07
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esp + 0x4c], ecx
jmp 0x46ec22
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00459440
mov ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x50]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46ec7c
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46ec6e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46ec6e
call fcn.0045cb40
mov dword [esp + 0x34], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46ec61
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esp + 0x50], ecx
jmp 0x46ec7c
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00459440
mov ecx, dword [edi + 0x14]
mov esi, dword [esp + 0x54]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46ecd6
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46ecc8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46ecc8
call fcn.0045cb40
mov dword [esp + 0x34], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46ecbb
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esp + 0x54], ecx
jmp 0x46ecd6
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00459440
mov ecx, dword [edi + 0x18]
mov esi, dword [esp + 0x58]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46ed2e
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46ed20
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46ed20
call fcn.0045cb40
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46ed13
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x30]
jmp 0x46ed2e
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x5c]
push ecx
call fcn.00459440
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x60], eax
lea eax, [ecx - 0x10]
lea esi, [edx - 0x10]
cmp eax, esi
je 0x46ed98
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46ed86
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46ed86
call fcn.0045cb40
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x46ed79
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x30]
jmp 0x46ed94
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x68]
push ecx
call fcn.00459440
mov edx, dword [esp + 0x64]
mov al, byte [edi + 0x28]
mov esi, dword [esp + 0x24]
mov byte [esp + 0x68], al
lea eax, [edx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46edf0
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x46ede2
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x46ede2
call fcn.0045cb40
mov edi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x46edd9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0x10
mov dword [esp + 0x24], edi
jmp 0x46edf0
mov ebx, dword [edx - 0xc]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00459440
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
je 0x46ee9d
cmp byte [esp + 0x17], 0
je 0x46ee27
mov ecx, dword [esp + 0x38]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.0045cb40
add eax, 0x10
mov dword [esi], eax
call fcn.0046ef40
test eax, eax
jne 0x46ee9d
mov edi, dword [esp + 0x28]
mov esi, dword [0x553cc8]
cmp edi, dword [esp + 0x1c]
jb 0x46ef2f
cmp edi, 1
jb 0x46ef2f
mov eax, dword [esi + 0x30]
cmp edi, eax
ja 0x46ef2f
sub eax, edi
mov ebx, eax
mov eax, dword [esi + 0x2c]
add eax, dword [esp + 0x18]
call fcn.00469bf0
test ebx, ebx
je 0x46ee7a
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + eax]
add edx, eax
mov eax, ebx
call fcn.0046d010
dec dword [esi + 0x30]
mov eax, 1
sub dword [esp + 0x2c], eax
je 0x46eec6
sub dword [esp + 0x1c], eax
mov ecx, 0x2c
sub dword [esp + 0x20], ecx
sub edi, eax
sub dword [esp + 0x18], ecx
jmp 0x46eea6
mov edi, dword [esp + 0x28]
mov ecx, 0x2c
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], ecx
add dword [esp + 0x18], ecx
inc eax
inc edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
cmp eax, dword [esp + 0x2c]
jl 0x46eaf0
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46eeeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x40]
call fcn.00469bf0
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ef1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00459fc0
int3