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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1021d6b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
cmp byte [esi + 0x154], 0
je 0x100d0501
call fcn.100d291c
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x88]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.1000e87b
mov eax, dword [esi + 0x68]
sub esp, 0x10
add eax, dword [esi + 0x58]
add eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x60]
add ecx, dword [esi + 0x50]
mov ebx, dword [esi + 0x64]
add ecx, dword [esi + 0x40]
add ebx, dword [esi + 0x54]
mov edi, dword [esp + 0x68]
add ebx, dword [esi + 0x44]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
sub edx, ecx
mov eax, dword [esi + 0x5c]
add eax, dword [esi + 0x4c]
add eax, dword [esi + 0x3c]
mov esi, dword [esp + 0x70]
sub edi, eax
mov ecx, dword [esp + 0x74]
mov eax, esp
add ecx, dword [esp + 0x2c]
add esi, ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x74], ecx
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov ecx, edi
mov dword [eax + 8], esi
mov eax, dword [edi]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
call dword [eax + 0xa4]
test al, al
je 0x100d0907
mov edx, dword [edi]
sub esp, 0x10
mov ecx, edi
push esp
call dword [edx + 0xac]
lea ecx, [esp + 0x68]
call fcn.1000e933
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push dword [ebp + 0xc]
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x480]
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, dword [ebp + 0x14]
add edx, eax
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x58]
add dword [esp + 0x60], ecx
add esi, ecx
add dword [esp + 0x64], eax
mov ecx, edi
mov dword [esp + 0x5c], edx
mov dword [ebp + 0x14], edx
mov edx, dword [edi]
push esp
mov dword [esp + 0x5c], esi
mov dword [ebp + 0x10], esi
call dword [edx + 0xac]
mov eax, dword [esp + 0x58]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + 0xc], eax
call fcn.1003cdf7
add esp, 0x20
test al, al
je 0x100d0907
mov ecx, ebx
call fcn.1006c4f5
mov esi, eax
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.1006c56a
push ecx
push ecx
mov ecx, dword [ebp + 0x10]
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp + 0x14]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x38]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x48c]
mov eax, dword [esp + 0x30]
push ecx
push ecx
mov ecx, esp
push 0
push ebx
push dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 4], eax
lea ecx, [ebx + 0xdc]
push edi
call fcn.1008ff49
mov eax, dword [esp + 0x30]
mov ecx, ebx
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x14], eax
call fcn.100cc9fb
add dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 0x98]
call fcn.1008ff20
test al, al
jne 0x100d06b1
test esi, esi
jle 0x100d06b3
mov al, 1
xor cl, cl
mov byte [esp + 0xf], al
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], al
test al, al
je 0x100d06e4
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call dword [eax + 0xc4]
mov byte [esp + 0x3c], al
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0x3c]
and dword [esp + 0x94], 0
test al, al
je 0x100d06f8
test cl, cl
je 0x100d08ee
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
neg ecx
mov edx, dword [esp + 0x4c]
neg eax
push ecx
add edx, eax
mov dword [esp + 0x20], ecx
push ecx
mov eax, esp
mov dword [esp + 0x20], edx
mov dword [eax], ecx
mov ecx, ebx
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
call fcn.100d0412
pop ecx
pop ecx
cmp esi, eax
jle 0x100d0731
mov dword [esp + 0x1c], esi
jmp 0x100d0754
mov edx, dword [ebp + 0xc]
push ecx
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.100d0412
pop ecx
pop ecx
mov esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x100d0767
mov eax, dword [eax - 4]
mov dword [esp + 0x10], eax
jmp 0x100d076c
and dword [esp + 0x10], 0
mov ecx, dword [ebx + 0x2c]
lea ecx, [ecx + 0x4a4]
call fcn.1002b74a
cmp eax, 8
mov ecx, esi
sete byte [esp + 0x28]
cmp dword [esp + 0x14], esi
cmovg ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x10]
jge 0x100d0886
mov eax, dword [ebx + 0xcc]
push dword [ebp + 0xc]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.1006d490
test al, al
je 0x100d086f
mov eax, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call dword [eax + 0x24c]
mov ecx, eax
call fcn.1000e8ff
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x6c], eax
jg 0x100d0882
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x74], eax
jl 0x100d086f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp eax, 4
jne 0x100d082e
push dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
push ecx
push ecx
mov edx, esp
mov ecx, esi
push dword [ebp + 0xc]
push edi
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], eax
mov eax, dword [esi]
call dword [eax + 0x54c]
jmp 0x100d086f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov esi, dword [esi + 0x7c]
add esi, dword [ebp + 0x14]
push ecx
mov edi, dword [eax + 0x78]
mov ecx, eax
add edi, dword [ebp + 0x10]
call fcn.100303e8
push ecx
push ecx
mov edx, esp
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add ecx, esi
push dword [ebp + 0xc]
mov dword [edx + 4], ecx
add eax, edi
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov dword [edx], eax
push edi
mov eax, dword [ecx]
call dword [eax + 0x28c]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x10]
jl 0x100d079b
mov esi, dword [esp + 0x1c]
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push 0
push 0x8000000
call fcn.100022cf
add esp, 0x10
test al, al
jne 0x100d08d0
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x4f8]
cmp eax, 0x80000000
je 0x100d08b3
test eax, eax
jne 0x100d08ee
lea eax, [esp + 0x2c]
add ecx, 0x98
push eax
call fcn.1001b9bf
cmp dword [eax], 0x80000000
je 0x100d08ee
cmp dword [eax], 2
jl 0x100d08ee
push ecx
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push esi
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, ebx
push edi
call fcn.100d091e
or dword [esp + 0x94], 0xffffffff
cmp byte [esp + 0x3c], 0
je 0x100d0907
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc8]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10