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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x462423
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x47b6e0]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x47b6e0]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0xd8]
push edi
push 0x46ae1c
push 4
xor ebx, ebx
push ebx
push 0x46ba3c
mov dword [esp + 0x28], esi
call dword [0x4646e4]
cmp eax, ebx
jl 0x410b3a
mov ecx, dword [esi + 0xe8]
cmp ecx, ebx
je 0x410a93
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0xe8], ebx
push 0x24
call fcn.00422185
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov dword [esp + 0x288], ebx
je 0x410ab5
push esi
push eax
call fcn.004030a0
jmp 0x410ab7
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x288], 0xffffffff
mov dword [esi + 0xe8], eax
je 0x410af0
push ebx
mov ecx, eax
call fcn.0042c4db
mov ecx, dword [edi]
lea edx, [esi + 0x4dc]
push edx
push ebx
push eax
push 0x46ba2c
push ecx
mov dword [esi + 0x4e4], eax
call fcn.0043487d
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea edi, [esi + 0xe0]
push edi
push 0x46ba0c
push eax
call edx
test eax, eax
jl 0x41134c
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x54]
push eax
call edx
mov edi, dword [edi]
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esi + 0xf0]
push ecx
push edi
call edx
test eax, eax
jl 0x41134c
mov dword [esi + 0x4f0], 1
mov eax, dword [esi + 0x4d4]
cmp dword [esi + 0x4d0], eax
lea edi, [esi + 0x4cc]
mov dword [esp + 0x18], eax
jbe 0x410b57
call fcn.0044a28c
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x410b64
call fcn.0044a28c
cmp ebx, dword [esp + 0x18]
je 0x410b7d
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [edi + 8]
call fcn.004078d0
add esp, 4
mov dword [edi + 8], eax
xor ebx, ebx
cmp dword [esi + 0xf0], ebx
mov dword [esi + 0x510], ebx
jbe 0x410c0b
lea ecx, [ecx]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xe0]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x410bfd
cmp word [esp + 0x58], 0
je 0x410bbb
add dword [esi + 0x510], 1
mov eax, 0x10000
test dword [esp + 0x4c], eax
je 0x410bdf
test dword [esp + 0x48], eax
je 0x410bdf
cmp dword [esi + 0x50c], 0
je 0x410bdf
mov dword [esi + 0x508], 0
lea eax, [esp + 0x40]
mov esi, edi
call fcn.004072c0
mov ecx, dword [esp + 0x14]
add ebx, 1
cmp ebx, dword [ecx + 0xf0]
jb 0x410b90
mov esi, ecx
jmp 0x410c0b
push ebx
push 0x46d390
call fcn.004220c0
add esp, 8
mov ebx, dword [esi + 0x4c4]
add esi, 0x4bc
cmp dword [esi + 4], ebx
jbe 0x410c21
call fcn.0044a28c
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x18], eax
jbe 0x410c36
call fcn.0044a28c
mov eax, dword [esp + 0x18]
push ebx
push esi
push eax
push esi
lea edx, [esp + 0x40]
push edx
push esi
call fcn.004025c0
mov esi, dword [esp + 0x14]
push esi
call fcn.0040bf50
call fcn.00411370
mov eax, dword [esi + 0x4b4]
push 1
push eax
push esi
call fcn.0040bc80
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea esp, [esp]
mov eax, dword [edi + 4]
test eax, eax
je 0x4112ae
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4112ae
push 0x206
lea eax, [esp + 0x72]
push 0
push eax
mov word [esp + 0x78], 0x30
call fcn.0044b520
add esp, 0xc
call fcn.0042b96b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4112a4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x288], 1
mov eax, dword [edi + 4]
test eax, eax
je 0x410d04
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x410d09
call fcn.0044a28c
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx]
push eax
push 0x46d0bc
push 0x46cbf8
lea ecx, [esp + 0x28]
push 0x46c504
push ecx
call fcn.00409cb0
xor eax, eax
add esp, 0x14
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea edx, [esp + 0x20]
push edx
push 0x20019
mov byte [esp + 0x290], 2
mov esi, dword [esp + 0x24]
push eax
push esi
push 0x80000001
mov dword [esp + 0x40], 0x104
call dword [0x464004]
test eax, eax
jne 0x410ddc
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
push 0
push 0
push 0x46d0cc
push edx
call dword [0x464024]
test eax, eax
jne 0x410dd1
mov eax, dword [esp + 0x20]
push eax
call dword [0x464020]
mov ecx, 0x46b674
lea eax, [esp + 0x6c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411021
test dx, dx
je 0x410dca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411021
add eax, 4
add ecx, 4
test dx, dx
jne 0x410da0
xor eax, eax
jmp 0x411026
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x464020]
mov eax, dword [edi + 4]
test eax, eax
je 0x410dfd
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x410e02
call fcn.0044a28c
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x10]
cmp word [eax + edx + 0x18], 1
jne 0x410f37
mov eax, edx
test eax, eax
je 0x410e35
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x410e3a
call fcn.0044a28c
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
cmp dword [edx + ecx + 0x24], 0
jne 0x410f37
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xe0]
mov eax, ecx
test eax, eax
je 0x410e76
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x410e7b
call fcn.0044a28c
mov eax, dword [edi + 4]
add eax, dword [esp + 0x10]
mov ecx, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x2c]
push 0xffffffffffffffff
push edx
push ebx
push esi
call eax
test eax, eax
jl 0x41120d
mov eax, dword [edi + 4]
test eax, eax
je 0x410eba
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x410ebf
call fcn.0044a28c
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov eax, esi
mov dword [edx + ecx + 0x1c], 1
call fcn.00403380
lea eax, [esp + 0x24]
push eax
push 0x20006
push 0
push esi
push 0x80000001
call dword [0x464004]
test eax, eax
jne 0x41120d
mov ecx, dword [esp + 0x24]
push 0xa
push 0x46cce0
push 1
push eax
push 0x46d0cc
push ecx
call dword [0x46401c]
test eax, eax
jne 0x410f27
mov edx, dword [esp + 0x24]
push edx
call dword [0x464020]
jmp 0x41120d
mov eax, dword [esp + 0x24]
push eax
call dword [0x464020]
jmp 0x41120d
mov eax, dword [edi + 4]
test eax, eax
je 0x410f58
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x410f5d
call fcn.0044a28c
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push 0x20006
push 0
push esi
push 0x80000001
mov dword [ecx + edx + 0x1c], 1
call dword [0x464004]
test eax, eax
je 0x410fc3
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0xf003f
push 0
push 0x46b674
push 0
push esi
push 0x80000001
call dword [0x464010]
test eax, eax
je 0x410fbd
mov eax, dword [esp + 0x28]
push eax
call dword [0x464020]
call dword [0x464368]
lea ecx, [esp + 0x18]
push ecx
push 0x20006
push 0
push esi
push 0x80000001
call dword [0x464004]
test eax, eax
jne 0x41120d
mov edx, dword [esp + 0x18]
push 0xa
push 0x46cce0
push 1
push eax
push 0x46d0cc
push edx
call dword [0x46401c]
test eax, eax
jne 0x411011
mov eax, dword [esp + 0x18]
push eax
call dword [0x464020]
jmp 0x41120d
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x464020]
jmp 0x41120d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4110f2
mov ecx, 0x46cce0
lea eax, [esp + 0x6c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41105d
test dx, dx
je 0x411059
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41105d
add eax, 4
add ecx, 4
test dx, dx
jne 0x411037
xor eax, eax
jmp 0x411062
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4110f2
mov eax, dword [edi + 4]
test eax, eax
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0xe0]
je 0x411095
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41109a
call fcn.0044a28c
mov eax, dword [edi + 4]
add eax, dword [esp + 0x10]
mov ecx, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x2c]
push 0
push edx
push ebx
push esi
call eax
test eax, eax
jl 0x41120d
mov eax, dword [edi + 4]
test eax, eax
je 0x4110d9
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4110de
call fcn.0044a28c
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [edx + ecx + 0x1c], 0
jmp 0x41120d
mov eax, dword [edi + 4]
test eax, eax
je 0x411113
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x411118
call fcn.0044a28c
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp word [eax + esi + 0x18], 1
jne 0x4111dc
test eax, eax
je 0x411149
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41114e
call fcn.0044a28c
mov ecx, dword [edi + 4]
cmp dword [esi + ecx + 0x24], 0
jne 0x4111dc
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0xe0]
mov eax, ecx
test eax, eax
je 0x411186
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x41118b
call fcn.0044a28c
mov eax, dword [edi + 4]
add eax, dword [esp + 0x10]
mov ecx, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x2c]
push 0xffffffffffffffff
push edx
push ebx
push esi
call eax
test eax, eax
jl 0x41120d
mov eax, dword [edi + 4]
test eax, eax
je 0x4111c6
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4111cb
call fcn.0044a28c
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [edx + ecx + 0x1c], 1
jmp 0x41120d
mov eax, dword [edi + 4]
test eax, eax
je 0x4111fd
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x411202
call fcn.0044a28c
mov eax, dword [edi + 4]
mov dword [esi + eax + 0x1c], 1
mov eax, dword [edi + 4]
test eax, eax
je 0x41122e
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x411233
call fcn.0044a28c
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
cmp dword [ecx + edx + 0x20], 0
jne 0x411262
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41128b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004114e0
mov dword [esp + 0x288], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 1
add dword [esp + 0x10], 0x2c
jmp 0x410c70
push 0x80004005
call fcn.00401090
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x4ac]
test eax, eax
je 0x411300
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x4112db
cmp dword [ecx + 0x110], 0
je 0x4112db
mov eax, ecx
mov edx, dword [eax]
mov eax, dword [edx + 0x164]
call eax
mov ecx, dword [edi + 0x4ac]
mov eax, dword [ecx + 0xcc]
test eax, eax
je 0x411300
cmp dword [eax + 0x1c8], 0
je 0x411300
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x164]
call eax
cmp dword [edi + 0xf0], 0
mov dword [edi + 0x100], 7
jne 0x411321
call fcn.00428f17
call fcn.00428f17
push 0x79
jmp 0x41132d
call fcn.00428f17
call fcn.00428f17
push 0x6f
mov eax, dword [eax + 0xc]
push eax
call dword [0x464620]
mov dword [edi + 0x108], eax
add edi, 0xf4
push edi
push 1
call dword [0x4643bc]
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00449f9d
mov esp, ebp
pop ebp
ret