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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x104230a4]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, ebx
push esi
xor esi, esi
mov dword [esp + 0x18], ecx
and eax, 2
push edi
mov dword [esp + 0xc], eax
je 0x1006d4fb
test bl, 4
mov esi, 2
mov eax, 0x102
cmovne esi, eax
mov eax, esi
push 0x1a4
or eax, 0x8000
push eax
push ecx
call fcn.102130d2
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x1006d539
mov dword [0x104e712c], 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.100a9f90
mov esp, ebp
pop ebp
ret
mov eax, ebx
and eax, 0x10
mov dword [esp + 0x18], eax
jne 0x1006d560
mov edx, dword [esp + 0xc]
mov eax, ebx
and eax, 0x20
mov ecx, edi
push eax
call fcn.1006f530
add esp, 4
test eax, eax
je 0x1006d6c7
mov eax, ebx
and eax, 0xa
cmp al, 0xa
jne 0x1006d58e
push 0
push edi
call fcn.1020dd3a
add esp, 8
cmp eax, 0xffffffff
jne 0x1006d58e
push edi
call fcn.10217585
mov dword [0x104e712c], 0xa
jmp 0x1006d988
lea eax, [esp + 0x38]
push eax
push edi
call fcn.1020ee7d
add esp, 8
cmp eax, 0xffffffff
je 0x1006d978
test dword [esp + 0x3e], 0x8000
je 0x1006d978
mov ax, word [esp + 0x3c]
test ax, ax
jne 0x1006d5d8
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
call fcn.10070d30
cmp eax, 0xffffffff
je 0x1006d978
mov ax, word [esp + 0x3c]
cmp dword [esp + 0xc], 0
movzx eax, ax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
je 0x1006d781
test eax, eax
jne 0x1006d781
push 0x30
push eax
lea eax, [esp + 0x74]
push eax
call fcn.101fd960
mov al, byte [0x10410110]
add esp, 0xc
movq xmm0, qword [str._depot__n_f]
mov byte [esp + 0x74], al
lea eax, [esp + 0x78]
movq qword [esp + 0x6c], xmm0
push 0xe
push 0x10410114
push eax
call fcn.1006d360
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 1
mov ecx, 0x1fff
cmovl eax, ecx
mov ecx, eax
call fcn.1006f960
mov dword [esp + 0xc], eax
mov dword [esp + 0x8c], eax
push 0
shl eax, 2
add eax, 0x30
mov dword [esp + 0x98], 0
push 0
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x90], eax
call fcn.10213ae9
add esp, 0xc
test eax, eax
je 0x1006d6a8
push edi
mov dword [0x104e712c], 0xd
call fcn.10217585
jmp 0x1006d988
push 0x30
lea edx, [esp + 0x70]
mov ecx, edi
call fcn.1006f5b0
add esp, 4
cmp eax, 0x30
je 0x1006d6d2
mov dword [0x104e712c], 0xf
push edi
call fcn.10217585
jmp 0x1006d988
test bl, 0x40
je 0x1006d707
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x37]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x3f], 0
lea edx, [ebx - 1]
call fcn.1006f610
add esp, 8
test eax, eax
jne 0x1006d785
push edi
call fcn.10217585
jmp 0x1006d988
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101fff31
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1006d966
mov ecx, dword [esp + 0xc]
lea eax, [ecx*4]
push eax
push 0
push ebx
call fcn.101fd960
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x30
lea eax, [ecx*4]
mov ecx, edi
push eax
push ebx
call fcn.1006f610
add esp, 8
push ebx
test eax, eax
jne 0x1006d779
call fcn.101ff0c2
add esp, 4
push edi
call fcn.10217585
jmp 0x1006d988
call fcn.101ff0c2
add esp, 4
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x6c]
xor edx, edx
push 0x30
push eax
mov ecx, edi
call fcn.1006f770
add esp, 8
test eax, eax
jne 0x1006d7b1
push edi
call fcn.10217585
mov dword [0x104e712c], 3
jmp 0x1006d988
cmp dword [esp + 0x18], 0
jne 0x1006d7dc
lea eax, [esp + 0x6c]
cmp dword [eax], 0x7065645b
jne 0x1006d79c
cmp dword [eax + 4], 0xa5d746f
jne 0x1006d79c
cmp byte [eax + 8], 0xc
jne 0x1006d79c
cmp dword [esp + 0x84], ebx
jne 0x1006d79c
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
cmp eax, 1
jl 0x1006d79c
test ecx, ecx
js 0x1006d79c
lea ecx, [eax*4 + 0x30]
mov dword [esp + 0x14], ecx
cmp ebx, ecx
jl 0x1006d79c
and esi, 2
mov edx, ecx
push ecx
mov eax, esi
mov dword [esp + 0x1c], esi
push edi
or eax, 1
push ecx
add eax, eax
push eax
call fcn.10070de0
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x1006d844
push edi
call fcn.10217585
mov dword [0x104e712c], 7
jmp 0x1006d988
push 0x50
mov dword [esp + 0x10], 0
call fcn.101fff31
mov esi, eax
add esp, 4
test esi, esi
je 0x1006d93c
mov ecx, dword [esp + 0x1c]
call fcn.1006f4e0
mov dword [esp + 0xc], eax
test eax, eax
je 0x1006d93c
push 0x80
call fcn.101fff31
mov edx, eax
add esp, 4
test edx, edx
je 0x1006d93e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x24], eax
lea eax, [ecx + 0x30]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x28], eax
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], edx
nop dword [eax]
mov eax, dword [esi + 0x3c]
mov dword [ecx + eax], 0xffffffff
mov eax, dword [esi + 0x3c]
mov dword [ecx + eax + 4], 0xffffffff
add ecx, 8
cmp ecx, 0x80
jl 0x1006d8f0
mov dword [esi + 0x40], 0x20
mov eax, esi
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.100a9f90
mov esp, ebp
pop ebp
ret
xor edx, edx
push edx
call fcn.101ff0c2
mov eax, dword [esp + 0x10]
add esp, 4
push eax
call fcn.101ff0c2
add esp, 4
push esi
call fcn.101ff0c2
mov ecx, dword [esp + 0x14]
add esp, 4
call fcn.10070f30
push edi
call fcn.10217585
mov dword [0x104e712c], 6
jmp 0x1006d988
push edi
call fcn.10217585
mov dword [0x104e712c], 0xc
mov ecx, dword [esp + 0xa0]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a9f90
mov esp, ebp
pop ebp
ret