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

Disassembly:
push 0xffffffffffffffff
push 0x10083858
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x27b4]
mov esi, dword [esp + 0x9c]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x2770]
mov dword [esp + 0x3c], ebp
test eax, eax
jle 0x1004b0a7
lea ecx, [esi + 0x277c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jmp 0x1004ac50
mov edx, dword [esp + 0x18]
mov edi, dword [edx]
cmp dword [esi + edi*4 + 0x7438], 2
mov dword [esp + 0x14], edi
jne 0x1004b097
mov eax, dword [esi + edi*4 + 0x5b08]
lea eax, [eax + eax*4]
cmp dword [esi + eax*8 + 0x2778], 3
lea eax, [esi + eax*8 + 0x2778]
jl 0x1004b097
mov ecx, dword [ebx + 0x2794]
sub ecx, dword [ebx + 0x2790]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x1004acad
call fcn.100661d7
mov eax, dword [ebx + 0x2790]
lea edx, [edi + edi*4]
mov ebx, dword [eax + edx*4]
lea ecx, [ebp*4]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
jg 0x1004b090
mov ecx, ebp
neg ecx
add ecx, ecx
add ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov dword [esp + 0x2c], eax
jl 0x1004b090
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push esi
mov dword [eax], edi
call fcn.100217a0
add esp, 8
test al, al
jne 0x1004ad34
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push esi
mov dword [eax], edi
call fcn.10021960
add esp, 8
test al, al
je 0x1004b090
push ecx
mov eax, esp
lea ecx, [esp + 0x60]
mov dword [esp + 0x24], esp
push ecx
mov ecx, esi
mov dword [eax], edi
call fcn.10019ad0
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
xor ebx, ebx
sar eax, 2
mov dword [esp + 0x94], ebx
mov dword [esp + 0x20], ebx
cmp ebx, eax
jae 0x1004b059
mov edx, dword [esp + 0x68]
mov ebp, dword [edx + ebx*4]
mov eax, dword [esi + ebp*4 + 0x5b08]
lea eax, [eax + eax*4]
cmp dword [esi + eax*8 + 0x2778], 3
lea eax, [esi + eax*8 + 0x2778]
jl 0x1004b03b
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x2794]
sub ecx, dword [eax + 0x2790]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x1004adbc
call fcn.100661d7
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x2790]
lea edx, [ebp + ebp*4]
mov eax, dword [ecx + edx*4]
cmp eax, dword [esp + 0x28]
jg 0x1004b03b
cmp eax, dword [esp + 0x2c]
jl 0x1004b03b
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
sub edx, ecx
cmp eax, edx
jle 0x1004b03b
mov edx, dword [esp + 0x1c]
add edx, ecx
cmp eax, edx
jge 0x1004b03b
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push esi
mov dword [eax], ebp
call fcn.100217a0
add esp, 8
test al, al
jne 0x1004ae34
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push esi
mov dword [eax], ebp
call fcn.10021960
add esp, 8
test al, al
je 0x1004b03b
mov eax, dword [esi + edi*4 + 0x5b08]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8 + 0x2778]
mov dword [eax + 0x24], ebp
mov eax, dword [esi + ebp*4 + 0x5b08]
lea ecx, [eax + eax*4]
lea eax, [esi + ecx*8 + 0x2778]
push ecx
mov dword [eax + 0x24], edi
mov eax, esp
lea edx, [esp + 0x48]
mov dword [esp + 0x44], esp
push edx
mov ecx, esi
mov dword [eax], edi
call fcn.10019d60
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
xor ebx, ebx
sar eax, 2
mov byte [esp + 0x94], 1
test eax, eax
jbe 0x1004af22
cmp ebx, eax
jb 0x1004ae97
call fcn.100661d7
mov eax, dword [esp + 0x50]
mov edi, dword [eax + ebx*4]
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [eax], 1
mov eax, esp
mov ecx, esi
mov dword [esp + 0x48], esp
mov dword [eax], edi
call fcn.10016490
test al, al
je 0x1004af0a
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [eax], ecx
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
mov dword [eax], 2
mov eax, esp
lea edx, [esp + 0x40]
mov dword [esp + 0x4c], esp
push edx
mov ecx, esi
mov dword [eax], edi
call fcn.10017390
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1004af0a
mov eax, dword [esi + eax*4 + 0x5b08]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8 + 0x2778]
mov dword [eax + 0x24], ebp
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x1004ae97
mov edi, dword [esp + 0x14]
push ecx
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], esp
push ecx
mov ecx, esi
mov dword [eax], ebp
call fcn.10019d60
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 2
call fcn.10036100
lea ecx, [esp + 0x74]
mov byte [esp + 0x94], 1
call fcn.1003a700
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, ecx
sar eax, 2
xor ebx, ebx
test eax, eax
jbe 0x1004b007
cmp ebx, eax
jb 0x1004af7e
call fcn.100661d7
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx + ebx*4]
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [eax], 2
mov eax, esp
mov ecx, esi
mov dword [esp + 0x48], esp
mov dword [eax], edi
call fcn.10016490
test al, al
je 0x1004afed
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push ecx
mov dword [eax], ebp
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
mov dword [eax], 1
mov eax, esp
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], esp
push edx
mov ecx, esi
mov dword [eax], edi
call fcn.10017390
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004afed
mov eax, dword [esi + eax*4 + 0x5b08]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8 + 0x2778]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, ecx
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x1004af7e
mov edi, dword [esp + 0x14]
mov byte [esp + 0x94], 0
test ecx, ecx
je 0x1004b01c
push ecx
call fcn.100661e7
add esp, 4
mov edx, dword [esp + 0x44]
xor eax, eax
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.100661e7
mov ebx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
inc ebx
sar eax, 2
mov dword [esp + 0x20], ebx
cmp ebx, eax
jb 0x1004ad69
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x94], 0xffffffff
cmp eax, ebx
je 0x1004b077
push eax
call fcn.100661e7
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x5c]
push eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.100661e7
add esp, 4
mov ebx, dword [esp + 0xa0]
add dword [esp + 0x18], 0x28
sub dword [esp + 0x24], 1
jne 0x1004ac50
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret