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

Disassembly:
sub esp, 0xf0
push ebx
push ebp
mov ebp, dword [esp + 0xfc]
mov ebx, eax
xor eax, eax
mov dword [ebp], eax
push esi
mov dword [ebp + 4], eax
push edi
mov dword [ebp + 8], eax
mov edi, 0x10
mov dword [ebp + 0xc], eax
lea esi, [ebx + 4]
cmp dword [ebx + 0x18], edi
jb 0x413d42
mov eax, dword [esi]
jmp 0x413d44
mov eax, esi
push 0x20
push eax
lea eax, [esp + 0x78]
call fcn.0040b130
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x78]
lea eax, [esp + eax + 0x70]
and cl, 6
movsx edx, cl
neg edx
sbb edx, edx
not edx
test eax, edx
je 0x41409f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x74]
call fcn.00413c80
lea eax, [esp + 0x78]
call fcn.0040bda0
test eax, eax
jne 0x413daf
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x78]
lea ecx, [esp + ecx + 0x70]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x413da9
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
cmp byte [esp + 0x14], 0xef
jne 0x413dc9
cmp byte [esp + 0x15], 0xbb
jne 0x413dc9
cmp byte [esp + 0x16], 0xbf
mov byte [esp + 0x34], 1
je 0x413dce
mov byte [esp + 0x34], 0
cmp dword [ebx + 0x18], edi
jb 0x413dd7
mov ecx, dword [esi]
jmp 0x413dd9
mov ecx, esi
mov eax, 1
lea esi, [esp + 0x78]
call fcn.0040bcf0
test eax, eax
jne 0x413e0c
mov edx, dword [esp + 0x70]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x78]
lea ecx, [esp + ecx + 0x70]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x413e06
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
mov eax, dword [eax + 4]
push 0xa
lea eax, [esp + eax + 0x74]
call fcn.0040c720
movzx ecx, al
push ecx
lea edx, [esp + 0x74]
push edx
lea ebx, [esp + 0x5c]
call fcn.0040caf0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x41405e
mov esi, dword [esp + 0x34]
jmp 0x413e70
push 1
push 0x43bc2c
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040f820
mov edi, eax
cmp edi, 0xffffffff
je 0x414013
xor ebx, ebx
push edi
push ebx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00401870
push 0xffffffffffffffff
inc edi
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00401870
cmp dword [ebp], ebx
jne 0x413f32
mov edi, dword [esp + 0x4c]
mov eax, edi
cmp edi, 0xa
jb 0x413ee3
lea eax, [ebx + 0xa]
cmp dword [esp + 0x50], 0x10
mov edx, dword [esp + 0x3c]
jae 0x413ef2
lea edx, [esp + 0x3c]
mov ecx, str.AddInclude
call fcn.004025f0
cmp eax, ebx
jne 0x413f32
cmp edi, 0xa
jb 0x413f32
xor eax, eax
cmp edi, 0xa
setne al
cmp eax, ebx
jne 0x413f32
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x413f20
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041c2d0
mov ecx, dword [ebp]
mov dword [ebp], eax
jmp 0x413fcf
cmp dword [ebp + 4], ebx
jne 0x413f67
mov ecx, str.AddExclude
lea edi, [esp + 0x38]
call fcn.00406d50
test al, al
je 0x413f67
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x413f58
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041c2d0
mov ecx, dword [ebp + 4]
mov dword [ebp + 4], eax
jmp 0x413fcf
cmp dword [ebp + 8], ebx
jne 0x413f9c
mov ecx, str.DelInclude
lea edi, [esp + 0x38]
call fcn.00406d50
test al, al
je 0x413f9c
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x413f8d
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041c2d0
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], eax
jmp 0x413fcf
cmp dword [ebp + 0xc], ebx
jne 0x413fd8
mov ecx, str.DelExclude
lea edi, [esp + 0x38]
call fcn.00406d50
test al, al
je 0x413fd8
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x413fc2
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041c2d0
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
push ecx
call fcn.004237c4
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x30], edi
jb 0x413ff0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00423279
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x50], edi
jb 0x414013
mov edx, dword [esp + 0x3c]
push edx
call fcn.00423279
add esp, 4
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
push 0xa
lea eax, [esp + eax + 0x74]
call fcn.0040c720
movzx ecx, al
push ecx
lea edx, [esp + 0x74]
push edx
lea ebx, [esp + 0x5c]
call fcn.0040caf0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x413e70
mov edi, 0x10
lea eax, [esp + 0x78]
call fcn.0040bda0
test eax, eax
jne 0x41408c
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x78]
lea ecx, [esp + ecx + 0x70]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x414086
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
cmp dword [esp + 0x6c], edi
jb 0x41409f
mov edx, dword [esp + 0x58]
push edx
call fcn.00423279
add esp, 4
cmp dword [ebp], 0
mov esi, dword [0x4391b8]
jne 0x4140f7
push 0
push 0
push 0xffffffffffffffff
push str.Add_to_include_list
push 0
push 0
call esi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004222fc
add esp, 4
push edi
mov ebx, eax
push ebx
push 0xffffffffffffffff
push str.Add_to_include_list
push 0
push 0
call esi
mov eax, dword [ebp]
push eax
mov dword [ebp], ebx
call fcn.004237c4
add esp, 4
cmp dword [ebp + 4], 0
jne 0x414149
push 0
push 0
push 0xffffffffffffffff
push str.Add_to_exclude_list
push 0
push 0
call esi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004222fc
add esp, 4
push edi
mov ebx, eax
push ebx
push 0xffffffffffffffff
push str.Add_to_exclude_list
push 0
push 0
call esi
mov eax, dword [ebp + 4]
push eax
mov dword [ebp + 4], ebx
call fcn.004237c4
add esp, 4
cmp dword [ebp + 8], 0
jne 0x41419b
push 0
push 0
push 0xffffffffffffffff
push str.Remove_this_include
push 0
push 0
call esi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004222fc
add esp, 4
push edi
mov ebx, eax
push ebx
push 0xffffffffffffffff
push str.Remove_this_include
push 0
push 0
call esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp + 8], ebx
call fcn.004237c4
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x4141ed
push 0
push 0
push 0xffffffffffffffff
push str.Remove_this_exclude
push 0
push 0
call esi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004222fc
add esp, 4
push edi
mov ebx, eax
push ebx
push 0xffffffffffffffff
push str.Remove_this_exclude
push 0
push 0
call esi
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp + 0xc], ebx
call fcn.004237c4
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x70], 0x43bb64
cmp byte [esp + 0xc0], 0
mov dword [esp + 0x78], 0x43bb2c
je 0x414217
lea eax, [esp + 0x78]
call fcn.0040bda0
lea ecx, [esp + 0x78]
call fcn.0040ad50
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xc8]
mov dword [esp + eax + 0x70], 0x43bb28
push ecx
mov dword [esp + 0xcc], 0x43baec
call fcn.00422379
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xf0
ret 4