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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10140004]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [eax + 0x24]
mov edi, dword [edx + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x6c], ecx
mov eax, dword [eax]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], eax
test edi, edi
jne 0x100dad7e
push edi
push 1
push edi
mov edx, 0x101315db
jmp 0x100db3c2
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 8], eax
cmp eax, 5
je 0x100dadfc
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x30]
push eax
push 0x100d8700
lea edx, [esp + 0x30]
call fcn.100d86a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100db306
cmp dword [esp + 8], 2
je 0x100dadee
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x30]
push eax
push 0x100d8700
lea edx, [esp + 0x30]
call fcn.100d86a0
add esp, 8
mov esi, eax
test esi, esi
jne 0x100db306
mov eax, dword [esp + 0x38]
jmp 0x100dae0c
mov eax, dword [edi + 0x14]
xor esi, esi
mov dword [esp + 0x34], 1
mov eax, dword [eax + 0x40]
lea edi, [eax + eax*2]
mov dword [esp + 0x60], eax
shl edi, 3
mov dword [esp + 8], edi
call fcn.100be130
test eax, eax
jne 0x100db301
push eax
push edi
call fcn.1001cb50
mov edi, eax
add esp, 8
test edi, edi
je 0x100db2fa
push dword [esp + 8]
push 0
push edi
call fcn.101062c0
mov dword [esp + 0x94], edi
xor edx, edx
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x28], edx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, edi
mov dword [esp + 0x70], ecx
cmp dword [eax + 0x18], edx
jle 0x100db306
mov edi, dword [edi + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov eax, dword [edi]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
cmp eax, 5
je 0x100daf12
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x100dac30
lea edx, [esp + 0x14]
call fcn.100d86a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100db306
cmp dword [esp + 8], 2
je 0x100dafdc
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x70]
push eax
push 0x100dac30
lea edx, [esp + 0x14]
call fcn.100d86a0
add esp, 8
mov esi, eax
jmp 0x100dafdc
lea eax, [esp + 0x5c]
xorps xmm0, xmm0
push eax
push edx
mov edx, edi
movlpd qword [esp + 0x38], xmm0
call fcn.100cb530
mov esi, eax
add esp, 8
mov eax, dword [edi + 0x14]
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], esi
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x14], ecx
test edi, edi
je 0x100daf8a
mov al, byte [edi]
test al, al
jns 0x100daf6e
lea edx, [esp + 0x58]
mov ecx, edi
call fcn.100c31b0
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x58]
add edi, edx
add eax, 0xfffffffe
mov dword [esp + 0x5c], edi
cdq
mov dword [esp + 0x18], edx
jmp 0x100daf96
movzx eax, al
mov edx, 1
add edi, edx
mov dword [esp + 0x58], eax
add eax, 0xfffffffe
mov dword [esp + 0x5c], edi
cdq
mov dword [esp + 0x18], edx
jmp 0x100daf96
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x100dafdc
lea esi, [ecx - 1]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x88]
lea ecx, [edx + edx*2]
inc edx
lea ecx, [eax + ecx*8]
mov dword [esp + 0x78], edx
mov eax, esi
mov dword [ecx], edi
cdq
dec esi
sub dword [esp + 0x14], 1
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0xc], eax
jne 0x100dafa1
mov esi, dword [esp + 8]
test esi, esi
jne 0x100db306
mov eax, dword [esp + 0x28]
inc eax
push eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push dword [eax + 0xc]
call fcn.10046420
push dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0xc]
call fcn.10045fd0
add esp, 0x10
test edi, edi
jne 0x100db034
mov edi, dword [esp + 0x10]
push dword [esp + 0xc]
push dword [edi + 0xc]
call fcn.10046670
add esp, 8
cmp eax, 5
jne 0x100db301
jmp 0x100db29f
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax + 0x24]
mov edx, dword [edi + 0x14]
call fcn.100cc610
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100db306
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x30]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 8], eax
test eax, eax
jne 0x100db283
mov eax, dword [esp + 0x60]
xor esi, esi
mov dword [esp + 0x14], esi
mov edi, 0x7fffffff
test eax, eax
jle 0x100db2b9
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], eax
cmp dword [ecx], 0
je 0x100db0ef
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
sbb esi, dword [ecx + 0x14]
mov dword [esp + 0x30], eax
mov eax, edi
cdq
cmp esi, edx
jg 0x100db0e7
jl 0x100db0d9
cmp dword [esp + 0x30], eax
jae 0x100db0e7
mov edi, dword [ecx + 8]
mov esi, ecx
sub edi, dword [ecx + 0x10]
mov dword [esp + 0x14], esi
jmp 0x100db0eb
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x18
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x100db0b5
test esi, esi
je 0x100db2b9
mov eax, dword [esi]
mov cl, byte [eax]
test cl, 0xfe
jne 0x100db114
mov dword [esi], 0
jmp 0x100db147
test cl, cl
jns 0x100db12d
lea edx, [esp + 0x64]
mov ecx, eax
call fcn.100c31b0
mov ecx, dword [esp + 0x64]
mov edx, eax
mov eax, dword [esi]
jmp 0x100db139
movzx ecx, cl
mov edx, 1
mov dword [esp + 0x64], ecx
add eax, edx
mov dword [esi], eax
lea eax, [ecx - 2]
cdq
add dword [esi + 8], eax
adc dword [esi + 0xc], edx
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x20]
nop
cmp dword [esp + 0x48], edi
jge 0x100db182
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x30]
mov eax, dword [esi + 0x14]
call eax
add esp, 0x18
test eax, eax
je 0x100db150
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x100db270
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
sub eax, ecx
sub esi, dword [esp + 0x88]
push eax
mov eax, 0x2aaaaaab
imul esi
push ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [esp + 0x34]
lea eax, [esp + 0xa8]
push str._d__d__d__d
push eax
push 0x40
call fcn.1001fd70
lea esi, [esp + 0xb4]
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100db1d8
mov eax, dword [esp + 0x44]
sub esi, ecx
add eax, esi
mov dword [esp + 0x30], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x54]
cmp ecx, eax
jl 0x100db23b
cdq
mov ecx, eax
mov edi, edx
mov eax, esi
cdq
add ecx, eax
adc edi, edx
add ecx, 0x64
mov dword [esp + 0x54], ecx
adc edi, 0
call fcn.100be130
test eax, eax
jne 0x100db2d1
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
push edi
push eax
call fcn.1001cef0
add esp, 8
test eax, eax
je 0x100db2d1
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x100db23f
mov edi, dword [esp + 0x2c]
push esi
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x4c]
add eax, edi
push eax
call fcn.10107750
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 8], 0
mov byte [eax + edi], 0
jmp 0x100db093
cmp eax, 0x65
jne 0x100db27f
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], 0
je 0x100db2e3
mov edi, dword [esp + 0x10]
push dword [esp + 0x1c]
xor esi, esi
cmp eax, 0x65
cmovne esi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
jne 0x100db306
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
cmp edx, dword [eax + 0x18]
jge 0x100db306
mov ecx, dword [esp + 0x70]
jmp 0x100dae82
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
mov edi, dword [esp + 0x14]
add esp, 4
xor esi, esi
jmp 0x100db29f
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
jmp 0x100db301
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov esi, 0x10b
jmp 0x100db306
mov dword [esp + 0x88], edi
mov esi, 7
push dword [esp + 0x88]
call fcn.1001cd70
mov eax, dword [esp + 0x28]
add esp, 4
mov edi, dword [eax + 0xfc]
test edi, edi
je 0x100db375
mov eax, dword [edi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 8], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100db346
push ecx
call dword [0x10140b48]
mov eax, dword [esp + 0xc]
add esp, 4
push edi
push eax
call fcn.1001ce80
mov eax, dword [esp + 0x10]
add esp, 8
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100db365
push eax
call dword [0x10140b50]
add esp, 4
push dword [esp + 0x30]
call fcn.100446d0
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0xfc], 0
test esi, esi
je 0x100db3ad
push esi
push dword [esp + 0x70]
call fcn.100453b0
push dword [esp + 0x34]
call fcn.1001cd70
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
dec eax
mov ecx, dword [esp + 0x6c]
push fcn.1001cd70
push 1
push eax
call fcn.10044db0
mov ecx, dword [esp + 0xe8]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.101049d1
mov esp, ebp
pop ebp
ret