Function at 0x100dac80
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 0x100dacde
push edi
push 1
push edi
mov edx, 0x101315db
jmp 0x100db322
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 0x100dad5c
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x30]
push eax
push 0x100d8660
lea edx, [esp + 0x30]
call fcn.100d8600
mov esi, eax
add esp, 8
test esi, esi
jne 0x100db266
cmp dword [esp + 8], 2
je 0x100dad4e
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x30]
push eax
push 0x100d8660
lea edx, [esp + 0x30]
call fcn.100d8600
add esp, 8
mov esi, eax
test esi, esi
jne 0x100db266
mov eax, dword [esp + 0x38]
jmp 0x100dad6c
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.100be0c0
test eax, eax
jne 0x100db261
push eax
push edi
call fcn.1001cb50
mov edi, eax
add esp, 8
test edi, edi
je 0x100db25a
push dword [esp + 8]
push 0
push edi
call fcn.10106200
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 0x100db266
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 0x100dae72
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x100dab90
lea edx, [esp + 0x14]
call fcn.100d8600
mov esi, eax
add esp, 8
test esi, esi
jne 0x100db266
cmp dword [esp + 8], 2
je 0x100daf3c
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x70]
push eax
push 0x100dab90
lea edx, [esp + 0x14]
call fcn.100d8600
add esp, 8
mov esi, eax
jmp 0x100daf3c
lea eax, [esp + 0x5c]
xorps xmm0, xmm0
push eax
push edx
mov edx, edi
movlpd qword [esp + 0x38], xmm0
call fcn.100cb4d0
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 0x100daeea
mov al, byte [edi]
test al, al
jns 0x100daece
lea edx, [esp + 0x58]
mov ecx, edi
call fcn.100c3140
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 0x100daef6
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 0x100daef6
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x100daf3c
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 0x100daf01
mov esi, dword [esp + 8]
test esi, esi
jne 0x100db266
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.100463e0
push dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0xc]
call fcn.10045f90
add esp, 0x10
test edi, edi
jne 0x100daf94
mov edi, dword [esp + 0x10]
push dword [esp + 0xc]
push dword [edi + 0xc]
call fcn.10046630
add esp, 8
cmp eax, 5
jne 0x100db261
jmp 0x100db1ff
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.100cc5b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100db266
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 0x100db1e3
mov eax, dword [esp + 0x60]
xor esi, esi
mov dword [esp + 0x14], esi
mov edi, 0x7fffffff
test eax, eax
jle 0x100db219
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], eax
cmp dword [ecx], 0
je 0x100db04f
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 0x100db047
jl 0x100db039
cmp dword [esp + 0x30], eax
jae 0x100db047
mov edi, dword [ecx + 8]
mov esi, ecx
sub edi, dword [ecx + 0x10]
mov dword [esp + 0x14], esi
jmp 0x100db04b
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x18
sub eax, 1
mov dword [esp + 0x18], eax
jne 0x100db015
test esi, esi
je 0x100db219
mov eax, dword [esi]
mov cl, byte [eax]
test cl, 0xfe
jne 0x100db074
mov dword [esi], 0
jmp 0x100db0a7
test cl, cl
jns 0x100db08d
lea edx, [esp + 0x64]
mov ecx, eax
call fcn.100c3140
mov ecx, dword [esp + 0x64]
mov edx, eax
mov eax, dword [esi]
jmp 0x100db099
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 0x100db0e2
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 0x100db0b0
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x100db1d0
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 0x100db138
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 0x100db19b
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.100be0c0
test eax, eax
jne 0x100db231
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
push edi
push eax
call fcn.1001cef0
add esp, 8
test eax, eax
je 0x100db231
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x100db19f
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.10107690
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 8], 0
mov byte [eax + edi], 0
jmp 0x100daff3
cmp eax, 0x65
jne 0x100db1df
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], 0
je 0x100db243
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 0x100db266
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
cmp edx, dword [eax + 0x18]
jge 0x100db266
mov ecx, dword [esp + 0x70]
jmp 0x100dade2
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 0x100db1ff
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
jmp 0x100db261
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov esi, 0x10b
jmp 0x100db266
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 0x100db2d5
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 0x100db2a6
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 0x100db2c5
push eax
call dword [0x10140b50]
add esp, 4
push dword [esp + 0x30]
call fcn.10044690
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0xfc], 0
test esi, esi
je 0x100db30d
push esi
push dword [esp + 0x70]
call fcn.10045370
push dword [esp + 0x34]
call fcn.1001cd70
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10104901
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.10044d70
mov ecx, dword [esp + 0xe8]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.10104901
mov esp, ebp
pop ebp
ret