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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10149c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push esi
lea eax, [esp + 0x124]
push edi
push eax
call fcn.100d251e
pop ecx
push 0x10
pop ecx
mov esi, eax
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
push 2
pop esi
mov dword [esp + 0x1c], 0xfffffffc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], 0x47f1a969
push esi
call fcn.10013ee8
mov dword [esp + 0x20], 0xffff
xor ebx, ebx
mov dword [esp + 0x24], 0xfffd
mov dword [esp + 0x14], 0x8aab5641
mov dword [esp + 0x18], 0x87b8b0d5
mov dword [esp + 0x18], ebx
jmp 0x100d57ae
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x75158018
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x100d579b
mov dword [esp + 0x18], ebx
jmp 0x100d57ca
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x78], 0xaa237f4a
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x100d57ba
dec dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
setl cl
sub ecx, dword [edi + 4]
neg ecx
sbb ecx, ecx
inc ecx
inc dword [esp + 0x24]
cmp eax, ecx
jle 0x100d5801
xor edx, edx
inc edx
jmp 0x100d5803
mov edx, ebx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
add ecx, dword [eax]
add ecx, edx
je 0x100d581c
cmp dword [esp + 0x20], ebx
je 0x100d581c
xor esi, esi
inc esi
jmp 0x100d581e
mov esi, ebx
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
sub edx, esi
cmp edx, eax
mov eax, dword [esp + 0x14]
setl cl
add eax, ecx
mov dword [edi + 4], ecx
xor ecx, ecx
cmp eax, 0xffffffff
setge cl
imul ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x100d5860
mov eax, dword [esp + 0x2c]
cmp dword [eax], ebx
jne 0x100d5860
mov eax, ebx
jmp 0x100d5863
xor eax, eax
inc eax
xor edx, edx
cmp eax, 0xb8d8
mov eax, dword [esp + 0x1c]
setle dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
jmp 0x100d5894
mov dword [esp + 0x10], 0xfffffff6
cmp dword [esp + 0x10], ebx
jne 0x100d589b
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffec
jg 0x100d5882
lea ecx, [esp + 0x2c]
call fcn.100144eb
mov dword [esp + 0x10], ebx
xor edx, edx
mov dword [esp + 0x10], 0x184c506d
or edi, 0xffffffff
mov dword [esp + 0x10], 0x7cfa
inc edx
mov dword [esp + 0x10], 0x57d67001
mov dword [esp + 0x10], 0xf948
mov dword [esp + 0x10], 0xceff
mov dword [esp + 0x1c], ebx
jmp 0x100d58ec
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x64], 0xb1c2a2c7
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jl 0x100d58dc
inc dword [esp + 0x10]
cmp dword [ebp + 8], ebx
je 0x100d5e03
mov dword [esp + 0x14], 0x1928c176
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0x7ab6dad8
push 7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], 0xfffffffe
pop esi
jmp 0x100d59dc
mov dword [esp + 0x18], 0xfff6
mov dword [esp + 0x10], 0xfffffffd
mov dword [esp + 0x10], 0x84edc02
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
jmp 0x100d5959
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x38], esi
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jl 0x100d594d
cmp dword [esp + 0x18], ebx
jne 0x100d59b7
mov dword [esp + 0x10], ebx
xor edx, edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov eax, dword [esp + 0x20]
setle dl
sub edx, eax
xor eax, eax
cmp edx, 0xffffffff
setge al
cmp eax, dword [esp + 0x14]
je 0x100d5997
cmp dword [esp + 0x14], ebx
je 0x100d5997
xor edx, edx
inc edx
jmp 0x100d5999
mov edx, ebx
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, edx
setne cl
xor edx, edx
inc edx
cmp ecx, dword [esp + 0x18]
mov ecx, ebx
jle 0x100d59b9
mov ecx, edx
mov eax, dword [esp + 0x14]
lea eax, [ecx - 3]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffff9
jge 0x100d592b
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov dword [esp + 0x174], ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 0xffffffe2
mov dword [esp + 0x18], edx
jne 0x100d5b50
mov dword [esp + 0x20], 8
mov dword [esp + 0x10], 0x10ef7d59
mov dword [esp + 0x20], ebx
jmp 0x100d5b33
push dword [esp + 0x64]
movdqa xmm0, xmmword [0x1000eb20]
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x5c], ebx
push eax
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], ebx
movdqu xmmword [esp + 0xd0], xmm0
mov dword [esp + 0x6c], ebx
call fcn.10014f3b
mov dword [esp + 0x10], 0xdf0ebf90
xor edx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x54]
cmp eax, dword [ecx + 0xc]
mov eax, dword [esp + 0x14]
setge dl
xor ecx, ecx
sub edx, eax
mov eax, dword [esp + 0x14]
cmp edx, eax
mov eax, dword [esp + 0x14]
setl cl
xor edx, edx
cmp ecx, 0x8b0d
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x14]
setle cl
mov dword [esp + 0x10], ecx
xor ecx, ecx
cmp dword [esp + 0x10], eax
setge cl
cmp ecx, 0xfffffff8
sbb eax, eax
xor ecx, ecx
neg eax
cmp dword [esi + 8], eax
mov eax, dword [esp + 0x20]
sete cl
xor edx, edx
cmp ecx, eax
setne dl
xor ecx, ecx
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, 0x3b3f3656
setg al
xor edx, edx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ecx, eax
lea ecx, [esp + 0x54]
setne dl
mov dword [esi + 8], edx
call fcn.100144eb
dec dword [esp + 0x20]
cmp dword [esp + 0x20], 0xfffffff0
jg 0x100d5a35
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xffffffe2
je 0x100d5a1c
push 7
pop esi
push dword [ebp + 8]
lea ecx, [esp + 0xd4]
call fcn.10013e17
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x174], 1
mov eax, dword [eax]
cmp eax, esi
jg 0x100d5ced
je 0x100d5bec
sub eax, ebx
je 0x100d5be3
dec eax
je 0x100d5bbe
sub eax, 3
je 0x100d5b97
mov esi, dword [esp + 0x18]
dec eax
dec eax
jne 0x100d5c0f
mov edi, dword [esp + 0x98]
jmp 0x100d5c0f
mov edi, dword [esp + 0x90]
mov eax, dword [ebp + 0x18]
mov esi, ebx
mov dword [esp + 0x18], esi
test eax, eax
je 0x100d5c0f
lea ecx, [esp + 0x3c]
cmp ecx, eax
je 0x100d5c0f
push 0xffffffffffffffff
push ebx
push eax
call fcn.10014264
jmp 0x100d5c0f
mov edi, dword [esp + 0x84]
mov ecx, 0x229a
call fcn.10015824
mov ecx, 0x22ee
mov dword [esp + 0x24], eax
call fcn.10015824
mov dword [esp + 0x1c], eax
jmp 0x100d5b9e
mov edi, dword [esp + 0x80]
jmp 0x100d5b9e
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x9c]
test eax, eax
je 0x100d5c0b
lea ecx, [esp + 0x3c]
cmp ecx, eax
je 0x100d5c0b
push 0xffffffffffffffff
push ebx
push eax
call fcn.10014264
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0x1b18d408
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 1
jge 0x100d5c37
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x60], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x100d5c25
mov byte [esp + 0x2b], bl
cmp byte [esp + 0x2b], 0
je 0x100d5c5a
push 0x52
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PolyPolyline]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
test edi, edi
js 0x100d5de6
cmp esi, 1
je 0x100d5c7a
cmp dword [esp + 0x4c], 0
je 0x100d5de6
lea eax, [esp + 0x118]
mov ecx, edi
push eax
call fcn.1005cc5c
mov esi, eax
lea edi, [esp + 0x6c]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x68], 0
je 0x100d5de6
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100d5d6b
sub esp, 0xc
mov dword [esp + 0x38], ebx
mov edi, esp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea esi, [esp + 0x38]
lea eax, [esp + 0x104]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100d20b8
mov esi, eax
lea edi, [esp + 0x3c]
mov eax, dword [esp + 0x34]
add esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
jmp 0x100d5d6f
sub eax, 0xc
je 0x100d5d50
dec eax
je 0x100d5d35
dec eax
je 0x100d5d1a
dec eax
jne 0x100d5c0b
mov edi, dword [esp + 0xbc]
mov ecx, 0x22ae
call fcn.10015824
mov ecx, 0x22f2
jmp 0x100d5bd4
mov edi, dword [esp + 0xb8]
mov ecx, 0x22ab
call fcn.10015824
mov ecx, 0x22f1
jmp 0x100d5bd4
mov edi, dword [esp + 0xb4]
mov ecx, 0x2295
call fcn.10015824
mov ecx, 0x22f0
jmp 0x100d5bd4
mov edi, dword [esp + 0xb0]
mov ecx, 0x228e
call fcn.10015824
mov ecx, 0x22ef
jmp 0x100d5bd4
mov dword [esp + 0x38], ebx
test eax, eax
je 0x100d5dae
sub esp, 0xc
mov dword [esp + 0x38], ebx
mov edi, esp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea esi, [esp + 0x38]
lea eax, [esp + 0xf4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100d20b8
mov esi, eax
lea edi, [esp + 0x3c]
mov eax, dword [esp + 0x34]
add esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
jmp 0x100d5db0
mov ecx, ebx
lea edx, [esp + 0x3c]
push edx
push dword [esp + 0x20]
mov edx, dword [esp + 0x20]
push eax
push dword [esp + 0x44]
push ecx
push dword [esp + 0x7c]
lea ecx, [esp + 0xe8]
push dword [esp + 0x84]
call fcn.1005b988
add esp, 0x1c
lea ecx, [esp + 0x68]
call fcn.1005da51
push ebx
push 1
lea ecx, [esp + 0xd8]
call fcn.10014448
push ebx
push 1
lea ecx, [esp + 0x44]
call fcn.10014448
jmp 0x100d5e65
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
dec eax
dec eax
je 0x100d5e35
dec eax
je 0x100d5e2c
dec eax
je 0x100d5e23
dec eax
jne 0x100d5e65
mov ecx, dword [esp + 0x94]
jmp 0x100d5e3c
mov ecx, dword [esp + 0x90]
jmp 0x100d5e3c
mov ecx, dword [esp + 0x8c]
jmp 0x100d5e3c
mov ecx, dword [esp + 0x88]
test ecx, ecx
js 0x100d5e65
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x108]
push ecx
push eax
call fcn.10065101
mov esi, eax
lea edi, [esp + 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret