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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x491cb3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
call fcn.00455ea3
push edi
call fcn.00417340
push edi
push 0x11b
mov ecx, 0x4b3e38
call fcn.004563df
push 0
mov ecx, 0x4b3e38
call fcn.0045c0b5
lea esi, [edi + 0x98]
mov ebx, 0x80
jmp 0x416e00
mov eax, dword [esi]
mov edx, dword [eax + 0x13c]
push edi
push 0x9b
mov ecx, esi
call edx
add esi, 0x79c
sub ebx, 1
jne 0x416e00
lea eax, [edi + 0x98]
mov esi, 0x4b4848
mov dword [esp + 0x20], eax
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4171f4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4171f4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push ebx
lea ecx, [esp + 0x30]
push 0x49b240
push ecx
mov dword [esp + 0xcc], 0
call fcn.00406620
mov eax, 0x2aaaaaab
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, 1
sub esp, 0x24
add edx, edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], eax
mov ebp, ebx
mov eax, esp
sub ebp, edx
mov dword [esp + 0x54], esp
push eax
lea edi, [esp + 0x60]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], ebp
call fcn.00407a60
mov edi, dword [esp + 0x50]
push ebx
call fcn.00407100
mov edx, dword [esp + 0x30]
mov dword [esi + 0x20], 1
mov edi, dword [esi]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x416fb4
cmp dword [edi + 0xc], 0
jl 0x416fa4
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x416fa4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jl 0x416f37
cmp eax, dword [edx]
jne 0x416f37
mov dword [esp + 0x18], edx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x416f80
mov edx, dword [edx + 4]
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax]
push 2
push edx
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x4171fe
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
lea edx, [edx + edx + 2]
push edx
add ecx, 0x10
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + ecx + 2]
push edx
add eax, 0x10
push eax
call fcn.00471b37
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416f99
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x416fb0
mov eax, dword [edx - 0xc]
push eax
push edx
mov ecx, esi
call fcn.00406030
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ebp
mov ebp, dword [esi - 4]
lea ecx, [esi - 4]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2c]
lea edi, [edx - 0x10]
sub ebp, 0x10
mov dword [esi + 0x18], 1
mov dword [esi + 8], ebx
cmp edi, ebp
je 0x4170a0
cmp dword [ebp + 0xc], 0
jl 0x417092
mov eax, dword [edi]
cmp eax, dword [ebp]
jne 0x417092
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x41702f
cmp eax, dword [edi]
jne 0x41702f
mov dword [esp + 0x18], edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41706c
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [esp + 0x18], eax
test eax, eax
je 0x4171fe
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
lea edx, [ecx + ecx + 2]
push edx
lea edx, [edi + 0x10]
push edx
lea ecx, [ecx + ecx + 2]
push ecx
add eax, 0x10
push eax
call fcn.00471b37
add esp, 0x10
lea eax, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x417086
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esi - 4], eax
jmp 0x41709c
mov eax, dword [edx - 0xc]
push eax
push edx
call fcn.00406030
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170eb
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add dword [esp + 0x20], 0x79c
add esi, 0x30
inc ebx
cmp esi, 0x4b6048
jl 0x416e2c
mov ebp, dword [esp + 0x28]
xor ebx, ebx
mov dword [0x4b4840], ebx
mov esi, 0x4b4844
add ebp, 0x98
lea ebx, [ebx]
sub esp, 0x30
mov eax, esp
mov dword [esp + 0x54], esp
push eax
mov edi, esi
call fcn.00407a60
push ebx
mov edi, ebp
call fcn.00407100
add esi, 0x30
inc ebx
add ebp, 0x79c
cmp esi, 0x4b6044
jl 0x417120
mov edi, dword [esp + 0x28]
push 0
push 0
mov ecx, edi
mov dword [edi + 0x1fc], 0
call fcn.00417b20
push 0x4172c0
push fcn.00417230
push 5
push 0x10
lea ecx, [esp + 0x70]
push ecx
call fcn.00471fbe
lea edx, [esp + 0x5c]
mov esi, 1
push edx
mov dword [esp + 0xc4], esi
call fcn.0044b120
add edi, 0x3d1c4
add esp, 4
cmp dword [edi + 0x80], 0
mov dword [edi + 0xd4], esi
je 0x4171b1
mov ecx, edi
call fcn.0043d830
mov ecx, edi
call fcn.0043de60
call fcn.0043da90
push 0x4172c0
push 5
push 0x10
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0xd0], 0xffffffff
call fcn.00472081
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406550
call fcn.00406480
int3