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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44d788
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x410d48
mov eax, dword [edi + 0x10]
and eax, 7
cmp al, 7
jne 0x410d48
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0x18]
cmp eax, ebx
je 0x410d48
push 3
call eax
add esp, 4
cmp eax, ebx
je 0x410d48
mov ecx, eax
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x78]
push ecx
lea eax, [edx - 1]
add edx, 0xffffffec
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
not eax
push edx
mov dword [esp + 0x14], eax
call dword [esp + 0x78]
add esp, 8
test al, al
je 0x410d48
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
push eax
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], ebx
call fcn.00410e30
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 1
call fcn.00410df0
mov eax, dword [edi + 0x14]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], eax
call fcn.00410e00
lea eax, [esp + 0x14]
mov dword [esp + 0x44], 0x410f10
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x24]
cmp eax, ebx
mov dword [esp + 0x68], 2
je 0x410c88
mov ecx, dword [ecx + 0x18]
push ebx
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004106d0
cmp eax, ebx
je 0x410c31
mov edx, dword [eax + 8]
shr edx, 0x1f
not dl
test dl, 1
je 0x410c31
push eax
lea ecx, [esp + 0x18]
call fcn.00410ea0
mov esi, eax
cmp esi, ebx
je 0x410d5e
lea eax, [esp + 0x40]
mov dword [edi + 0x14], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x18], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
lea ecx, [ecx]
mov ecx, dword [esp + 0x78]
mov edx, dword [esi + 8]
push ecx
and edx, 0x7fffffff
push edx
call dword [esp + 0x7c]
add esp, 8
test al, al
je 0x410cdc
mov eax, dword [esp + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov ecx, esi
mov dword [esp + 0x38], ecx
je 0x410c90
mov edx, dword [eax + 0x10]
mov dword [esp + 0x2c], edx
jmp 0x410cca
xor eax, eax
jmp 0x410c31
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x410cc2
push eax
lea ecx, [esp + 0x1c]
call fcn.00410710
cmp eax, ebx
je 0x410cc6
mov ecx, dword [eax + 8]
shr ecx, 0x1f
not cl
test cl, 1
je 0x410cc6
mov edx, dword [esp + 0x38]
mov ecx, eax
mov dword [eax + 0x10], edx
mov dword [esp + 0x38], ecx
jmp 0x410c90
xor eax, eax
jmp 0x410cca
mov ecx, dword [esp + 0x38]
cmp eax, ebx
mov esi, eax
jne 0x410c50
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x14], eax
jmp 0x410d62
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], 3
call fcn.00410e80
cmp eax, ebx
je 0x410d12
mov ecx, dword [esp + 0x3c]
and ecx, eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
push edx
push ecx
call dword [eax + 8]
add esp, 8
lea ecx, [esp + 0x34]
call fcn.00410e80
cmp eax, ebx
jne 0x410cf1
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.00410e80
cmp eax, ebx
je 0x410d48
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push edx
mov edx, dword [esp + 0x34]
and edx, eax
push edx
call dword [ecx + 8]
add esp, 8
lea ecx, [esp + 0x28]
call fcn.00410e80
cmp eax, ebx
jne 0x410d27
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], 4
lea ebx, [ebx]
cmp ecx, ebx
je 0x410d95
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], edx
mov edx, dword [eax]
push edx
mov edx, dword [esp + 0x40]
and edx, ecx
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x40]
add esp, 8
jmp 0x410d70
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.00410e80
cmp eax, ebx
je 0x410dd1
lea ebx, [ebx]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push edx
mov edx, dword [esp + 0x34]
and edx, eax
push edx
call dword [ecx + 8]
add esp, 8
lea ecx, [esp + 0x28]
call fcn.00410e80
cmp eax, ebx
jne 0x410db0
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc